Table of Contents

Property Divisor

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Divisor

Gets or sets a value specifying the number of instances that each attribute in the 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.