Capítulo 661 de 859

Chapter 661: IndirectStorageBufferAttribute

Core Idea

This special type of buffer attribute is intended for compute shaders. It can be used to encode draw parameters for indirect draw calls.

Note: This type of buffer attribute can only be used with WebGPURenderer and a WebGPU backend.

Key Concepts

  • isIndirectStorageBufferAttribute : boolean (readonly): This flag can be used for type testing.

Reference Tables

Constructor

Signature
`new IndirectStorageBufferAttribute( count : number

Properties

PropertyDescription
.isIndirectStorageBufferAttribute : boolean (readonly)This flag can be used for type testing.

Key Takeaways

  1. IndirectStorageBufferAttribute extends: BufferAttribute → StorageBufferAttribute
  2. Most relevant properties: isIndirectStorageBufferAttribute.

Connects To