Eidolon
|
Represents a GPU program (vertex/fragment/geometry shader) More...
#include <RenderTypes.h>
Public Member Functions | |
virtual | ~GPUProgram () |
virtual std::string | getName () const |
virtual void | setType (ProgramType pt) |
virtual ProgramType | getType () const |
virtual std::string | getLanguage () const |
virtual void | setLanguage (const std::string &lang) |
Set the language for the source of the program, eg. cg. More... | |
virtual void | setSourceCode (const std::string &code) |
Set the source code for the program, this must be done in the main thread. More... | |
virtual bool | hasError () const |
Returns true if the source code given for the program has failed to parse. More... | |
virtual std::string | getSourceCode () const |
Return the text of the source for this program. More... | |
virtual bool | setParameter (const std::string ¶m, const std::string &val) |
virtual std::string | getParameter (const std::string ¶m) const |
virtual std::string | getEntryPoint () const |
virtual std::string | getProfiles () const |
virtual std::vector< std::string > | getParameterNames () const |
virtual void | setEntryPoint (const std::string main) |
virtual void | setProfiles (const std::string profiles) |
Represents a GPU program (vertex/fragment/geometry shader)
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in OgreGPUProgram.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in OgreGPUProgram.
|
inlinevirtual |
Reimplemented in OgreGPUProgram.
|
inlinevirtual |
|
inlinevirtual |
Return the text of the source for this program.
Reimplemented in OgreGPUProgram.
|
inlinevirtual |
|
inlinevirtual |
Returns true if the source code given for the program has failed to parse.
Reimplemented in OgreGPUProgram.
|
inlinevirtual |
|
inlinevirtual |
Set the language for the source of the program, eg. cg.
Reimplemented in OgreGPUProgram.
|
inlinevirtual |
Reimplemented in OgreGPUProgram.
|
inlinevirtual |
|
inlinevirtual |
Set the source code for the program, this must be done in the main thread.
Reimplemented in OgreGPUProgram.
|
inlinevirtual |
Reimplemented in OgreGPUProgram.