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

Classes

struct  castor3d::shader::OverlayData
 
struct  castor3d::shader::OverlaysIDs
 

Namespaces

namespace  castor3d
 
namespace  castor3d::shader
 

Macros

#define C3D_Overlays(writer, binding, set)
 
#define C3D_OverlaysIDs(writer, binding, set)
 

Macro Definition Documentation

◆ C3D_Overlays

#define C3D_Overlays ( writer,
binding,
set )
Value:
sdw::StorageBuffer c3d_overlaysDataBuffer{ writer\
, "C3D_OverlaysDataBuffer"\
, "c3d_overlaysDataBuffer"\
, uint32_t( binding )\
, uint32_t( set )\
, ast::type::MemoryLayout::eStd430\
, true };\
auto c3d_overlaysData = c3d_overlaysDataBuffer.declMemberArray< castor3d::shader::OverlayData >( "d" );\
c3d_overlaysDataBuffer.end()
Definition OverlayUbo.hpp:36

◆ C3D_OverlaysIDs

#define C3D_OverlaysIDs ( writer,
binding,
set )
Value:
sdw::StorageBuffer c3d_overlaysIDsBuffer{ writer\
, "C3D_OverlaysIDsBuffer"\
, "c3d_overlaysIDsBuffer"\
, uint32_t( binding )\
, uint32_t( set )\
, ast::type::MemoryLayout::eStd430\
, true };\
auto c3d_overlaysIDs = c3d_overlaysIDsBuffer.declMember< castor3d::shader::OverlaysIDs >( "d" );\
c3d_overlaysIDsBuffer.end()
Definition OverlayUbo.hpp:219