Castor3D  0.11.0
Multiplatform 3D engine
Classes | Espaces de nommage | Macros
Référence du fichier GpInfoUbo.hpp

Classes

class  castor3d::GpInfoUbo
 

Espaces de nommage

 castor3d
 

Macros

#define UBO_GPINFO(writer, binding, set)
 

Documentation des macros

◆ UBO_GPINFO

#define UBO_GPINFO (   writer,
  binding,
  set 
)
Valeur :
sdw::Ubo gpInfo{ writer\
, binding\
, set };\
auto c3d_mtxInvViewProj = gpInfo.declMember< sdw::Mat4 >( castor3d::GpInfoUbo::InvViewProj );\
auto c3d_mtxInvView = gpInfo.declMember< sdw::Mat4 >( castor3d::GpInfoUbo::InvView );\
auto c3d_mtxInvProj = gpInfo.declMember< sdw::Mat4 >( castor3d::GpInfoUbo::InvProj );\
auto c3d_mtxGView = gpInfo.declMember< sdw::Mat4 >( castor3d::GpInfoUbo::View );\
auto c3d_mtxGProj = gpInfo.declMember< sdw::Mat4 >( castor3d::GpInfoUbo::Proj );\
auto c3d_renderSize = gpInfo.declMember< sdw::Vec2 >( castor3d::GpInfoUbo::RenderSize );\
gpInfo.end()
static C3D_API const castor::String View
Definition: GpInfoUbo.hpp:86
static C3D_API const castor::String InvView
Definition: GpInfoUbo.hpp:84
static C3D_API const castor::String Proj
Definition: GpInfoUbo.hpp:87
static C3D_API const castor::String InvViewProj
Definition: GpInfoUbo.hpp:83
static C3D_API const castor::String InvProj
Definition: GpInfoUbo.hpp:85
static C3D_API const castor::String RenderSize
Definition: GpInfoUbo.hpp:88
static C3D_API const castor::String GPInfo
Definition: GpInfoUbo.hpp:82