Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
gte::LightingEffect Class Reference

#include <GteLightingEffect.h>

Inheritance diagram for gte::LightingEffect:
Inheritance graph
[legend]

Public Member Functions

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 ()
 
virtual void UpdateLightingConstant ()
 
virtual void UpdateMaterialConstant ()
 
- 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 ()
 

Protected Member Functions

 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

static std::string GetShaderSourceLitFunctionGLSL ()
 

Protected Attributes

std::shared_ptr< LightCameraGeometrymGeometry
 
std::shared_ptr< ConstantBuffermGeometryConstant
 
std::shared_ptr< LightingmLighting
 
std::shared_ptr< ConstantBuffermLightingConstant
 
std::shared_ptr< MaterialmMaterial
 
std::shared_ptr< ConstantBuffermMaterialConstant
 
std::shared_ptr< ConstantBuffermPVWMatrixConstant
 
- Protected Attributes inherited from gte::VisualEffect
BufferUpdater mBufferUpdater
 
std::shared_ptr< VisualProgrammProgram
 
TextureArrayUpdater mTextureArrayUpdater
 
TextureUpdater mTextureUpdater
 

Detailed Description

Definition at line 18 of file GteLightingEffect.h.

Constructor & Destructor Documentation

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

Definition at line 13 of file GteLightingEffect.cpp.

Member Function Documentation

std::shared_ptr< LightCameraGeometry > const & gte::LightingEffect::GetGeometry ( ) const
inline

Definition at line 101 of file GteLightingEffect.h.

std::shared_ptr< ConstantBuffer > const & gte::LightingEffect::GetGeometryConstant ( ) const
inline

Definition at line 121 of file GteLightingEffect.h.

std::shared_ptr< Lighting > const & gte::LightingEffect::GetLighting ( ) const
inline

Definition at line 96 of file GteLightingEffect.h.

std::shared_ptr< ConstantBuffer > const & gte::LightingEffect::GetLightingConstant ( ) const
inline

Definition at line 116 of file GteLightingEffect.h.

std::shared_ptr< Material > const & gte::LightingEffect::GetMaterial ( ) const
inline

Definition at line 91 of file GteLightingEffect.h.

std::shared_ptr< ConstantBuffer > const & gte::LightingEffect::GetMaterialConstant ( ) const
inline

Definition at line 111 of file GteLightingEffect.h.

std::shared_ptr< ConstantBuffer > const & gte::LightingEffect::GetPVWMatrixConstant ( ) const
inline

Definition at line 106 of file GteLightingEffect.h.

std::string LightingEffect::GetShaderSourceLitFunctionGLSL ( )
staticprotected

Definition at line 62 of file GteLightingEffect.cpp.

void gte::LightingEffect::SetGeometry ( std::shared_ptr< LightCameraGeometry > const &  geometry)
inline

Definition at line 86 of file GteLightingEffect.h.

void gte::LightingEffect::SetLighting ( std::shared_ptr< Lighting > const &  lighting)
inline

Definition at line 81 of file GteLightingEffect.h.

void gte::LightingEffect::SetMaterial ( std::shared_ptr< Material > const &  material)
inline

Definition at line 76 of file GteLightingEffect.h.

void LightingEffect::SetPVWMatrixConstant ( std::shared_ptr< ConstantBuffer > const &  pvwMatrix)

Definition at line 32 of file GteLightingEffect.cpp.

void LightingEffect::UpdateGeometryConstant ( )
virtual
void LightingEffect::UpdateLightingConstant ( )
virtual
void LightingEffect::UpdateMaterialConstant ( )
virtual

Member Data Documentation

std::shared_ptr<LightCameraGeometry> gte::LightingEffect::mGeometry
protected

Definition at line 59 of file GteLightingEffect.h.

std::shared_ptr<ConstantBuffer> gte::LightingEffect::mGeometryConstant
protected

Definition at line 67 of file GteLightingEffect.h.

std::shared_ptr<Lighting> gte::LightingEffect::mLighting
protected

Definition at line 58 of file GteLightingEffect.h.

std::shared_ptr<ConstantBuffer> gte::LightingEffect::mLightingConstant
protected

Definition at line 66 of file GteLightingEffect.h.

std::shared_ptr<Material> gte::LightingEffect::mMaterial
protected

Definition at line 57 of file GteLightingEffect.h.

std::shared_ptr<ConstantBuffer> gte::LightingEffect::mMaterialConstant
protected

Definition at line 65 of file GteLightingEffect.h.

std::shared_ptr<ConstantBuffer> gte::LightingEffect::mPVWMatrixConstant
protected

Definition at line 61 of file GteLightingEffect.h.


The documentation for this class was generated from the following files:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06