Changeset 534 for trunk/nv/gfx/image.hh
- Timestamp:
- 01/12/17 14:41:17 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nv/gfx/image.hh
r395 r534 1 // Copyright (C) 2012-201 5ChaosForge Ltd1 // Copyright (C) 2012-2017 ChaosForge Ltd 2 2 // http://chaosforge.org/ 3 3 // … … 42 42 * @arg[in] depth : Depth of the image. 43 43 */ 44 image( ivec2 size, size_tdepth );44 image( ivec2 size, uint32 depth ); 45 45 /** 46 46 * Constructor … … 61 61 * reversed or not. 62 62 */ 63 image( ivec2 size, size_tdepth, const uint8 * data, bool reversed = false );63 image( ivec2 size, uint32 depth, const uint8 * data, bool reversed = false ); 64 64 /** 65 65 * Fills the image with a given value. … … 114 114 * @return Returns depth of the image. 115 115 */ 116 size_tget_depth() const { return m_depth; }116 uint32 get_depth() const { return m_depth; } 117 117 protected: 118 118 ivec2 m_size; //!< Defines the size of the image as a vector. 119 size_tm_depth; //!< Defines the depth of the image119 uint32 m_depth; //!< Defines the depth of the image 120 120 uint8* m_data; //!< Holder for data 121 121 };
Note: See TracChangeset
for help on using the changeset viewer.