Class: RBGL::Engine::Uniforms

Inherits:
DynamicData
  • Object
show all
Defined in:
lib/rbgl/engine/shader/dynamic_data.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RBGL::Engine::DynamicData

Instance Method Details

#merge(other) ⇒ Object



60
61
62
# File 'lib/rbgl/engine/shader/dynamic_data.rb', line 60

def merge(other)
  Uniforms.new(@data.merge(other.to_h))
end