C# (CSharp) Axiom.RenderSystems.OpenGL.GLSL Пространство имен

Классы

Имя Описание
GLSLGpuProgram GLSL low level compiled shader object - this class is used to get at the linked program object and provide an interface for GLRenderSystem calls. GLSL does not provide access to the low level code of the shader so this class is really just a dummy place holder. GLSL uses a program object to represent the active vertex and fragment programs used but Axiom materials maintain seperate instances of the active vertex and fragment programs which creates a small problem for GLSL integration. The GLSLGpuProgram class provides the interface between the GLSLLinkProgramManager , GLRenderSystem, and the active GLSLProgram instances.
GLSLHelper Summary description for GLSLHelper.
GLSLLinkProgramManager Axiom assumes that there are seperate vertex and fragment programs to deal with but GLSL has one program object that represents the active vertex and fragment shader objects during a rendering state. GLSL Vertex and fragment shader objects are compiled seperately and then attached to a program object and then the program object is linked. Since Ogre can only handle one vertex program and one fragment program being active in a pass, the GLSL Link Program Manager does the same. The GLSL Link program manager acts as a state machine and activates a program object based on the active vertex and fragment program. Previously created program objects are stored along with a unique key in a hash_map for quick retrieval the next time the program object is required.
GLSLProgram Specialisation of HighLevelGpuProgram to provide support for OpenGL Shader Language (GLSL).
GLSLProgram.CmdAttach
GLSLProgram.CmdInputOperationType
GLSLProgram.CmdMaxOutputVertices
GLSLProgram.CmdOutputOperationType
GLSLProgram.CmdPreprocessorDefines
GLSLProgramFactory Factory class for GLSL programs.