Axiom.RenderSystems.OpenGL.GLSL.GLSLLinkProgramManager.SetActiveGeometryShader C# (CSharp) 메소드

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
public SetActiveGeometryShader ( GLSLGpuProgram geometryProgram ) : void
geometryProgram GLSLGpuProgram
리턴 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 );
			}
		}