OpenGLESTextureFactory
Description
- Derived from
-
TextureFactory abstract
IRenderContextDependent
Full source code is included in the Tinman 3D SDK download. |
Implementation of the IBufferFactory that uses an OpenGLES context.
For custom texture formats, the TextureFormat.FormatIdentifier method must return the following values:
Vec4I.X: The OpenGL internal format (e.g. GLES.RGBA8)
Vec4I.Y: The OpenGL data format (e.g. GLES.RGBA)
Vec4I.Z: The OpenGL data type (e.g. example GLES.UNSIGNED_BYTE)
If the internal format is compressed, the data format and data type must be zero.
Public / Constructors
OpenGLESTextureFactory
Creates a new instance of OpenGLESTextureFactory.
- RenderException
-
If a graphics subsystem error has occurred.