Castor3D
0.11.0
Multiplatform 3D engine
Shader
Ubos
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\
,
castor3d::ModelUbo::BufferModel
\
, 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()
castor3d::ModelUbo::EnvironmentIndex
static C3D_API castor::String const EnvironmentIndex
Definition:
ModelUbo.hpp:29
castor3d::ModelUbo::ShadowReceiver
static C3D_API castor::String const ShadowReceiver
Definition:
ModelUbo.hpp:23
castor3d::ModelUbo::BufferModel
static C3D_API castor::String const BufferModel
Definition:
ModelUbo.hpp:20
castor3d::ModelUbo::MaterialIndex
static C3D_API castor::String const MaterialIndex
Definition:
ModelUbo.hpp:26
Généré le Jeudi 18 Février 2021 01:07:31 pour Castor3D par
1.8.15