OptionaluniformsUniforms input to pass to a BindGroup.
OptionalstoragesRead only or read/write storages input to pass to a BindGroup.
OptionalbindingsOptionallabelThe label of the Material, sent to various GPU objects for debugging purpose.
OptionalshadersShaders to use with this Material.
OptionaluseWhether to compile the Material GPURenderPipeline or GPUComputePipeline asynchronously or not.
OptionalbindArray of already created bind groups to be used by this Material.
OptionalsamplersOptionaltexturesArray of already created Texture or MediaTexture to be used by this Material.
OptionaldispatchMain/first work group dispatch size to use with this ComputeMaterial.
Parameters used to create a ComputeMaterial.