Click or drag to resize
Ab4d.SharpEngine logo

VulkanDeviceAddCopyImageCommands(CommandBuffer, Image, ImageLayout, AccessFlags, PipelineStageFlags, Image, Int32, Int32, AccessFlags, ImageLayout, PipelineStageFlags, Boolean, ImageLayout, Int32) Method


Namespace: Ab4d.SharpEngine.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntax
C#
public void AddCopyImageCommands(
	CommandBuffer commandBuffer,
	Image sourceImage,
	ImageLayout sourceImageLayout,
	AccessFlags sourceImageAccessMask,
	PipelineStageFlags sourceImageStageMask,
	Image targetImage,
	int width,
	int height,
	AccessFlags targetImageAccessMask = AccessFlags.None,
	ImageLayout targetImageLayout = ImageLayout.Undefined,
	PipelineStageFlags targetImageStageMask = PipelineStageFlags.Transfer,
	bool restoreSourceImageLayout = true,
	ImageLayout targetImageFinalLayout = ImageLayout.General,
	int layersCount = 1
)

Parameters

commandBuffer  CommandBuffer
 
sourceImage  Image
 
sourceImageLayout  ImageLayout
 
sourceImageAccessMask  AccessFlags
 
sourceImageStageMask  PipelineStageFlags
 
targetImage  Image
 
width  Int32
 
height  Int32
 
targetImageAccessMask  AccessFlags  (Optional)
 
targetImageLayout  ImageLayout  (Optional)
 
targetImageStageMask  PipelineStageFlags  (Optional)
 
restoreSourceImageLayout  Boolean  (Optional)
 
targetImageFinalLayout  ImageLayout  (Optional)
 
layersCount  Int32  (Optional)
 
See Also