Axiom.RenderSystems.DirectX9.D3DRenderSystem.UnbindGpuProgram C# (CSharp) Method

UnbindGpuProgram() private method

private UnbindGpuProgram ( GpuProgramType type ) : void
type GpuProgramType
return void
        public override void UnbindGpuProgram( GpuProgramType type )
        {
            switch ( type )
            {
                case GpuProgramType.Vertex:
                    activeVertexGpuProgramParameters = null;
                    ActiveD3D9Device.VertexShader = null;
                    break;

                case GpuProgramType.Fragment:
                    activeFragmentGpuProgramParameters = null;
                    ActiveD3D9Device.PixelShader = null;
                    break;
            }

            base.UnbindGpuProgram( type );
        }
D3DRenderSystem