SdlxGpuStorageTextureReadWriteBinding constructor

SdlxGpuStorageTextureReadWriteBinding({
  1. Pointer<SdlGpuTexture>? texture,
  2. int mipLevel = 0,
  3. int layer = 0,
  4. bool cycle = false,
})

Implementation

SdlxGpuStorageTextureReadWriteBinding({
  Pointer<SdlGpuTexture>? texture,
  this.mipLevel = 0,
  this.layer = 0,
  this.cycle = false,
}) : texture = texture ?? nullptr;