shiny  0.4
a shader and material management library for OGRE
All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Modules Pages
Public Member Functions | List of all members
sh::GpuProgram Class Referenceabstract
+ Inheritance diagram for sh::GpuProgram:

Public Member Functions

virtual bool getSupported ()=0
 
virtual void setAutoConstant (const std::string &name, const std::string &autoConstantName, const std::string &extraInfo="")=0
 

Member Function Documentation

◆ getSupported()

virtual bool sh::GpuProgram::getSupported ( )
pure virtual
Returns
true if the compilation was successful

Implemented in sh::OgreGpuProgram.

◆ setAutoConstant()

virtual void sh::GpuProgram::setAutoConstant ( const std::string &  name,
const std::string &  autoConstantName,
const std::string &  extraInfo = "" 
)
pure virtual
Parameters
namename of the uniform in the shader
autoConstantNamename of the auto constant (for example world_viewproj_matrix)
extraInfoif any extra info is needed (e.g. light index), put it here

Implemented in sh::OgreGpuProgram.


The documentation for this class was generated from the following file: