bindStorageTexture method

bool bindStorageTexture(
  1. ShaderHandle shader,
  2. String name,
  3. TextureHandle texture, {
  4. int mipLevel = 0,
  5. StorageTextureAccess access = StorageTextureAccess.writeOnly,
})
inherited

Binds level mipLevel of texture as the storage texture name of a render stage — DeviceFeature.renderStageStorage, with ComputeEncoder.bindStorageTexture's format and access rules.

Implementation

bool bindStorageTexture(
  ShaderHandle shader,
  String name,
  TextureHandle texture, {
  int mipLevel = 0,
  StorageTextureAccess access = StorageTextureAccess.writeOnly,
}) => refuseByDefault(this, DeviceFeature.renderStageStorage);