![]()  | 
  
    MAGE
    v0.171.0
    
   Matthias Advanced Game Engine 
   | 
 
#include <scene_buffer.hpp>
Public Attributes | |
| XMMATRIX | m_object_to_world = {} | 
| XMMATRIX | m_normal_to_world = {} | 
| XMMATRIX | m_texture_transform = {} | 
| RGBA | m_base_color | 
| F32 | m_roughness = 0.0f | 
| F32 | m_metalness = 0.0f | 
| U32x2 | m_padding | 
A struct of model buffers.
| RGBA mage::rendering::ModelBuffer::m_base_color | 
The (linear) base color of the material of this model buffer.
| F32 mage::rendering::ModelBuffer::m_metalness = 0.0f | 
The (linear) metalness of the material of this model buffer.
| XMMATRIX mage::rendering::ModelBuffer::m_normal_to_world = {} | 
The (column-major packed, row-major matrix) object-to-world inverse transpose matrix (normal-to-world matrix) of this model buffer.
| XMMATRIX mage::rendering::ModelBuffer::m_object_to_world = {} | 
The (column-major packed, row-major matrix) object-to-world matrix of this model buffer.
| U32x2 mage::rendering::ModelBuffer::m_padding | 
The padding of this world buffer.
| F32 mage::rendering::ModelBuffer::m_roughness = 0.0f | 
The (linear) roughness of the material of this model buffer.
| XMMATRIX mage::rendering::ModelBuffer::m_texture_transform = {} | 
The (column-major packed, row-major matrix) texture transform matrix of this model buffer.