struct hiro::shader::SceneData
Overview
Scene information wrapper. More…
#include <ShaderApi.h> struct SceneData { // fields glm::mat4 projection; glm::mat4 projection_inverse; int32_t camera_id; glm::vec3 __padding0 { 0.0f }; glm::ivec4 light_ids; glm::ivec2 resolution; glm::vec2 __padding1 { 0.0f }; };
Detailed Documentation
Scene information wrapper.
Fields
glm::mat4 projection
Scene projection matrix.
glm::mat4 projection_inverse
Inverse to scene projection matrix.
int32_t camera_id
Index of a camera used by this scene.
glm::ivec4 light_ids
Indices of lights used by this scenes.
glm::ivec2 resolution
Resolution of a scene viewport.