class
GpuProgram
Contains a GPU program such as vertex or fragment program which gets compiled from the provided source code.
Public
Methods
~GpuProgram
Initialize
Initializes the object.
The object should not be used before this is called.
IsSupported
Returns whether this program can be supported on the current renderer and hardware.
IsCompiled
Returns true if program was successfully compiled.
GetCompileErrorMessage
Returns an error message returned by the compiler, if the compilation failed.
SetAdjacencyInfoRequired
Sets whether this geometry program requires adjacency information from the input primitives.
IsAdjacencyInfoRequired
Returns whether this geometry program requires adjacency information from the input primitives.
GetParameterDescription
Returns description of all parameters in this GPU program.
GetVertexInputDescription
Returns a list of vertex elements that a vertex program expects as inputs.
Only relevant for vertex programs.
GetBytecode
Returns the compiled bytecode of this program.