struct Gloop::IntAttributePointer

Overview

Descriptor of an integer vertex attribute.

Defined in:

gloop/int_attribute_pointer.cr

Constructors

Instance Method Summary

Instance methods inherited from struct Gloop::AttributePointer

address : Size address, size : Int32 size, stride : Int32 stride

Constructor methods inherited from struct Gloop::AttributePointer

new(size : Int32, stride : Int32 = 0, address : Size = 0) new

Constructor Detail

def self.new(size : Int32, type : Type, stride : Int32 = 0, address : Size = 0) #

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]