Variables

@:value(cast 1)@:enum@:implinlineread onlyCopySrc:TextureUsage = 1

@:value(cast 2)@:enum@:implinlineread onlyCopyDst:TextureUsage = 2

@:value(cast 4)@:enum@:implinlineread onlySampled:TextureUsage = 4

@:value(cast 8)@:enum@:implinlineread onlyStorage:TextureUsage = 8

@:value(cast 16)@:enum@:implinlineread onlyOutputAttachment:TextureUsage = 16

@:value(cast 13)@:enum@:implinlineread onlyReadAll:TextureUsage = 13

The combination of all read-only usages.

@:value(cast 28)@:enum@:implinlineread onlyWriteAll:TextureUsage = 28

The combination of all write-only and read-write usages.

@:value(cast 31)@:enum@:implinlineread onlyOrdered:TextureUsage = 31

The combination of all usages that the are guaranteed to be be ordered by the hardware. If a usage is not ordered, then even if it doesn't change between draw calls, there still need to be pipeline barriers inserted for synchronization.