Engine API Reference
    Preparing search index...

    Class BindStorageBufferFormat

    A class to describe the format of the storage buffer for BindGroupFormat.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    • Create a new instance.

      Parameters

      • name: string

        The name of the storage buffer.

      • visibility: number

        A bit-flag that specifies the shader stages in which the storage buffer is visible. Can be:

      • OptionalreadOnly: boolean = false

        Whether the storage buffer is read-only, or read-write. Defaults to false. This has to be true for the storage buffer used in the vertex shader.

      Returns BindStorageBufferFormat

    Properties

    name: string