Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 25, 2006, 11:28:28 PM (18 years ago)
Author:
bensch
Message:

orxonox/new_class_id: now it should also be possible, to cache the resources, by suppling a LoadString.
This is vital to loading Resources, when you only know the TypeName and a LoadString, but not the c++-type and the LoadParameters as is the case when loading over the internet.

File:
1 edited

Legend:

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

    r9820 r9823  
    1616public:
    1717  ResourceShader(const std::string& vertexShaderName, const std::string& fragmentShaderName);
    18 
     18  static ResourceShader createFromString(const std::string& loadString);
    1919
    2020private:
     
    2929
    3030private:
    31   static Resources::Type type;
     31  static Resources::tType<ResourceShader> type;
    3232};
    3333
Note: See TracChangeset for help on using the changeset viewer.