Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Called when the engine is shutting down.
|
|
ExtractConstantDefs ( String src, |
Populate a list of uniforms based on GLSL source.
|
|
ExtractUniforms ( int programObject, |
Populate a list of uniforms based on a program object.
|
|
SetActiveFragmentShader ( |
Set the active fragment shader for the next rendering state. The active program object will be cleared. Normally called from the GLSLGpuProgram.BindProgram and UnbindProgram methods |
|
SetActiveGeometryShader ( |
Set the active geometry shader for the next rendering state. The active program object will be cleared. Normally called from the GLSLGpuProgram.BindProgram and UnbindProgram methods |
|
SetActiveVertexShader ( |
Set the active vertex shader for the next rendering state. The active program object will be cleared. Normally called from the GLSLGpuProgram.BindProgram and UnbindProgram methods |
Метод | Описание | |
---|---|---|
CompleteDefInfo ( int gltype, |
||
CompleteParamSource ( String paramName, |
||
GLSLLinkProgramManager ( ) : System |
Internal constructor. This class cannot be instantiated externally.
|
public ExtractConstantDefs ( String src, |
||
src | String | Reference to the source code |
defs | The defs to populate (will not be cleared before adding, clear /// it yourself before calling this if that's what you want). | |
filename | String | The file name this came from, for logging errors. |
Результат | void |
public ExtractUniforms ( int programObject, |
||
programObject | int | Handle to the program object to query |
vertexConstantDefs | Definition of the constants extracted from the /// vertex program, used to match up physical buffer indexes with program /// uniforms. May be null if there is no vertex program. | |
geometryConstantDefs | Definition of the constants extracted from the /// geometry program, used to match up physical buffer indexes with program /// uniforms. May be null if there is no geometry program. | |
fragmentConstantDefs | Definition of the constants extracted from the /// fragment program, used to match up physical buffer indexes with program /// uniforms. May be null if there is no fragment program. | |
list | Axiom.RenderSystems.OpenGL.GLSL.GLSLLinkProgram | The list to populate (will not be cleared before adding, clear /// it yourself before calling this if that's what you want). |
Результат | void |
public SetActiveFragmentShader ( |
||
fragmentProgram | ||
Результат | void |
public SetActiveGeometryShader ( |
||
geometryProgram | ||
Результат | void |
public SetActiveVertexShader ( |
||
vertexProgram | ||
Результат | void |