C# Класс Microsoft.Xna.Framework.Graphics.GraphicsExtensions

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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