struct Gloop::IntAttributeFormat

Overview

Descriptor of an integer vertex attribute.

Defined in:

gloop/int_attribute_format.cr

Constructors

Instance Method Summary

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

def self.new(size : Int32, type : Type, relative_offset : UInt32) #

Creates a descriptor of the attribute's format.


[View source]

Instance Method Detail

def type : Type #

Type of data contained in the attribute.


[View source]