-
Cast constructor, converting any binary integer to a
PixelFormat.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryIntegerParameters
rawThe raw integer value to initialise the enum from
-
Any format
Declaration
Swift
static let any: CoglPixelFormat -
8 bits alpha mask
Declaration
Swift
static let a8: CoglPixelFormat -
RGB, 16 bits
Declaration
Swift
static let rgb565: CoglPixelFormat -
RGBA, 16 bits
Declaration
Swift
static let rgba4444: CoglPixelFormat -
RGBA, 16 bits
Declaration
Swift
static let rgba5551: CoglPixelFormat -
Not currently supported
Declaration
Swift
static let yuv: CoglPixelFormat -
Single luminance component
Declaration
Swift
static let g8: CoglPixelFormat -
RG, 16 bits. Note that red-green textures are only available if
COGL_FEATURE_ID_TEXTURE_RGis advertised. Seecogl_texture_set_components()for details.Declaration
Swift
static let rg88: CoglPixelFormat -
RGB, 24 bits
Declaration
Swift
static let rgb888: CoglPixelFormat -
BGR, 24 bits
Declaration
Swift
static let bgr888: CoglPixelFormat -
RGBA, 32 bits
Declaration
Swift
static let rgba8888: CoglPixelFormat -
BGRA, 32 bits
Declaration
Swift
static let bgra8888: CoglPixelFormat -
ARGB, 32 bits
Declaration
Swift
static let argb8888: CoglPixelFormat -
ABGR, 32 bits
Declaration
Swift
static let abgr8888: CoglPixelFormat -
RGBA, 32 bits, 10 bpc
Declaration
Swift
static let rgba1010102: CoglPixelFormat -
BGRA, 32 bits, 10 bpc
Declaration
Swift
static let bgra1010102: CoglPixelFormat -
ARGB, 32 bits, 10 bpc
Declaration
Swift
static let argb2101010: CoglPixelFormat -
ABGR, 32 bits, 10 bpc
Declaration
Swift
static let abgr2101010: CoglPixelFormat -
Premultiplied RGBA, 32 bits
Declaration
Swift
static let rgba8888Pre: CoglPixelFormat -
Premultiplied BGRA, 32 bits
Declaration
Swift
static let bgra8888Pre: CoglPixelFormat -
Premultiplied ARGB, 32 bits
Declaration
Swift
static let argb8888Pre: CoglPixelFormat -
Premultiplied ABGR, 32 bits
Declaration
Swift
static let abgr8888Pre: CoglPixelFormat -
Premultiplied RGBA, 16 bits
Declaration
Swift
static let rgba4444Pre: CoglPixelFormat -
Premultiplied RGBA, 16 bits
Declaration
Swift
static let rgba5551Pre: CoglPixelFormat -
Premultiplied RGBA, 32 bits, 10 bpc
Declaration
Swift
static let rgba1010102Pre: CoglPixelFormat -
Premultiplied BGRA, 32 bits, 10 bpc
Declaration
Swift
static let bgra1010102Pre: CoglPixelFormat -
Premultiplied ARGB, 32 bits, 10 bpc
Declaration
Swift
static let argb2101010Pre: CoglPixelFormat -
Premultiplied ABGR, 32 bits, 10 bpc
Declaration
Swift
static let abgr2101010Pre: CoglPixelFormat -
Undocumented
Declaration
Swift
static let depth16: CoglPixelFormat -
Undocumented
Declaration
Swift
static let depth32: CoglPixelFormat -
Undocumented
Declaration
Swift
static let depth24Stencil8: CoglPixelFormat
View on GitHub
Install in Dash
PixelFormat Extension Reference