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

Classes

struct  castor3d::shader::CameraData
 
class  castor3d::CameraUbo
 

Namespaces

namespace  castor3d
 
namespace  castor3d::shader
 

Macros

#define C3D_CameraEx(writer, binding, set, enabled)
 
#define C3D_Camera(writer, binding, set)    C3D_CameraEx( writer, binding, set, true )
 

Macro Definition Documentation

◆ C3D_Camera

#define C3D_Camera ( writer,
binding,
set )    C3D_CameraEx( writer, binding, set, true )

◆ C3D_CameraEx

#define C3D_CameraEx ( writer,
binding,
set,
enabled )
Value:
sdw::UniformBuffer camera{ writer\
, "C3D_Camera"\
, "c3d_camera"\
, uint32_t( binding )\
, uint32_t( set )\
, sdw::type::MemoryLayout::eStd140\
, enabled };\
auto c3d_cameraData = camera.declMember< castor3d::shader::CameraData >( "c", enabled );\
camera.end()
Definition CameraUbo.hpp:43