Skip to content

@bloopjs/toodle


@bloopjs/toodle / backends/webgpu/parser / struct2BufferLayout

Function: struct2BufferLayout() ​

struct2BufferLayout(struct, stepMode): GPUVertexBufferLayout

Defined in: backends/webgpu/parser.ts:130

Parameters ​

struct ​

StructInfo

stepMode ​

GPUVertexStepMode = "instance"

Returns ​

GPUVertexBufferLayout