Class: Mittsu::OpenGLShaderMaterial
- Inherits:
-
OpenGLMaterial
- Object
- OpenGLMaterial
- Mittsu::OpenGLShaderMaterial
- Defined in:
- lib/mittsu/renderers/opengl/materials/opengl_shader_material.rb
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_face_normals?, #needs_lights?, #refresh_uniforms, #set
Constructor Details
This class inherits a constructor from Mittsu::OpenGLMaterial
Instance Method Details
#needs_camera_position_uniform? ⇒ Boolean
3 4 5 |
# File 'lib/mittsu/renderers/opengl/materials/opengl_shader_material.rb', line 3 def needs_camera_position_uniform? true end |
#needs_view_matrix_uniform? ⇒ Boolean
7 8 9 |
# File 'lib/mittsu/renderers/opengl/materials/opengl_shader_material.rb', line 7 def needs_view_matrix_uniform? true end |