Global Variables
The following global variables are available globally.
-
Undocumented
Declaration
Swift
public let AFIRST_BIT: Int32
-
Undocumented
Declaration
Swift
public let A_BIT: Int32
-
Undocumented
Declaration
Swift
public let BGR_BIT: Int32
-
Undocumented
Declaration
Swift
public let DEPTH_BIT: Int32
-
The number 0.5 expressed as a
CoglFixed
number.Declaration
Swift
public let FIXED_0_5: Int32
-
The number 1 expressed as a
CoglFixed
number.Declaration
Swift
public let FIXED_1: Int
-
Two times pi, expressed as a
CoglFixed
number.Declaration
Swift
public let FIXED_2_PI: Int32
-
Evaluates to the number of bits used by the
CoglFixed
type.Declaration
Swift
public let FIXED_BITS: Int32
-
A very small number expressed as a
CoglFixed
number.Declaration
Swift
public let FIXED_EPSILON: Int32
-
The biggest number representable using
CoglFixed
Declaration
Swift
public let FIXED_MAX: Int32
-
The smallest number representable using
CoglFixed
Declaration
Swift
public let FIXED_MIN: UInt32
-
The number pi, expressed as a
CoglFixed
number.Declaration
Swift
public let FIXED_PI: Int32
-
Half pi, expressed as a
CoglFixed
number.Declaration
Swift
public let FIXED_PI_2: Int32
-
pi / 4, expressed as
CoglFixed
number.Declaration
Swift
public let FIXED_PI_4: Int32
-
Evaluates to the number of bits used for the non-integer part of the
CoglFixed
type.Declaration
Swift
public let FIXED_Q: Int
-
Undocumented
Declaration
Swift
public let PREMULT_BIT: Int32
-
Evaluates to 180 / pi in fixed point notation.
Declaration
Swift
public let RADIANS_TO_DEGREES: Int32
-
Maximum argument that can be passed to
cogl_sqrti()
for which the resulting error is < 10%Declaration
Swift
public let SQRTI_ARG_10_PERCENT: Int32
-
Maximum argument that can be passed to
cogl_sqrti()
for which the resulting error is < 5%Declaration
Swift
public let SQRTI_ARG_5_PERCENT: Int32
-
Maximum argument that can be passed to
cogl_sqrti()
function.Declaration
Swift
public let SQRTI_ARG_MAX: Int32
-
Undocumented
Declaration
Swift
public let STENCIL_BIT: Int32
-
Undocumented
Declaration
Swift
public let TEXTURE_MAX_WASTE: Int32