Class: Three::Uint16BufferAttribute
- Inherits:
-
BufferAttribute
- Object
- EventDispatcher
- BufferAttribute
- Three::Uint16BufferAttribute
- 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
-
#initialize(array, item_size, normalized = false) ⇒ Uint16BufferAttribute
constructor
A new instance of Uint16BufferAttribute.
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) ⇒ Uint16BufferAttribute
Returns a new instance of Uint16BufferAttribute.
141 142 143 |
# File 'lib/three/core/buffer_attribute.rb', line 141 def initialize(array, item_size, normalized = false) super(array, item_size, normalized, component_type: :uint16) end |