Click or drag to resize
Ab4d.SharpEngine logo

GpuImageCopyDataToImage(RawImageData, ImageLayout, AccessFlags, PipelineStageFlags, ActionGpuImage) Method

Copies the data from the specified RawImageData to this image in the background thread and set the layout of the image to the specified values. After the data is copied, the dataCopiedCallback is called with this GpuImage as a parameter.

Namespace: Ab4d.SharpEngine.Core
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public void CopyDataToImage(
	RawImageData imageData,
	ImageLayout newLayout,
	AccessFlags newAccessFlags,
	PipelineStageFlags newStageFlags,
	Action<GpuImage> dataCopiedCallback
)

Parameters

imageData  RawImageData
RawImageData that will be copied to this GpuImage
newLayout  ImageLayout
ImageLayout
newAccessFlags  AccessFlags
AccessFlags
newStageFlags  PipelineStageFlags
PipelineStageFlags
dataCopiedCallback  ActionGpuImage
callback Action that called after the data is copied. This GpuImage is passed as a parameter.
See Also