#include <GteAmbientLightEffect.h>
Classes | |
struct | InternalLighting |
struct | InternalMaterial |
Public Member Functions | |
AmbientLightEffect (std::shared_ptr< ProgramFactory > const &factory, BufferUpdater const &updater, std::shared_ptr< Material > const &material, std::shared_ptr< Lighting > const &lighting) | |
virtual void | UpdateLightingConstant () |
virtual void | UpdateMaterialConstant () |
Public Member Functions inherited from gte::LightingEffect | |
std::shared_ptr< LightCameraGeometry > const & | GetGeometry () const |
std::shared_ptr< ConstantBuffer > const & | GetGeometryConstant () const |
std::shared_ptr< Lighting > const & | GetLighting () const |
std::shared_ptr< ConstantBuffer > const & | GetLightingConstant () const |
std::shared_ptr< Material > const & | GetMaterial () const |
std::shared_ptr< ConstantBuffer > const & | GetMaterialConstant () const |
std::shared_ptr< ConstantBuffer > const & | GetPVWMatrixConstant () const |
void | SetGeometry (std::shared_ptr< LightCameraGeometry > const &geometry) |
void | SetLighting (std::shared_ptr< Lighting > const &lighting) |
void | SetMaterial (std::shared_ptr< Material > const &material) |
void | SetPVWMatrixConstant (std::shared_ptr< ConstantBuffer > const &pvwMatrix) |
virtual void | UpdateGeometryConstant () |
Public Member Functions inherited from gte::VisualEffect | |
std::shared_ptr< GeometryShader > const & | GetGeometryShader () const |
std::shared_ptr< PixelShader > const & | GetPixelShader () const |
std::shared_ptr< VisualProgram > const & | GetProgram () const |
std::shared_ptr< VertexShader > const & | GetVertexShader () const |
VisualEffect (std::shared_ptr< VisualProgram > const &program) | |
virtual | ~VisualEffect () |
Static Private Attributes | |
static std::string const | msGLSLPSSource |
static std::string const | msGLSLVSSource |
static std::string const | msHLSLSource |
static std::string const * | msPSSource [ProgramFactory::PF_NUM_API] |
static std::string const * | msVSSource [ProgramFactory::PF_NUM_API] |
Additional Inherited Members | |
Protected Member Functions inherited from gte::LightingEffect | |
LightingEffect (std::shared_ptr< ProgramFactory > const &factory, BufferUpdater const &updater, std::string const *vsSource[], std::string const *psSource[], std::shared_ptr< Material > const &material, std::shared_ptr< Lighting > const &lighting, std::shared_ptr< LightCameraGeometry > const &geometry) | |
Protected Member Functions inherited from gte::VisualEffect | |
VisualEffect () | |
Static Protected Member Functions inherited from gte::LightingEffect | |
static std::string | GetShaderSourceLitFunctionGLSL () |
Protected Attributes inherited from gte::LightingEffect | |
std::shared_ptr< LightCameraGeometry > | mGeometry |
std::shared_ptr< ConstantBuffer > | mGeometryConstant |
std::shared_ptr< Lighting > | mLighting |
std::shared_ptr< ConstantBuffer > | mLightingConstant |
std::shared_ptr< Material > | mMaterial |
std::shared_ptr< ConstantBuffer > | mMaterialConstant |
std::shared_ptr< ConstantBuffer > | mPVWMatrixConstant |
Protected Attributes inherited from gte::VisualEffect | |
BufferUpdater | mBufferUpdater |
std::shared_ptr< VisualProgram > | mProgram |
TextureArrayUpdater | mTextureArrayUpdater |
TextureUpdater | mTextureUpdater |
Definition at line 15 of file GteAmbientLightEffect.h.
AmbientLightEffect::AmbientLightEffect | ( | std::shared_ptr< ProgramFactory > const & | factory, |
BufferUpdater const & | updater, | ||
std::shared_ptr< Material > const & | material, | ||
std::shared_ptr< Lighting > const & | lighting | ||
) |
Definition at line 12 of file GteAmbientLightEffect.cpp.
|
virtual |
Reimplemented from gte::LightingEffect.
Definition at line 35 of file GteAmbientLightEffect.cpp.
|
virtual |
Reimplemented from gte::LightingEffect.
Definition at line 27 of file GteAmbientLightEffect.cpp.
|
staticprivate |
Definition at line 43 of file GteAmbientLightEffect.h.
|
staticprivate |
Definition at line 42 of file GteAmbientLightEffect.h.
|
staticprivate |
Definition at line 44 of file GteAmbientLightEffect.h.
|
staticprivate |
Definition at line 46 of file GteAmbientLightEffect.h.
|
staticprivate |
Definition at line 45 of file GteAmbientLightEffect.h.