Click or drag to resize
Ab4d.SharpEngine logo

GpuImageCopyDataToImage(Byte) Method

Copies the data from the specified byte array to this image. The layout of the image is preserved. To set the image layout to ShaderReadOnlyOptimal or TransferSrcOptimal, call CopyDataToImage(Byte, Boolean) and set the transitionImageToShaderReadOnlyOptimalLayout parameter accordingly.

Namespace: Ab4d.SharpEngine.Core
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public void CopyDataToImage(
	byte[] data
)

Parameters

data  Byte
byte array
See Also