Changeset 9785 in orxonox.OLD for branches/new_class_id/src/lib/graphics/importer/resource_texture.h
- Timestamp:
- Sep 22, 2006, 3:40:06 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/graphics/importer/resource_texture.h
r9784 r9785 14 14 class ResourceTexture : public Texture, public Resource 15 15 { 16 public: 16 17 ResourceTexture(const std::string& imageName, GLenum target = GL_TEXTURE_2D); 17 18 18 19 19 20 private: 20 21 class TextureResourcePointer : public Resource::Pointer 21 22 { 22 23 public: 23 TextureResourcePointer(const std::string& loadString, const Resource::KeepLevel& keepLevel, TextureData*data);24 TextureResourcePointer(const std::string& loadString, const Resource::KeepLevel& keepLevel, const TextureData::Pointer& data); 24 25 inline const TextureData::Pointer& ptr() const { return pointer; } 25 26 private: … … 27 28 }; 28 29 29 30 30 private: 31 static Resource::Type type; 31 32 }; 32 33
Note: See TracChangeset
for help on using the changeset viewer.