Click or drag to resize
Ab4d.SharpEngine logo

ImageLayout Enumeration


Namespace: Ab4d.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public enum ImageLayout
Members
Member nameValueDescription
Undefined0Implicit layout an image is when its contents are undefined due to various reasons (e.g. right after creation)
General1General layout when image can be used for any kind of access
ColorAttachmentOptimal2Optimal layout when image is only used for color attachment read/write
DepthStencilAttachmentOptimal3Optimal layout when image is only used for depth/stencil attachment read/write
DepthStencilReadOnlyOptimal4Optimal layout when image is used for read only depth/stencil attachment and shader access
ShaderReadOnlyOptimal5Optimal layout when image is used for read only shader access
TransferSrcOptimal6Optimal layout when image is used only as source of transfer operations
TransferDstOptimal7Optimal layout when image is used only as destination of transfer operations
Preinitialized8Initial layout used when the data is populated by the CPU
PresentSrc1,000,001,002 
DepthReadOnlyStencilAttachmentOptimal1,000,117,000 
DepthAttachmentStencilReadOnlyOptimal1,000,117,001 
DepthAttachmentOptimal1,000,241,000 
DepthReadOnlyOptimal1,000,241,001 
StencilAttachmentOptimal1,000,241,002 
StencilReadOnlyOptimal1,000,241,003 
ReadOnlyOptimal1,000,314,000 
AttachmentOptimal1,000,314,001 
See Also