Table of Contents

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

string

TextureSlot

Gets or sets a value specifying the slot on which to bind the texture.

public TextureUnit TextureSlot { get; set; }

Property Value

TextureUnit

TextureTarget

Gets or sets a value specifying the texture target that will be bound to the sampler.

public TextureTarget TextureTarget { get; set; }

Property Value

TextureTarget

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.