 |
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.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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.
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Core.GpuImage.CopyDataToImageAsync(Ab4d.SharpEngine.Common.RawImageData,Ab4d.Vulkan.ImageLayout,Ab4d.Vulkan.AccessFlags,Ab4d.Vulkan.PipelineStageFlags,System.Action{Ab4d.SharpEngine.Core.GpuImage})"]
See Also