Axiom.RenderSystems.OpenGL.GLSL.GLSLLinkProgramManager.SetActiveGeometryShader C# (CSharp) Méthode

SetActiveGeometryShader() public méthode

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
public SetActiveGeometryShader ( GLSLGpuProgram geometryProgram ) : void
geometryProgram GLSLGpuProgram
Résultat void
		public void SetActiveGeometryShader( GLSLGpuProgram geometryProgram )
		{
            if (geometryProgram != activeGeometryProgram)
			{
                activeGeometryProgram = geometryProgram;

				// active link program is no longer valid
				activeLinkProgram = null;

				// change back to fixed pipeline
				Gl.glUseProgramObjectARB( 0 );
			}
		}