24 auto recorder = context->makeRecorder();
28 textureInfo.
fMipmapped = skgpu::Mipmapped::kNo;
29 textureInfo.
fFormat = MTLPixelFormatRGBA8Unorm;
31 textureInfo.
fUsage = MTLTextureUsageShaderRead;
38 auto beTexture = recorder->createBackendTexture(
kSize, textureInfo);
40 recorder->deleteBackendTexture(beTexture);
43 textureInfo.
fUsage |= MTLTextureUsageRenderTarget;
44 beTexture = recorder->createBackendTexture(
kSize, textureInfo);
46 recorder->deleteBackendTexture(beTexture);
49 textureInfo.
fFormat = MTLPixelFormatRGB9E5Float;
50 beTexture = recorder->createBackendTexture(
kSize, textureInfo);
52 recorder->deleteBackendTexture(beTexture);
55 textureInfo.
fFormat = MTLPixelFormatRGBA8Unorm;
57 beTexture = recorder->createBackendTexture(
kSize, textureInfo);
59 recorder->deleteBackendTexture(beTexture);
MtlStorageMode fStorageMode
skgpu::Mipmapped fMipmapped