C# Class Microsoft.Xna.Framework.Graphics.GraphicsExtensions

Afficher le fichier Open project: procfxgen/MGShaderEditor Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

GetBlendEquationMode() public static méthode

public static GetBlendEquationMode ( this function ) : BlendEquationMode
function this
Résultat BlendEquationMode

GetBlendFactorDest() public static méthode

public static GetBlendFactorDest ( this blend ) : BlendingFactorDest
blend this
Résultat BlendingFactorDest

GetBlendFactorSrc() public static méthode

public static GetBlendFactorSrc ( this blend ) : BlendingFactorSrc
blend this
Résultat BlendingFactorSrc

GetBoundTexture2D() public static méthode

public static GetBoundTexture2D ( ) : int
Résultat int

GetDepthFunction() public static méthode

public static GetDepthFunction ( this compare ) : DepthFunction
compare this
Résultat DepthFunction

GetFrameLatency() public static méthode

public static GetFrameLatency ( this interval ) : int
interval this
Résultat int

GetSize() public static méthode

public static GetSize ( this surfaceFormat ) : int
surfaceFormat this
Résultat int

OpenGL11() public static méthode

public static OpenGL11 ( CullMode cull ) : OpenTK.Graphics.OpenGL.All
cull CullMode
Résultat OpenTK.Graphics.OpenGL.All

OpenGLColorPointerType() public static méthode

public static OpenGLColorPointerType ( this elementFormat ) : OpenTK.Graphics.ES20.All
elementFormat this
Résultat OpenTK.Graphics.ES20.All

OpenGLNormalPointerType() public static méthode

public static OpenGLNormalPointerType ( this elementFormat ) : OpenTK.Graphics.ES20.All
elementFormat this
Résultat OpenTK.Graphics.ES20.All

OpenGLNumberOfElements() public static méthode

public static OpenGLNumberOfElements ( this elementFormat ) : int
elementFormat this
Résultat int

OpenGLTexCoordPointerType() public static méthode

public static OpenGLTexCoordPointerType ( this elementFormat ) : OpenTK.Graphics.ES20.All
elementFormat this
Résultat OpenTK.Graphics.ES20.All

OpenGLVertexAttribNormalized() public static méthode

public static OpenGLVertexAttribNormalized ( this element ) : bool
element this
Résultat bool

OpenGLVertexAttribPointerType() public static méthode

public static OpenGLVertexAttribPointerType ( this elementFormat ) : VertexAttribPointerType
elementFormat this
Résultat VertexAttribPointerType

OpenGLVertexPointerType() public static méthode

public static OpenGLVertexPointerType ( this elementFormat ) : OpenTK.Graphics.ES20.All
elementFormat this
Résultat OpenTK.Graphics.ES20.All