Table of Contents

Class MeshName

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents the properties of a mesh geometry which is part of an aggregate rendering operation.

public class MeshName
Inheritance
MeshName
Inherited Members

Properties

Divisor

Gets or sets a value specifying the number of instances that each attribute in the mesh geometry buffer represents during instanced rendering.

public int Divisor { get; set; }

Property Value

int

Remarks

If divisor is zero, the attribute advances once per vertex. If divisor is non-zero, the attribute advances once per divisor instances of the sets of vertices being rendered.

Name

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

[TypeConverter(typeof(MeshNameConverter))]
public string Name { get; set; }

Property Value

string