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

Classes

struct  castor3d::shader::BillboardData
 

Espaces de nommage

namespace  castor3d
 
namespace  castor3d::shader
 

Macros

#define C3D_Billboard(writer, binding, set)
 
#define C3D_BillboardOpt(writer, binding, set, enable)
 

Documentation des macros

◆ C3D_Billboard

#define C3D_Billboard (   writer,
  binding,
  set 
)
Valeur :
sdw::StorageBuffer billboard{ writer\
, "C3D_Billboard"\
, "c3d_billboard"\
, uint32_t( binding )\
, uint32_t( set )\
, ast::type::MemoryLayout::eStd430\
, true };\
auto c3d_billboardData = billboard.declMemberArray< castor3d::shader::BillboardData >( "d" );\
billboard.end()
Definition: BillboardUbo.hpp:22

◆ C3D_BillboardOpt

#define C3D_BillboardOpt (   writer,
  binding,
  set,
  enable 
)
Valeur :
sdw::StorageBuffer billboard{ writer\
, "C3D_Billboard"\
, "c3d_billboard"\
, uint32_t( binding )\
, uint32_t( set )\
, ast::type::MemoryLayout::eStd430\
, enable };\
auto c3d_billboardData = billboard.declMemberArray< castor3d::shader::BillboardData >( "d", enable );\
billboard.end()