Vertex State
data class VertexState(val module: ShaderModule, val entryPoint: String = "main", val constants: Map<String, GPUPipelineConstantValue>? = null, val buffers: List<RenderPipelineDescriptor.VertexState.VertexBufferLayout> = listOf())
Constructors
Link copied to clipboard
constructor(module: ShaderModule, entryPoint: String = "main", constants: Map<String, GPUPipelineConstantValue>? = null, buffers: List<RenderPipelineDescriptor.VertexState.VertexBufferLayout> = listOf())
Types
Link copied to clipboard
data class VertexBufferLayout(val arrayStride: GPUSize64, val attributes: List<RenderPipelineDescriptor.VertexState.VertexBufferLayout.VertexAttribute> = listOf(), val stepMode: VertexStepMode = VertexStepMode.Vertex)