InstanceFrequency Property
Collapse the table of content
Expand the table of content

VertexBufferBinding.InstanceFrequency Property

Gets the instancing frequency.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

public int InstanceFrequency { get; }

Property Value

The number of instances to draw for each draw call.

The frequency is the number of times to draw the same geometry each time draw is called: 1 means draw one instance, 2 means draw two instances, and so on. Use 0 if you are not instancing.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show:
© 2016 Microsoft