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

Classes

struct  castor3d::shader::BillboardData
 

Namespaces

namespace  castor3d
 
namespace  castor3d::shader
 

Macros

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

Macro Definition Documentation

◆ C3D_Billboard

#define C3D_Billboard ( writer,
binding,
set )
Value:
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 )
Value:
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()