Castor3D 0.17.0
Multiplatform 3D engine
Classes | Namespaces | Macros
RsmConfigUbo.hpp File Reference

Classes

struct  castor3d::shader::RsmConfigData
 
class  castor3d::RsmConfigUbo
 

Namespaces

namespace  castor3d
 
namespace  castor3d::shader
 

Macros

#define C3D_RsmConfigEx(writer, binding, set, enable)
 
#define C3D_RsmConfig(writer, binding, set)    C3D_RsmConfigEx( writer, binding, set, true )
 

Macro Definition Documentation

◆ C3D_RsmConfig

#define C3D_RsmConfig ( writer,
binding,
set )    C3D_RsmConfigEx( writer, binding, set, true )

◆ C3D_RsmConfigEx

#define C3D_RsmConfigEx ( writer,
binding,
set,
enable )
Value:
sdw::UniformBuffer rsmConfig{ writer\
, "C3D_RsmConfig"\
, "c3d_rsmConfig"\
, uint32_t( binding )\
, uint32_t( set )\
, ast::type::MemoryLayout::eStd140\
, enable };\
auto c3d_rsmConfigData = rsmConfig.declMember< shader::RsmConfigData >( "c3d_rsmConfigData" );\
rsmConfig.end()