Changeset 9869 in orxonox.OLD for trunk/src/lib/graphics/importer/texture.h
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/texture.h
r8761 r9869 1 1 /*! 2 2 * @file texture.h 3 * @brief Contains the texture class, that handles the reading of Images into Tex utre-files.3 * @brief Contains the texture class, that handles the reading of Images into Texture-files. 4 4 */ 5 5 … … 20 20 class Texture : public BaseObject 21 21 { 22 ObjectListDeclaration(Texture); 22 23 public: 23 24 Texture(); … … 28 29 29 30 Texture& operator=(const Texture& texture); 30 Texture& operator=(const TextureDataPointer& textureDataPointer); 31 Texture& operator=(const TextureData::Pointer& textureDataPointer); 32 void acquireData(const TextureData::Pointer& textureDataPointer) { this->data = textureDataPointer; }; 33 const TextureData::Pointer& dataPointer() const { return data; } 31 34 32 35 virtual ~Texture(); … … 62 65 63 66 private: 64 TextureData Pointerdata; //!< The TextureData67 TextureData::Pointer data; //!< The TextureData 65 68 GLclampf priority; //!< the priority of the current texture (used for garphics cards with limited mem) 66 69
Note: See TracChangeset
for help on using the changeset viewer.