copyBufferToTexture method
void
copyBufferToTexture(
- StorageBuffer source,
- BufferTextureLayout layout,
- TextureCopyLocation destination, {
- required int width,
- required int height,
- int depthOrArrayLayers = 1,
override
Copies texels laid out in source as layout into destination.
DeviceFeature.bufferTextureCopy.
Implementation
@override
void copyBufferToTexture(
StorageBuffer source,
BufferTextureLayout layout,
TextureCopyLocation destination, {
required int width,
required int height,
int depthOrArrayLayers = 1,
}) => _gated(DeviceFeature.bufferTextureCopy, 'copyBufferToTexture', (
source: source,
layout: layout,
destination: destination,
width: width,
height: height,
depthOrArrayLayers: depthOrArrayLayers,
));