Backend Texture Desc Struct
This API is now obsolete.
Wrap an existing OpenGL texture created by the client in the 3D API with an underlying GRTexture object.
[System.Obsolete("Use GRBackendTexture instead.")] public struct GRGlBackendTextureDesc
The client is responsible for ensuring that the texture lives at least as long as the GRTexture object wrapping it.
We require the client to explicitly provide information about the texture, such as width, height, and pixel configuration, rather than querying the 3D API for these values. We expect these to be immutable even if the 3D API doesn't require this (OpenGL).
Textures that are also render targets are supported as well. Any ancillary 3D API (stencil buffer, FBO id, etc) objects necessary will be managed.
Gets or sets the color format.
Gets or sets additional options about the texture.
Gets or sets the height in pixels.
Gets or sets the pixel origin.
Gets or sets the number of samples per pixel.
Gets or sets the handle to the OpenGL texture.
Gets or sets the width in pixels.