Click or drag to resize
Ab4d.SharpEngine logo

GpuSwapChainAddCopyImageCommands(CommandBuffer, Int32, Image, ImageLayout, AccessFlags, PipelineStageFlags, ImageLayout) Method


Namespace: Ab4d.SharpEngine.Core
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntax
C#
public void AddCopyImageCommands(
	CommandBuffer commandBuffer,
	int swapChainImageIndex,
	Image targetImage,
	ImageLayout targetImageLayout = ImageLayout.Undefined,
	AccessFlags targetImageAccessMask = AccessFlags.None,
	PipelineStageFlags targetImageStageMask = PipelineStageFlags.Transfer,
	ImageLayout targetImageFinalLayout = ImageLayout.ShaderReadOnlyOptimal
)

Parameters

commandBuffer  CommandBuffer
 
swapChainImageIndex  Int32
 
targetImage  Image
 
targetImageLayout  ImageLayout  (Optional)
 
targetImageAccessMask  AccessFlags  (Optional)
 
targetImageStageMask  PipelineStageFlags  (Optional)
 
targetImageFinalLayout  ImageLayout  (Optional)
 
See Also