-
Cast constructor, converting any binary integer to a
TextureComponents.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryIntegerParameters
rawThe raw integer value to initialise the enum from
-
Only the alpha component
Declaration
Swift
static let a: _CoglTextureComponents -
Red and green components. Note that this can only be used if the
COGL_FEATURE_ID_TEXTURE_RGfeature is advertised.Declaration
Swift
static let rg: _CoglTextureComponents -
Red, green and blue components
Declaration
Swift
static let rgb: _CoglTextureComponents -
Red, green, blue and alpha components
Declaration
Swift
static let rgba: _CoglTextureComponents -
Only a depth component
Declaration
Swift
static let depth: _CoglTextureComponents
View on GitHub
Install in Dash
TextureComponents Extension Reference