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

Classes

struct  castor3d::shader::ModelIndices
 

Espaces de nommage

namespace  castor3d
 
namespace  castor3d::shader
 

Macros

#define C3D_ModelsData(writer, binding, set)
 
#define C3D_ModelData(writer, binding, set)
 

Documentation des macros

◆ C3D_ModelData

#define C3D_ModelData (   writer,
  binding,
  set 
)
Valeur :
sdw::Ubo modelBufferIndices{ writer\
, uint32_t( binding )\
, uint32_t( set )\
, ast::type::MemoryLayout::eStd140\
, true };\
auto c3d_modelData = modelBufferIndices.declMember< castor3d::shader::ModelIndices >( castor3d::shader::ModelIndices::DataName );\
modelBufferIndices.end()
Definition: ModelDataUbo.hpp:17
static C3D_API castor::String const DataName
Definition: ModelDataUbo.hpp:94
static C3D_API castor::String const BufferName
Definition: ModelDataUbo.hpp:93

◆ C3D_ModelsData

#define C3D_ModelsData (   writer,
  binding,
  set 
)
Valeur :
sdw::Ssbo modelsBufferIndices{ writer\
, uint32_t( binding )\
, uint32_t( set )\
, ast::type::MemoryLayout::eStd430\
, true };\
auto c3d_modelsData = modelsBufferIndices.declMemberArray< castor3d::shader::ModelIndices >( castor3d::shader::ModelIndices::DataName );\
modelsBufferIndices.end()