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

Classes

struct  castor3d::shader::SceneData
 
class  castor3d::SceneUbo
 

Namespaces

namespace  castor3d
 
namespace  castor3d::shader
 

Macros

#define C3D_Scene(writer, binding, set)
 

Macro Definition Documentation

◆ C3D_Scene

#define C3D_Scene ( writer,
binding,
set )
Value:
sdw::UniformBuffer sceneBuffer{ writer\
, "C3D_Scene"\
, "c3d_scene"\
, uint32_t( binding )\
, uint32_t( set )\
, ast::type::MemoryLayout::eStd140\
, true };\
auto c3d_sceneData = sceneBuffer.declMember< castor3d::shader::SceneData >( "d" );\
sceneBuffer.end()
Definition SceneUbo.hpp:26