InstanceOutput

Description

sealed class Tinman.Engine.Particles.InstanceOutput

Derived from

ParticleOutput abstract

A buffer for 3D model instances.

Instances of InstanceOutput create IVertexBuffer resources that contain 3D model instance data (see ModelGeometry.InstanceFormat) and may thus be passed as resource handles to IModel.UseGeometryInstancing.

Public / Constructors

Instance​Output


public constructor InstanceOutput → (1)

capacity in : int32

[>0]
The capacity, in model instances.

Creates a new instance of InstanceOutput.