Table of Contents

Class UpdateVertexBuffer

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that updates the vertex buffer data used by the specified mesh geometry.

public class UpdateVertexBuffer : Sink<Mat>
Inheritance
UpdateVertexBuffer
Inherited Members

Properties

DrawMode

Gets or sets a value specifying the kind of primitives to render with the vertex buffer data.

MeshName

Gets or sets the name of the mesh geometry to update.

Usage

Gets or sets a value specifying the expected usage pattern of the vertex buffer.

VertexAttributes

Gets the collection of vertex attributes specifying how to interpret the vertex array data.

Methods

Process(IObservable<Mat>)

Updates the specified mesh geometry using each of the matrix data in an observable sequence.

Process<TVertex>(IObservable<Tuple<TVertex[], byte[]>>)

Updates the specified mesh geometry using vertex and 8-bit index data from an observable sequence.

Process<TVertex>(IObservable<Tuple<TVertex[], short[]>>)

Updates the specified mesh geometry using vertex and signed 16-bit index data from an observable sequence.

Process<TVertex>(IObservable<Tuple<TVertex[], int[]>>)

Updates the specified mesh geometry using vertex and signed 32-bit index data from an observable sequence.

Process<TVertex>(IObservable<Tuple<TVertex[], ushort[]>>)

Updates the specified mesh geometry using vertex and unsigned 16-bit index data from an observable sequence.

Process<TVertex>(IObservable<Tuple<TVertex[], uint[]>>)

Updates the specified mesh geometry using vertex and unsigned 32-bit index data from an observable sequence.

Process<TVertex>(IObservable<TVertex[]>)

Updates the specified mesh geometry using each of the array data in an observable sequence.