extended_material_bindless.wgsl

Bindings
Shader defs requirments:
š¢ BINDLESS
@group(2)
@binding(100)
var<storage>
example_extended_material_indices:
array<ExampleBindlessExtendedMaterialIndices>

Shader defs requirments:
š¢ BINDLESS
@group(2)
@binding(101)
var<storage>
example_extended_material:
array<ExampleBindlessExtendedMaterial>

Shader defs requirments:
š“ BINDLESS
Shader defs requirments:
š“ BINDLESS
@group(2)
@binding(51)
var
modulate_texture:
texture_2d<f32>
Shader defs requirments:
š“ BINDLESS
Structures
Plain data associated with this example material.
Functions
@fragment
Calculates the final color of each pixel on the screen
Stores the indices of the bindless resources in the bindless resource arrays, for the
ExampleBindlessExtension
fields.