Documentation
    Preparing search index...

    Function shadedMrBindingWgsl

    • The packed metallic-roughness declaration for one bind-group index — the albedo pair's two bindings and the same createTextureBindGroupLayout object, renamed so the map+mr module can splice both.

      Pass SHADED_MR_BIND_GROUP_INDEX when albedo occupies group 2; pass SHADED_MAP_BIND_GROUP_INDEX for an mr-only pipeline.

      Parameters

      • groupIndex: number

      Returns string