Class: Three::Uint32BufferAttribute

Inherits:
BufferAttribute show all
Defined in:
lib/three/core/buffer_attribute.rb

Instance Attribute Summary

Attributes inherited from BufferAttribute

#array, #component_type, #id, #item_size, #name, #normalized, #update_ranges, #usage, #version

Instance Method Summary collapse

Methods inherited from BufferAttribute

#add_update_range, allocate_id, #clear_update_ranges, #clone, #copy, #count, #get_component, #get_x, #get_y, #get_z, #needs_update!, #needs_update=, #set_component, #set_usage, #set_x, #set_y, #set_z, #to_h

Methods included from Dirty

#add_dirty_dependent, #dirty?, #dirty_dependents, #dirty_field?, #dirty_fields, #mark_clean!, #mark_dirty!, #remove_dirty_dependent

Methods inherited from EventDispatcher

#add_event_listener, #dispatch_event, #has_event_listener?, #remove_event_listener

Constructor Details

#initialize(array, item_size, normalized = false) ⇒ Uint32BufferAttribute

Returns a new instance of Uint32BufferAttribute.



147
148
149
# File 'lib/three/core/buffer_attribute.rb', line 147

def initialize(array, item_size, normalized = false)
  super(array, item_size, normalized, component_type: :uint32)
end