Class TextureBindingConfiguration
- Namespace
- Bonsai.Shaders.Configuration
- Assembly
- Bonsai.Shaders.dll
Represents a configuration object for binding a texture to a shader sampler uniform.
public class TextureBindingConfiguration : BufferBindingConfiguration
- Inheritance
-
TextureBindingConfiguration
- Derived
- Inherited Members
Properties
TextureName
Gets or sets the name of the texture that will be bound to the sampler.
[TypeConverter(typeof(TextureNameConverter))]
public string TextureName { get; set; }
Property Value
TextureSlot
Gets or sets a value specifying the slot on which to bind the texture.
public TextureUnit TextureSlot { get; set; }
Property Value
TextureTarget
Gets or sets a value specifying the texture target that will be bound to the sampler.
public TextureTarget TextureTarget { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.