Click or drag to resize
Ab4d.SharpEngine logo

GpuImageCopyDataToImage(CommandBuffer, GpuBuffer, Byte, ImageLayout, AccessFlags, PipelineStageFlags, UInt32, UInt32) Method

Copies the data from the specified byte array to this image and set the layout of the image to the specified values.

Namespace: Ab4d.SharpEngine.Core
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public void CopyDataToImage(
	CommandBuffer commandBuffer,
	GpuBuffer stagingBuffer,
	byte[] data,
	ImageLayout newLayout,
	AccessFlags newAccessFlags,
	PipelineStageFlags newStageFlags,
	uint srcQueueFamilyIndex = 4294967295,
	uint dstQueueFamilyIndex = 4294967295
)

Parameters

commandBuffer  CommandBuffer
custom Command buffer
stagingBuffer  GpuBuffer
used staging buffer
data  Byte
byte array
newLayout  ImageLayout
ImageLayout
newAccessFlags  AccessFlags
AccessFlags
newStageFlags  PipelineStageFlags
PipelineStageFlags
srcQueueFamilyIndex  UInt32  (Optional)
source queue family index; QueueFamilyIgnored by default
dstQueueFamilyIndex  UInt32  (Optional)
destination queue family index; QueueFamilyIgnored by default
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Core.GpuImage.CopyDataToImage(Ab4d.Vulkan.CommandBuffer,Ab4d.SharpEngine.Core.GpuBuffer,System.Byte[],Ab4d.Vulkan.ImageLayout,Ab4d.Vulkan.AccessFlags,Ab4d.Vulkan.PipelineStageFlags,System.UInt32,System.UInt32)"]

See Also