Click or drag to resize
Ab4d.SharpEngine logo

GpuImageCopyDataToImageAsync Method

Overload List
 NameDescription
Public methodCopyDataToImageAsync(RawImageData, Boolean) Copies the data from the specified RawImageData to this image in the background thread. When transitionImageToShaderReadOnlyOptimalLayout is true, the image layout is transitioned to ShaderReadOnlyOptimal; when false the image layout is set to TransferSrcOptimal. After the data is copied, the dataCopiedCallback is called with this GpuImage as a parameter.
Public methodCopyDataToImageAsync(RawImageData, Boolean, ActionGpuImage) Copies the data from the specified RawImageData to this image in the background thread. When transitionImageToShaderReadOnlyOptimalLayout is true, the image layout is transitioned to ShaderReadOnlyOptimal; when false the image layout is set to TransferSrcOptimal. After the data is copied, the dataCopiedCallback is called with this GpuImage as a parameter.
Public methodCopyDataToImageAsync(RawImageData, ImageLayout, AccessFlags, PipelineStageFlags) 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.
Public methodCopyDataToImageAsync(RawImageData, ImageLayout, AccessFlags, PipelineStageFlags, ActionGpuImage) 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.
Top
See Also