Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 22, 2006, 3:40:06 PM (18 years ago)
Author:
bensch
Message:

some implementations of the new self sustained Resources. It works, but does not yet load the correct stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/graphics/importer/resource_texture.h

    r9784 r9785  
    1414class ResourceTexture : public Texture, public Resource
    1515{
     16public:
    1617  ResourceTexture(const std::string& imageName, GLenum target = GL_TEXTURE_2D);
    1718
    1819
    1920private:
    20   class TextureResourcePointer : public Resource::Pointer
     21class TextureResourcePointer : public Resource::Pointer
    2122  {
    2223  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);
    2425    inline const TextureData::Pointer& ptr() const { return pointer; }
    2526  private:
     
    2728  };
    2829
    29   private:
    30     static Resource::Type type;
     30private:
     31  static Resource::Type type;
    3132};
    3233
Note: See TracChangeset for help on using the changeset viewer.