TextureUsage enum

Inheritance
Available extensions

Values

TEXTURE_USAGE_NONE → const TextureUsage
const TextureUsage(0)
TEXTURE_USAGE_COLOR_ATTACHMENT → const TextureUsage

!< Texture can be used as a color attachment

const TextureUsage(1)
TEXTURE_USAGE_DEPTH_ATTACHMENT → const TextureUsage

!< Texture can be used as a depth attachment

const TextureUsage(2)
TEXTURE_USAGE_STENCIL_ATTACHMENT → const TextureUsage

!< Texture can be used as a stencil attachment

const TextureUsage(4)
TEXTURE_USAGE_UPLOADABLE → const TextureUsage

!< Data can be uploaded into this texture (default)

const TextureUsage(8)
TEXTURE_USAGE_SAMPLEABLE → const TextureUsage

!< Texture can be sampled (default)

const TextureUsage(16)
TEXTURE_USAGE_SUBPASS_INPUT → const TextureUsage

!< Texture can be used as a subpass input

const TextureUsage(32)
TEXTURE_USAGE_BLIT_SRC → const TextureUsage

!< Texture can be used the source of a blit()

const TextureUsage(64)
TEXTURE_USAGE_BLIT_DST → const TextureUsage

!< Texture can be used the destination of a blit()

const TextureUsage(128)
TEXTURE_USAGE_PROTECTED → const TextureUsage

!< Texture can be used the destination of a blit()

const TextureUsage(256)
TEXTURE_USAGE_DEFAULT → const TextureUsage

!< Default texture usage

const TextureUsage(24)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromValue(int value) TextureUsage

Constants

values → const List<TextureUsage>
A constant List of the values in this enum, in order of their declaration.