Mesh Draw
data class MeshDraw(val vertexSlice: GpuBufferSlice, val indexBinding: MeshDraw.MeshIndexBinding, val indexCount: Int) : Record
GPU-ready draw descriptor produced from MeshData.
It stores uploaded vertex data plus an index binding strategy and the draw parameters needed by RenderPass.bindAndDraw.
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Describes how a MeshDraw resolves its index buffer when it is submitted.
Link copied to clipboard