Table of Contents

Class DrawArrays

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that renders primitives using each of the array data in the sequence.

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

Properties

DrawMode

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

ShaderName

Gets or sets the name of the material shader program.

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>)

Renders primitives using each of the matrix data in an observable sequence.

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

Renders primitives using each of the array data in an observable sequence.