struct Gloop::Float32AttributeFormat
- Gloop::Float32AttributeFormat
- Gloop::AttributeFormat
- Struct
- Value
- Object
Overview
Descriptor of a single-precision floating-point vertex attribute.
Defined in:
gloop/float32_attribute_format.crConstructors
-
.new(size : Int32, type : Type, normalized : Bool, relative_offset : UInt32)
Creates the attribute format.
Instance Method Summary
-
#normalized? : Bool
Indicates an integer range is scaled to one-based range.
-
#type : Type
Type of data contained in the attribute.
Instance methods inherited from struct Gloop::AttributeFormat
relative_offset : UInt32
relative_offset,
size : Int32
size
Constructor methods inherited from struct Gloop::AttributeFormat
new(size : Int32, relative_offset : UInt32)
new
Constructor Detail
Creates the attribute format.