Class Texture2D
- Namespace
- Bonsai.Shaders.Configuration
- Assembly
- Bonsai.Shaders.dll
Provides configuration and loading functionality for two-dimensional texture resources.
public class Texture2D : TextureConfiguration, IResourceConfiguration
- Inheritance
-
Texture2D
- Implements
- Derived
- Inherited Members
Properties
- Height
Gets or sets the height of the texture. If no value is specified, the texture buffer will not be initialized.
- InternalFormat
Gets or sets a value specifying the internal pixel format of the texture.
- MagFilter
Gets or sets a value specifying the texture magnification filter.
- MinFilter
Gets or sets a value specifying the texture minification filter.
- Width
Gets or sets the width of the texture. If no value is specified, the texture buffer will not be initialized.
- WrapS
Gets or sets a value specifying wrapping parameters for the column coordinates of the texture sampler.
- WrapT
Gets or sets a value specifying wrapping parameters for the row coordinates of the texture sampler.
Methods
- CreateResource(ResourceManager)
Creates a new empty two-dimensional texture resource, typically used for uploading dynamic texture data.