GPUVertexState¶
interface GPUVertexState : GPUProgrammableStage
Properties¶
buffers¶
abstract val buffers: List<GPUVertexBufferLayout?>
A list of GPUVertexBufferLayouts, each defining the layout of vertex attribute data in a vertex buffer used by this pipeline.
constants¶
abstract val constants: Map<String, GPUPipelineConstantValue>
Specifies the values of pipeline-overridable constants in the shader module module. Each such pipeline-overridable constant is uniquely identified by a single pipeline-overridable constant identifier string, representing the pipeline constant ID of the constant if its declaration specifies one, and otherwise the constant’s identifier name.
entryPoint¶
abstract val entryPoint: String?
The name of the function in module that this stage will use to perform its work. NOTE: Since the entryPoint dictionary member is not required, methods which consume a GPUProgrammableStage must use the "get the entry point" algorithm to determine which entry point it refers to.
module¶
abstract val module: GPUShaderModule
The GPUShaderModule containing the code that this programmable stage will execute.