Table of Contents

Class BindTexture

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that binds a buffer to the specified texture unit for each texture or notification in the sequence.

[Combinator]
[WorkflowElementCategory(ElementCategory.Sink)]
public class BindTexture
Inheritance
BindTexture
Inherited Members

Properties

Index

Gets or sets the index of the texture to be bound to the shader. Only applicable to texture array objects.

IndexSpecified

Gets a value indicating whether the Index property should be serialized.

ShaderName

Gets or sets the name of the shader program.

TextureName

Gets or sets the name of the texture to be bound to the shader.

TextureSlot

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

TextureTarget

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

Methods

Process(IObservable<Texture>)

Binds each texture buffer in an observable sequence to the specified texture unit for each notification in an observable sequence.

Process<TSource>(IObservable<TSource>)

Binds the specified texture buffer to the specified texture unit for each notification in an observable sequence.