abstract struct Gloop::AttributeFormat
- Gloop::AttributeFormat
- Struct
- Value
- Object
Overview
Base type for all attribute formats.
Describes the format of data in an vertex attribute.
Direct Known Subclasses
Defined in:
gloop/attribute_format.crConstructors
-
.new(size : Int32, relative_offset : UInt32)
Creates the attribute format descriptor.
Instance Method Summary
-
#relative_offset : UInt32
Relative offset of the attribute's data from the start of the buffer.
-
#size : Int32
Number of components in the attribute.
Constructor Detail
Instance Method Detail
def relative_offset : UInt32
#
Relative offset of the attribute's data from the start of the buffer.