C# 클래스 Microsoft.Xna.Framework.Graphics.GraphicsExtensions

파일 보기 프로젝트 열기: procfxgen/MGShaderEditor 1 사용 예제들

공개 메소드들

메소드 설명
GetBlendEquationMode ( this function ) : BlendEquationMode
GetBlendFactorDest ( this blend ) : BlendingFactorDest
GetBlendFactorSrc ( this blend ) : BlendingFactorSrc
GetBoundTexture2D ( ) : int
GetDepthFunction ( this compare ) : DepthFunction
GetFrameLatency ( this interval ) : int
GetSize ( this surfaceFormat ) : int
OpenGL11 ( CullMode cull ) : OpenTK.Graphics.OpenGL.All
OpenGLColorPointerType ( this elementFormat ) : OpenTK.Graphics.ES20.All
OpenGLNormalPointerType ( this elementFormat ) : OpenTK.Graphics.ES20.All
OpenGLNumberOfElements ( this elementFormat ) : int
OpenGLTexCoordPointerType ( this elementFormat ) : OpenTK.Graphics.ES20.All
OpenGLVertexAttribNormalized ( this element ) : bool
OpenGLVertexAttribPointerType ( this elementFormat ) : VertexAttribPointerType
OpenGLVertexPointerType ( this elementFormat ) : OpenTK.Graphics.ES20.All

비공개 메소드들

메소드 설명
CheckGLError ( ) : void
GetColorFormat ( this format ) : ColorFormat

Convert a SurfaceFormat to an OpenTK.Graphics.ColorFormat. This is used for setting up the backbuffer format of the OpenGL context.

GetGLFormat ( this format, GraphicsDevice graphicsDevice, PixelInternalFormat &glInternalFormat, PixelFormat &glFormat, PixelType &glType ) : void
GetSwapInterval ( this interval ) : int

Converts PresentInterval to OpenGL swap interval.

LogGLError ( string location ) : void

메소드 상세

GetBlendEquationMode() 공개 정적인 메소드

public static GetBlendEquationMode ( this function ) : BlendEquationMode
function this
리턴 BlendEquationMode

GetBlendFactorDest() 공개 정적인 메소드

public static GetBlendFactorDest ( this blend ) : BlendingFactorDest
blend this
리턴 BlendingFactorDest

GetBlendFactorSrc() 공개 정적인 메소드

public static GetBlendFactorSrc ( this blend ) : BlendingFactorSrc
blend this
리턴 BlendingFactorSrc

GetBoundTexture2D() 공개 정적인 메소드

public static GetBoundTexture2D ( ) : int
리턴 int

GetDepthFunction() 공개 정적인 메소드

public static GetDepthFunction ( this compare ) : DepthFunction
compare this
리턴 DepthFunction

GetFrameLatency() 공개 정적인 메소드

public static GetFrameLatency ( this interval ) : int
interval this
리턴 int

GetSize() 공개 정적인 메소드

public static GetSize ( this surfaceFormat ) : int
surfaceFormat this
리턴 int

OpenGL11() 공개 정적인 메소드

public static OpenGL11 ( CullMode cull ) : OpenTK.Graphics.OpenGL.All
cull CullMode
리턴 OpenTK.Graphics.OpenGL.All

OpenGLColorPointerType() 공개 정적인 메소드

public static OpenGLColorPointerType ( this elementFormat ) : OpenTK.Graphics.ES20.All
elementFormat this
리턴 OpenTK.Graphics.ES20.All

OpenGLNormalPointerType() 공개 정적인 메소드

public static OpenGLNormalPointerType ( this elementFormat ) : OpenTK.Graphics.ES20.All
elementFormat this
리턴 OpenTK.Graphics.ES20.All

OpenGLNumberOfElements() 공개 정적인 메소드

public static OpenGLNumberOfElements ( this elementFormat ) : int
elementFormat this
리턴 int

OpenGLTexCoordPointerType() 공개 정적인 메소드

public static OpenGLTexCoordPointerType ( this elementFormat ) : OpenTK.Graphics.ES20.All
elementFormat this
리턴 OpenTK.Graphics.ES20.All

OpenGLVertexAttribNormalized() 공개 정적인 메소드

public static OpenGLVertexAttribNormalized ( this element ) : bool
element this
리턴 bool

OpenGLVertexAttribPointerType() 공개 정적인 메소드

public static OpenGLVertexAttribPointerType ( this elementFormat ) : VertexAttribPointerType
elementFormat this
리턴 VertexAttribPointerType

OpenGLVertexPointerType() 공개 정적인 메소드

public static OpenGLVertexPointerType ( this elementFormat ) : OpenTK.Graphics.ES20.All
elementFormat this
리턴 OpenTK.Graphics.ES20.All