Instantiate class using GfxBackendInfo and GfxBackendOptions.
Clear the depth, stencil and color of the screen. Returns reference to this so it can be used in a stream.
* Disable the blend. * Returns reference to this so it can be used in a stream.
* Enable the alpha blend. * Returns reference to this so it can be used in a stream.
* Enable and set anisotropic filtering if possible. * Use 0.0f to disable it. * Only values 4.0f, 8.0f and 16.0f are supported for enabling it. * Returns reference to this so it can be used in a stream.
Returns backend info.
Returns backend options.
* Set back color r-red, g-green, b-blue, a-alpha scalars. * A channel value must be in range 0-255, so it can handle 256 possible values. * Returns reference to this so it can be used in a stream.
* Set back color using $(Color4). * A channel value must be in range 0-255, so it can handle 256 possible values. * Returns reference to this so it can be used in a stream.
Enable or disable culling. Returns reference to this so it can be used in a stream.
Set false depth mask to disable writing to depth buffer, render stuff that shouldn't influence the depth buffer then set true to enable it again. Returns reference to this so it can be used in a stream.
Enable or disable depth test. Returns reference to this so it can be used in a stream.
Set true stencil mask and each bit is written to the stencil buffer as is. Set false stencil mask and each bit ends up as 0 in the stencil buffer, disabling writes. TODO: Enable custom stencil mask. Returns reference to this so it can be used in a stream.
Enable or disable stencil test. Returns reference to this so it can be used in a stream.
Enable or disable texture. Returns reference to this so it can be used in a stream.
Enable or disable wireframe. Returns reference to this so it can be used in a stream.
* Returns true if the given extension is supported.
Swap between wireframe and non-wireframe mode. Returns reference to this so it can be used in a stream.
Create graphics backend. Only OpenGL version 3.0 and 4.5 are supported. First time it checks for 4.5 availability and if it's not found, then it checks for version 3.0.
Backend class for graphics engine. It implements IGfxBackendFactory service.