![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
#include <scene_buffer.hpp>
Public Attributes | |
XMMATRIX | m_world_to_camera = {} |
XMMATRIX | m_camera_to_projection = {} |
XMMATRIX | m_projection_to_camera = {} |
XMMATRIX | m_camera_to_world = {} |
F32x2 | m_viewport_top_left |
U32x2 | m_viewport_resolution |
F32x2 | m_ss_viewport_top_left |
U32x2 | m_ss_viewport_resolution |
F32x2 | m_viewport_inv_resolution |
F32x2 | m_ss_viewport_inv_resolution |
RGB | m_fog_color |
F32 | m_fog_density = {} |
F32 | m_sky_dome_scale_z = 1.0f |
F32 | m_cone_step = 0.1f |
F32 | m_max_cone_distance = 1.0f |
F32 | m_aperture_radius = {} |
F32 | m_focal_length = {} |
F32 | m_focus_distance = {} |
U32x2 | m_padding |
A struct of camera buffers.
F32 mage::rendering::CameraBuffer::m_aperture_radius = {} |
The radius of the lens aperture of the camera lens of this camera buffer.
XMMATRIX mage::rendering::CameraBuffer::m_camera_to_projection = {} |
The (column-major packed, row-major matrix) camera-to-projection matrix of the camera of this camera buffer.
XMMATRIX mage::rendering::CameraBuffer::m_camera_to_world = {} |
The (column-major packed, row-major matrix) camera-to-world matrix of the camera of this camera buffer.
F32 mage::rendering::CameraBuffer::m_cone_step = 0.1f |
The cone step expressed in voxel UVW space of this camera buffer.
F32 mage::rendering::CameraBuffer::m_focal_length = {} |
The focal length (i.e. distance between the lens aperture and the focal point/focus expressed in camera space) of the camera lens of this camera buffer.
F32 mage::rendering::CameraBuffer::m_focus_distance = {} |
The focus distance (i.e. distance between the lens aperture and the objects in perfect focus expressed in camera space) of the camera lens of this camera buffer.
RGB mage::rendering::CameraBuffer::m_fog_color |
The (linear) color of the fog of this camera buffer.
F32 mage::rendering::CameraBuffer::m_fog_density = {} |
The density of the fog of this camera buffer.
F32 mage::rendering::CameraBuffer::m_max_cone_distance = 1.0f |
The maximal cone distance expressed in voxel UVW space of this camera buffer.
U32x2 mage::rendering::CameraBuffer::m_padding |
The padding of this camera buffer.
XMMATRIX mage::rendering::CameraBuffer::m_projection_to_camera = {} |
The (column-major packed, row-major matrix) projection-to-camera matrix of the camera of this camera buffer.
F32 mage::rendering::CameraBuffer::m_sky_dome_scale_z = 1.0f |
The scaling factor of the z component of sky domes of this camera buffer.
F32x2 mage::rendering::CameraBuffer::m_ss_viewport_inv_resolution |
The inverse of the resolution of the super-sampled viewport of the camera of this camera buffer.
U32x2 mage::rendering::CameraBuffer::m_ss_viewport_resolution |
The resolution of the super-sampled viewport of the camera of this camera buffer.
F32x2 mage::rendering::CameraBuffer::m_ss_viewport_top_left |
The top left corner of the super-sampled viewport of the camera of this camera buffer.
F32x2 mage::rendering::CameraBuffer::m_viewport_inv_resolution |
The inverse of the resolution of the viewport of the camera of this camera buffer.
U32x2 mage::rendering::CameraBuffer::m_viewport_resolution |
The resolution of the viewport of the camera of this camera buffer.
F32x2 mage::rendering::CameraBuffer::m_viewport_top_left |
The top left corner of the viewport of the camera of this camera buffer.
XMMATRIX mage::rendering::CameraBuffer::m_world_to_camera = {} |
The (column-major packed, row-major matrix) world-to-camera matrix of the camera of this camera buffer.