Click or drag to resize
Ab4d.SharpEngine logo

GpuImageCopyDataToImage Method

Overload List
 NameDescription
Public methodCopyDataToImage(Byte) Copies the data from the specified byte array to this image. The layout of the image is preserved. To set the image layout to ShaderReadOnlyOptimal or TransferSrcOptimal, call CopyDataToImage(Byte, Boolean) and set the transitionImageToShaderReadOnlyOptimalLayout parameter accordingly.
Public methodCopyDataToImage(Byte, Boolean) Copies the data from the specified byte array to this image. When transitionImageToShaderReadOnlyOptimalLayout is true, the image layout is transitioned to ShaderReadOnlyOptimal; when false the image layout is set to TransferSrcOptimal. To preserve the image layout, call CopyDataToImage without transitionImageToShaderReadOnlyOptimalLayout parameter.
Public methodCopyDataToImage(Byte, ImageLayout, AccessFlags, PipelineStageFlags) Copies the data from the specified byte array to this image and set the layout of the image to the specified values.
Public methodCopyDataToImage(CommandBuffer, GpuBuffer, Byte, ImageLayout, AccessFlags, PipelineStageFlags, UInt32, UInt32) Copies the data from the specified byte array to this image and set the layout of the image to the specified values.
Top
See Also