Engine API Reference - v2.6.1
    Preparing search index...

    Class BindGroupFormat

    BindGroupFormat is a data structure that defines the layout of resources (buffers, textures, samplers) used by rendering or compute shaders. It describes the binding points for each resource type, and the visibility of these resources in the shader stages. Currently this class is only used on WebGPU platform to specify the input and output resources for vertex, fragment and compute shaders written in SHADERLANGUAGE_WGSL language.

    Index

    Constructors

    Properties

    bufferFormatsMap: Map<string, number>
    storageBufferFormatsMap: Map<string, number>
    storageTextureFormatsMap: Map<string, number>
    textureFormatsMap: Map<string, number>

    Methods