Skip to content

Enum ImageState

Namespace: Apogee.Graphics
Assembly: Apogee.Graphics.dll

How an image is being used; each state means one layout and one set of pipeline stages and accesses (in a backend that has them).

public enum ImageState

Fields

ColorAttachment = 5

DepthAttachment = 6

DepthRead = 7

Depth tested against but not written, and sampled.

Present = 8

ShaderRead = 3

Sampled in fragment or compute shaders.

StorageReadWrite = 4

Written and read by compute (and fragment) shaders as a storage image.

TransferDestination = 2

TransferSource = 1

Undefined = 0