createTexture abstract method
Future<Texture>
createTexture(
- int width,
- int height, {
- int depth = 1,
- int levels = 1,
- Set<
TextureUsage> flags = const {TextureUsage.TEXTURE_USAGE_SAMPLEABLE}, - TextureSamplerType textureSamplerType = TextureSamplerType.SAMPLER_2D,
- TextureFormat textureFormat = TextureFormat.RGBA32F,
- int? importedTextureHandle,
Implementation
Future<Texture> createTexture(int width, int height,
{int depth = 1,
int levels = 1,
Set<TextureUsage> flags = const {TextureUsage.TEXTURE_USAGE_SAMPLEABLE},
TextureSamplerType textureSamplerType = TextureSamplerType.SAMPLER_2D,
TextureFormat textureFormat = TextureFormat.RGBA32F,
int? importedTextureHandle});