copyTextureToTexture method
void
copyTextureToTexture(
- TextureCopyLocation source,
- TextureCopyLocation destination, {
- required int width,
- required int height,
- int depthOrArrayLayers = 1,
override
Copies a width × height × depthOrArrayLayers box of texels from
source to destination. The two textures share a format (or differ
only in sRGB-ness) and a sample count. DeviceFeature.textureCopy.
Implementation
@override
void copyTextureToTexture(
TextureCopyLocation source,
TextureCopyLocation destination, {
required int width,
required int height,
int depthOrArrayLayers = 1,
}) => _gated(DeviceFeature.textureCopy, 'copyTextureToTexture', (
source: source,
destination: destination,
width: width,
height: height,
depthOrArrayLayers: depthOrArrayLayers,
));