| MeshRendererEnableInstancing Property |
Gets or sets a value indicating whether hardware instancing is enabled.
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public bool EnableInstancing { get; set; }
Public Property EnableInstancing As Boolean
Get
Set
public:
property bool EnableInstancing {
bool get ();
void set (bool value);
}
member EnableInstancing : bool with get, set
Property Value
Type:
Boolean if hardware instancing is enabled; otherwise,
. The default value is
.
Remarks
When this property is
, the renderer will render mesh instances using
hardware instancing if the material supports instancing (see
InstancingTechnique) and the batch size is
sufficiently large.
See Also