MAGE  v0.171.0
Matthias Advanced Game Engine
mage::rendering::WorldBuffer Struct Reference

#include <scene_buffer.hpp>

Public Attributes

U32x2 m_display_resolution
 
F32x2 m_display_inv_resolution
 
U32x2 m_ss_display_resolution
 
F32x2 m_ss_display_inv_resolution
 
Point3 m_voxel_grid_center
 
U32 m_voxel_texture_max_mip_level = {}
 
U32 m_voxel_grid_resolution = {}
 
F32 m_voxel_grid_inv_resolution = {}
 
F32 m_voxel_size = {}
 
F32 m_voxel_inv_size = {}
 
F32 m_time = {}
 
F32 m_inv_gamma = 1.0f
 
U32x2 m_padding
 

Detailed Description

A struct of world buffers.

Member Data Documentation

◆ m_display_inv_resolution

F32x2 mage::rendering::WorldBuffer::m_display_inv_resolution

The inverse of the resolution of the display of this game buffer.

◆ m_display_resolution

U32x2 mage::rendering::WorldBuffer::m_display_resolution

The resolution of the display of this world buffer.

◆ m_inv_gamma

F32 mage::rendering::WorldBuffer::m_inv_gamma = 1.0f

The inverse gamma exponent of this world buffer.

◆ m_padding

U32x2 mage::rendering::WorldBuffer::m_padding

The passing of this world buffer.

◆ m_ss_display_inv_resolution

F32x2 mage::rendering::WorldBuffer::m_ss_display_inv_resolution

The inverse of the resolution of the super-sampled display of this world buffer.

◆ m_ss_display_resolution

U32x2 mage::rendering::WorldBuffer::m_ss_display_resolution

The resolution of the super-sampled display of this world buffer.

◆ m_time

F32 mage::rendering::WorldBuffer::m_time = {}

The time of this world buffer.

◆ m_voxel_grid_center

Point3 mage::rendering::WorldBuffer::m_voxel_grid_center

The center of the voxel grid expressed in world space of this game buffer.

◆ m_voxel_grid_inv_resolution

F32 mage::rendering::WorldBuffer::m_voxel_grid_inv_resolution = {}

The inverse resolution of the voxel grid for all dimensions of this world buffer.

◆ m_voxel_grid_resolution

U32 mage::rendering::WorldBuffer::m_voxel_grid_resolution = {}

The resolution of the voxel grid for all dimensions of this game buffer.

◆ m_voxel_inv_size

F32 mage::rendering::WorldBuffer::m_voxel_inv_size = {}

The inverse size of a voxel for all dimensions of this world buffer.

◆ m_voxel_size

F32 mage::rendering::WorldBuffer::m_voxel_size = {}

The size of a voxel for all dimensions of this world buffer.

◆ m_voxel_texture_max_mip_level

U32 mage::rendering::WorldBuffer::m_voxel_texture_max_mip_level = {}

The maximum mip level of the voxel texture of this world buffer.