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.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public void CopyDataToImage(
	byte[] data
)

Parameters

data  Byte
byte array
See Also