![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
#include <camera.hpp>
Public Member Functions | |
| constexpr | VoxelizationSettings () |
| constexpr | VoxelizationSettings (const VoxelizationSettings &settings)=default |
| constexpr | VoxelizationSettings (VoxelizationSettings &&settings) noexcept=default |
| ~VoxelizationSettings ()=default | |
| VoxelizationSettings & | operator= (const VoxelizationSettings &settings) noexcept=default |
| VoxelizationSettings & | operator= (VoxelizationSettings &&settings) noexcept=default |
| constexpr bool | UsesVCT () const noexcept |
| void | EnableVCT () noexcept |
| void | DisableVCT () noexcept |
| void | ToggleVCT () noexcept |
| void | SetVCT (bool vct=true) noexcept |
| constexpr F32 | GetConeStep () const noexcept |
| void | SetConeStep (F32 cone_step) noexcept |
| constexpr F32 | GetMaxConeDistance () const noexcept |
| void | SetMaxConeDistance (F32 max_cone_distance) noexcept |
Static Public Member Functions | |
| static constexpr const Point3 | GetVoxelGridCenter () noexcept |
| static constexpr void | SetVoxelGridCenter (Point3 voxel_grid_center) noexcept |
| static constexpr U32 | GetVoxelGridResolution () noexcept |
| static constexpr void | SetVoxelGridResolution (U32 exponent) noexcept |
| static constexpr F32 | GetVoxelSize () noexcept |
| static void | SetVoxelSize (F32 voxel_size) noexcept |
| static U32 | GetMaxVoxelTextureMipLevel () noexcept |
| static const XMMATRIX XM_CALLCONV | GetWorldToVoxelMatrix () noexcept |
Private Attributes | |
| bool | m_vct |
| F32 | m_cone_step |
| F32 | m_max_cone_distance |
Static Private Attributes | |
| static Point3 | s_voxel_grid_center |
| static U32 | s_voxel_grid_resolution = 128u |
| static F32 | s_voxel_size = 0.08f |
A class of voxelization settingss.
| constexpr mage::rendering::VoxelizationSettings::VoxelizationSettings | ( | ) |
Constructs a voxelization settings.
|
default |
Constructs a voxelization settings from the given voxelization settings.
| [in] | settings | A reference to the voxelization settings to copy. |
|
defaultnoexcept |
Constructs a voxelization settings by moving the given voxelization settings.
| [in] | settings | A reference to the voxelization settings to move. |
|
default |
Destructs this voxelization settings.
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
defaultnoexcept |
Copies the given voxelization settings to this voxelization settings.
| [in] | settings | A reference to the voxelization settings to copy. |
|
defaultnoexcept |
Moves the given voxelization settings to this voxelization settings.
| [in] | settings | A reference to the voxelization settings to move. |
|
noexcept |
|
noexcept |
|
noexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
noexcept |
|
noexcept |
|
private |
The cone step expressed in voxel UVW space of this voxelization settings.
|
private |
The maximal cone distance expressed in voxel UVW space of this voxelization settings.
|
private |
A flag indicating whether voxel cone tracing should be used for this voxelization settings.
|
staticprivate |
The center of the voxel grid expressed in world space.
|
staticprivate |
The resolution of the voxel grid for all dimensions.
|
staticprivate |
The size of a voxel for all dimensions expressed in world space.