Enables rendering using the GPU.
Graphics | Enables rendering using the GPU. |
Resized | This event is raised after the rendering window has changed to a new size. |
OrientationAboutToChange | |
size | |
type | |
normalized | |
stride | |
pointer[const] | |
timeStalledForGPU | Accumulates ticks that have been spent waiting for the GPU. |
ctor | |
~dtor | |
Deinit() | Deinitializes the whole graphics context. |
Clear(...) | Submits a clear call for the currently bound render targets. |
ScreenWidth()[const] | Returns the width of the current rendering window, in pixels. |
ScreenHeight()[const] | Returns the height of the current rendering window, in pixels. |
GetDisplayState()[const] | |
Resize(...) | Call this function to resize the current rendering canvas size. |
Present() | Shows the current frame on screen. |
ApplyVertexBuffer(vb) | Activates the given vertex buffer as the next one to be drawn. |
ApplyIndexBuffer(ib) | Activates the given index buffer as the next one to be drawn. |
ApplyMaterialShaders(material) | Activates the shader programs of the given material as the currently active shaders. |
ApplyMaterial(material) | Activates ALL properties of the given material to be the next one to be used when rendering objects. |
ApplyConstantBuffer(...) | Activates the given constant buffer on the device. |
ApplyTexture(...) | Sets the given texture as the active texture for the given shader. |
ApplyTextureSampler(...) | Sets the given texture as the active texture for the given shader. |
ApplyRasterizerState(rasterizerState) | Sets the given rasterizer state variables to the device. |
ApplyBlendState(blendState) | Sets the given blend state variables to the device. |
ApplyDepthState(depthState) | Sets the given depth-stencil state variables to the device. |
Render(...) (+1 overload) | Renders the given vertex buffer, assuming it was already activated as the currently active vertex buffer. |
ApplyAndRender(...) (+1 overload) | Activates the given vertex and index buffers to the device, and then submits one render operation using these buffers. |
ProfileDisableRendering(disableRendering_) | Enables or disables all rendering operations. |
IsTextureFormatSupported(format)[const] | Returns true if the given texture format is supported by the GPU. |
ProfileReplaceTexturesWith4x4Block(...) | Enables or disables whether all textures should be replaces with a small 4x4 texture. |
ProfileDisableAlphaBlending(...) | Enables or disables whether all alpha blending operations should be performed as opaque rendering. |
Instance()[static] | Returns the global Graphics instance. TODO: This will be deleted. |
SupportsGLExtension(extensionString)[static] | Returns true if the given extension is supported by this OpenGL implementation. |
CheckErrors(hintOperation)[static] | Tests if any Graphics API errors have occurred and prints out error messages if so. |
DumpGLES2State()[static] | Prints out all information related to current GLES2 state. |
GlActiveTexture(textureIndex)[static] | Sets the currently active texture, but only if it was not active previously. |