Sequential

data class Sequential(val primitiveTopology: PrimitiveTopology) : MeshDraw.MeshIndexBinding, Record

A draw that uses vanilla's shared sequential index buffer for the given topology.

The actual GpuBuffer and IndexType are looked up at draw time so long-lived meshes do not retain a stale slice when the shared sequential buffer grows.

Constructors

Link copied to clipboard
constructor(primitiveTopology: PrimitiveTopology)

Properties

Link copied to clipboard
val primitiveTopology: PrimitiveTopology