menu
GpuVertexState
import { GpuVertexState } from "destack:gpu/binding";
Vertex-state descriptor.
1export struct GpuVertexState {2 module: GpuShaderHandle;3 entry: string;4 constants: [GpuPipelineConstant];5 buffers: [GpuVertexBufferLayout];6}Members
module: GpuShaderHandleVertex shader-module handle.
entry: stringVertex entry point when provided.
constants: [GpuPipelineConstant]Vertex-stage specialization constants.
buffers: [GpuVertexBufferLayout]Vertex buffer layouts.