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

Classes

struct  castor3d::shader::ShadowMapData
 
class  castor3d::ShadowMapUbo
 

Namespaces

namespace  castor3d
 
namespace  castor3d::shader
 

Macros

#define C3D_ShadowMap(writer, binding, set)
 

Macro Definition Documentation

◆ C3D_ShadowMap

#define C3D_ShadowMap ( writer,
binding,
set )
Value:
sdw::UniformBuffer shadowMapCfg{ writer\
, "C3D_ShadowMapConfig"\
, "c3d_shadowMapConfig"\
, uint32_t( binding )\
, uint32_t( set )\
, ast::type::MemoryLayout::eStd140\
, true };\
auto c3d_shadowMapData = shadowMapCfg.declMember< castor3d::shader::ShadowMapData >( "d" );\
shadowMapCfg.end()
Definition ShadowMapUbo.hpp:26