-
Cast constructor, converting any binary integer to a
AttributeType
.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryInteger
Parameters
raw
The raw integer value to initialise the enum from
-
Data is the same size of a byte
Declaration
Swift
static let byte: CoglAttributeType
-
Data is the same size of an unsigned byte
Declaration
Swift
static let unsignedByte: CoglAttributeType
-
Data is the same size of a short integer
Declaration
Swift
static let short: CoglAttributeType
-
Data is the same size of an unsigned short integer
Declaration
Swift
static let unsignedShort: CoglAttributeType
-
Data is the same size of a float
Declaration
Swift
static let float: CoglAttributeType