Axiom.RenderSystems.OpenGLES.GLESRenderSystem.SetDepthBias C# (CSharp) 메소드

SetDepthBias() 공개 메소드

public SetDepthBias ( float constantBias, float slopeScaleBias ) : void
constantBias float
slopeScaleBias float
리턴 void
		public override void SetDepthBias( float constantBias, float slopeScaleBias )
		{
			if ( constantBias != 0 || slopeScaleBias != 0 )
			{
				OpenGL.Enable( All.PolygonOffsetFill );
				GLESConfig.GlCheckError( this );
				OpenGL.PolygonOffset( -slopeScaleBias, -constantBias );
				GLESConfig.GlCheckError( this );
			}
			else
			{
				OpenGL.Disable( All.PolygonOffsetFill );
				GLESConfig.GlCheckError( this );
			}
		}
GLESRenderSystem