Castor3D 0.16.0
Multiplatform 3D engine
Classes | Namespaces | Macros
ModelDataUbo.hpp File Reference

Classes

struct  castor3d::shader::ModelData
 

Namespaces

namespace  castor3d
 
namespace  castor3d::shader
 

Macros

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

Macro Definition Documentation

◆ C3D_ModelData

#define C3D_ModelData ( writer,
binding,
set )
Value:
sdw::UniformBuffer c3d_modelDataBuffer{ writer\
, "C3D_ModelDataBuffer"\
, "c3d_modelDataBuffer"\
, uint32_t( binding )\
, uint32_t( set )\
, ast::type::MemoryLayout::eStd140\
, true };\
auto c3d_modelData = c3d_modelDataBuffer.declMember< castor3d::shader::ModelData >( "d" );\
c3d_modelDataBuffer.end()
Definition ModelDataUbo.hpp:30

◆ C3D_ModelsData

#define C3D_ModelsData ( writer,
binding,
set )
Value:
sdw::StorageBuffer c3d_modelsDataBuffer{ writer\
, "C3D_ModelsDataBuffer"\
, "c3d_modelsDataBuffer"\
, uint32_t( binding )\
, uint32_t( set )\
, ast::type::MemoryLayout::eStd430\
, true };\
auto c3d_modelsData = c3d_modelsDataBuffer.declMemberArray< castor3d::shader::ModelData >( "d" );\
c3d_modelsDataBuffer.end()