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

Classes

class  castor3d::ModelUbo
 

Espaces de nommage

 castor3d
 

Macros

#define UBO_MODEL(writer, binding, set)
 

Documentation des macros

◆ UBO_MODEL

#define UBO_MODEL (   writer,
  binding,
  set 
)
Valeur :
sdw::Ubo model{ writer\
, binding\
, set\
, ast::type::MemoryLayout::eStd140 };\
auto c3d_shadowReceiver = model.declMember< sdw::Int >( castor3d::ModelUbo::ShadowReceiver );\
auto c3d_materialIndex = model.declMember< sdw::Int >( castor3d::ModelUbo::MaterialIndex );\
auto c3d_envMapIndex = model.declMember< sdw::Int >( castor3d::ModelUbo::EnvironmentIndex );\
model.end()
static C3D_API castor::String const EnvironmentIndex
Definition: ModelUbo.hpp:29
static C3D_API castor::String const ShadowReceiver
Definition: ModelUbo.hpp:23
static C3D_API castor::String const BufferModel
Definition: ModelUbo.hpp:20
static C3D_API castor::String const MaterialIndex
Definition: ModelUbo.hpp:26