#include <RenderingUtils.h>
Utility class containing shared rendering functionality. Used by composition in both RenderableComponent and InstancedRenderableComponent.
Definition at line 16 of file RenderingUtils.h.
◆ is_valid_mesh()
| static bool hellfire::RenderingUtils::is_valid_mesh |
( |
const std::shared_ptr< Mesh > & |
mesh | ) |
|
|
inlinestatic |
◆ set_standard_uniforms()
| static void hellfire::RenderingUtils::set_standard_uniforms |
( |
Shader & |
shader, |
|
|
const glm::mat4 & |
model, |
|
|
const glm::mat4 & |
view, |
|
|
const glm::mat4 & |
projection, |
|
|
float |
time = 0.0f |
|
) |
| |
|
inlinestatic |
◆ set_view_projection_uniforms()
| static void hellfire::RenderingUtils::set_view_projection_uniforms |
( |
Shader & |
shader, |
|
|
const glm::mat4 & |
view, |
|
|
const glm::mat4 & |
projection, |
|
|
float |
time = 0.0f |
|
) |
| |
|
inlinestatic |
◆ upload_lights_to_shader()
| static void hellfire::RenderingUtils::upload_lights_to_shader |
( |
Shader & |
shader, |
|
|
OGLRendererContext & |
renderer_context |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: