struct Gloop::Float32AttributePointer

Overview

Descriptor of a single-precision floating-point vertex attribute.

Defined in:

gloop/float32_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, normalized : Bool, stride : Int32 = 0, address : Size = 0) #

Creates the attribute format.


[View source]

Instance Method Detail

def normalized? : Bool #

Indicates an integer range is scaled to one-based range.


[View source]
def type : Type #

Type of data contained in the attribute.


[View source]