27 auto recorder = context->makeRecorder();
31 textureInfo.
fMipmapped = skgpu::Mipmapped::kNo;
32 textureInfo.
fFormat = wgpu::TextureFormat::RGBA8Unorm;
33 textureInfo.
fUsage = wgpu::TextureUsage::TextureBinding;
35 auto beTexture = recorder->createBackendTexture(
kSize, textureInfo);
37 recorder->deleteBackendTexture(beTexture);
40 textureInfo.
fUsage |= wgpu::TextureUsage::RenderAttachment;
41 beTexture = recorder->createBackendTexture(
kSize, textureInfo);
43 recorder->deleteBackendTexture(beTexture);
51 auto recorder = context->makeRecorder();
55 textureInfo.
fMipmapped = skgpu::Mipmapped::kNo;
56 textureInfo.
fFormat = wgpu::TextureFormat::RGBA8Unorm;
57 textureInfo.
fUsage = wgpu::TextureUsage::TextureBinding;
67 beTexture2 = beTexture;
72 recorder->deleteBackendTexture(beTexture);
wgpu::TextureFormat fFormat
wgpu::TextureUsage fUsage