Class: Mittsu::OpenGLMeshBasicMaterial
- Inherits:
-
OpenGLMaterial
- Object
- OpenGLMaterial
- Mittsu::OpenGLMeshBasicMaterial
- Defined in:
- lib/mittsu/renderers/opengl/materials/opengl_mesh_basic_material.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from OpenGLMaterial
#shader, #shadow_pass, #uniforms_list
Instance Method Summary collapse
Methods inherited from OpenGLMaterial
#clear_custom_attributes, #custom_attributes_dirty?, #init, #initialize, #needs_camera_position_uniform?, #needs_face_normals?, #needs_lights?, #needs_view_matrix_uniform?, #set
Constructor Details
This class inherits a constructor from Mittsu::OpenGLMaterial
Instance Method Details
#refresh_uniforms(uniforms) ⇒ Object
3 4 5 6 7 |
# File 'lib/mittsu/renderers/opengl/materials/opengl_mesh_basic_material.rb', line 3 def refresh_uniforms(uniforms) refresh_map_uniforms(uniforms) refresh_env_map_uniforms(uniforms) refresh_other_uniforms(uniforms) end |