bindStorageTexture method
bool
bindStorageTexture(
- ShaderHandle shader,
- String name,
- TextureHandle texture, {
- int mipLevel = 0,
- 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);