Skip to content

Documentation / device / VertexLayoutOptions

Type Alias: VertexLayoutOptions ​

VertexLayoutOptions = object

Defined in: libs/device/src/gpuobject.ts:668

Options for creating vertex layout

Properties ​

vertexBuffers ​

vertexBuffers: object[]

Defined in: libs/device/src/gpuobject.ts:672

vertex buffers in this vertex layout

buffer ​

buffer: StructuredBuffer

stepMode? ​

optional stepMode?: VertexStepMode


indexBuffer? ​

optional indexBuffer?: Nullable<IndexBuffer>

Defined in: libs/device/src/gpuobject.ts:679

optional index buffer in this vertex layout

Released under the MIT License.