 |
VulkanDeviceAddCopyImageCommands(CommandBuffer, Image, ImageLayout, AccessFlags, PipelineStageFlags, Image, ImageCopy, ImageLayout, AccessFlags, PipelineStageFlags, Boolean, ImageLayout, AccessFlags, PipelineStageFlags) Method |
Namespace: Ab4d.SharpEngine.VulkanAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic void AddCopyImageCommands(
CommandBuffer commandBuffer,
Image sourceImage,
ImageLayout sourceImageLayout,
AccessFlags sourceImageAccessMask,
PipelineStageFlags sourceImageStageMask,
Image targetImage,
ImageCopy sourceAndDestinationRegions,
ImageLayout targetImageLayout = ImageLayout.Undefined,
AccessFlags targetImageAccessMask = AccessFlags.None,
PipelineStageFlags targetImageStageMask = PipelineStageFlags.Transfer,
bool restoreSourceImageLayout = true,
ImageLayout targetImageFinalLayout = ImageLayout.General,
AccessFlags targetImageFinalAccessMask = AccessFlags.MemoryRead,
PipelineStageFlags targetImageFinalStageMask = PipelineStageFlags.Transfer
)
Parameters
- commandBuffer CommandBuffer
-
- sourceImage Image
-
- sourceImageLayout ImageLayout
-
- sourceImageAccessMask AccessFlags
-
- sourceImageStageMask PipelineStageFlags
-
- targetImage Image
-
- sourceAndDestinationRegions ImageCopy
-
- targetImageLayout ImageLayout (Optional)
-
- targetImageAccessMask AccessFlags (Optional)
-
- targetImageStageMask PipelineStageFlags (Optional)
-
- restoreSourceImageLayout Boolean (Optional)
-
- targetImageFinalLayout ImageLayout (Optional)
-
- targetImageFinalAccessMask AccessFlags (Optional)
-
- targetImageFinalStageMask PipelineStageFlags (Optional)
-
See Also