Castor3D 0.15.0
Multiplatform 3D engine
Classes | Espaces de nommage | Macros
Référence du fichier CameraUbo.hpp

Classes

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

Espaces de nommage

namespace  castor3d
 
namespace  castor3d::shader
 

Macros

#define C3D_Camera(writer, binding, set)
 

Documentation des macros

◆ C3D_Camera

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