createTexture abstract method
Texture
createTexture(
- StorageMode storageMode,
- int width,
- int height, {
- PixelFormat format = PixelFormat.r8g8b8a8UNormInt,
- int sampleCount = 1,
- TextureType? textureType,
- bool enableRenderTargetUsage = true,
- bool enableShaderReadUsage = true,
- int mipLevelCount = 1,
Implementation
Texture createTexture(
StorageMode storageMode,
int width,
int height, {
PixelFormat format = PixelFormat.r8g8b8a8UNormInt,
int sampleCount = 1,
TextureType? textureType,
bool enableRenderTargetUsage = true,
bool enableShaderReadUsage = true,
int mipLevelCount = 1,
});