 |
GpuImageCopyDataToImageAsync(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.CoreAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic void CopyDataToImageAsync(
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