Type alias BuffersAndAttributes

BuffersAndAttributes: {
    bufferLayouts: GPUVertexBufferLayout[];
    buffers: GPUBuffer[];
    indexBuffer?: GPUBuffer;
    indexFormat?: GPUIndexFormat;
    numElements: number;
}

Type declaration

  • bufferLayouts: GPUVertexBufferLayout[]
  • buffers: GPUBuffer[]
  • Optional indexBuffer?: GPUBuffer
  • Optional indexFormat?: GPUIndexFormat
  • numElements: number

Generated using TypeDoc