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

Classes

class  castor3d::SceneUbo
 

Espaces de nommage

 castor3d
 

Macros

#define UBO_SCENE(writer, binding, set)
 

Documentation des macros

◆ UBO_SCENE

#define UBO_SCENE (   writer,
  binding,
  set 
)
Valeur :
sdw::Ubo scene{ writer\
, binding\
, set };\
auto c3d_ambientLight = scene.declMember< sdw::Vec4 >( castor3d::SceneUbo::AmbientLight );\
auto c3d_backgroundColour = scene.declMember< sdw::Vec4 >( castor3d::SceneUbo::BackgroundColour );\
auto c3d_lightsCount = scene.declMember< sdw::Vec4 >( castor3d::SceneUbo::LightsCount );\
auto c3d_cameraPosition = scene.declMember< sdw::Vec4 >( castor3d::SceneUbo::CameraPos );\
auto c3d_clipInfo = scene.declMember< sdw::Vec4 >( castor3d::SceneUbo::ClipInfo );\
auto c3d_fogInfo = scene.declMember< sdw::Vec4 >( castor3d::SceneUbo::FogInfo );\
scene.end()
static C3D_API castor::String const BufferScene
Definition: SceneUbo.hpp:133
static C3D_API castor::String const FogInfo
Definition: SceneUbo.hpp:151
static C3D_API castor::String const BackgroundColour
Definition: SceneUbo.hpp:139
static C3D_API castor::String const LightsCount
Definition: SceneUbo.hpp:142
static C3D_API castor::String const ClipInfo
Definition: SceneUbo.hpp:148
static C3D_API castor::String const AmbientLight
Definition: SceneUbo.hpp:136
static C3D_API castor::String const CameraPos
Definition: SceneUbo.hpp:145