abstract struct Gloop::AttributePointer
- Gloop::AttributePointer
- Struct
- Value
- Object
Overview
Base type for all attribute pointer formats.
Describes the format of data in an vertex attribute.
Direct Known Subclasses
Defined in:
gloop/attribute_pointer.crConstructors
-
.new(size : Int32, stride : Int32 = 0, address : Size = 0)
Creates the attribute format descriptor.
Instance Method Summary
-
#address : Size
Relative offset of the attribute's data from the start of the buffer.
-
#size : Int32
Number of components in the attribute.
-
#stride : Int32
Number of bytes to the next value for this attribute in the buffer's data.
Constructor Detail
Creates the attribute format descriptor.
Instance Method Detail
Relative offset of the attribute's data from the start of the buffer.