Class: Rgltf::Validation::Accessors
- Defined in:
- lib/rgltf/validation/accessors.rb
Constant Summary collapse
- COMPONENTS =
AccessorReader::COMPONENT_TYPES.freeze
- TYPES =
AccessorReader::ELEMENT_COUNTS.freeze
- UNSIGNED =
[5121, 5123, 5125].freeze
Instance Method Summary collapse
Methods inherited from Rule
Constructor Details
This class inherits a constructor from Rgltf::Validation::Rule
Instance Method Details
#validate ⇒ Object
10 11 12 |
# File 'lib/rgltf/validation/accessors.rb', line 10 def validate array('accessors').each_with_index { |raw, index| validate_accessor(object(raw, "accessors/#{index}"), index) } end |