Classes | Public Member Functions | Static Private Attributes | List of all members
gte::PointLightEffect Class Reference

#include <GtePointLightEffect.h>

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

Classes

struct  InternalGeometry
 
struct  InternalLighting
 
struct  InternalMaterial
 

Public Member Functions

 PointLightEffect (std::shared_ptr< ProgramFactory > const &factory, BufferUpdater const &updater, int select, std::shared_ptr< Material > const &material, std::shared_ptr< Lighting > const &lighting, std::shared_ptr< LightCameraGeometry > const &geometry)
 
virtual void UpdateGeometryConstant ()
 
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)
 
- 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 [2]
 
static std::string const msGLSLVSSource [2]
 
static std::string const msHLSLSource [2]
 
static std::string const * msPSSource [2][ProgramFactory::PF_NUM_API]
 
static std::string const * msVSSource [2][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< 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 15 of file GtePointLightEffect.h.

Constructor & Destructor Documentation

PointLightEffect::PointLightEffect ( std::shared_ptr< ProgramFactory > const &  factory,
BufferUpdater const &  updater,
int  select,
std::shared_ptr< Material > const &  material,
std::shared_ptr< Lighting > const &  lighting,
std::shared_ptr< LightCameraGeometry > const &  geometry 
)

Definition at line 12 of file GtePointLightEffect.cpp.

Member Function Documentation

void PointLightEffect::UpdateGeometryConstant ( )
virtual

Reimplemented from gte::LightingEffect.

Definition at line 62 of file GtePointLightEffect.cpp.

void PointLightEffect::UpdateLightingConstant ( )
virtual

Reimplemented from gte::LightingEffect.

Definition at line 52 of file GtePointLightEffect.cpp.

void PointLightEffect::UpdateMaterialConstant ( )
virtual

Reimplemented from gte::LightingEffect.

Definition at line 42 of file GtePointLightEffect.cpp.

Member Data Documentation

std::string const PointLightEffect::msGLSLPSSource
staticprivate

Definition at line 54 of file GtePointLightEffect.h.

std::string const PointLightEffect::msGLSLVSSource
staticprivate

Definition at line 53 of file GtePointLightEffect.h.

std::string const PointLightEffect::msHLSLSource
staticprivate

Definition at line 55 of file GtePointLightEffect.h.

std::string const * PointLightEffect::msPSSource
staticprivate
Initial value:
=
{
{
},
{
&msHLSLSource[1]
}
}

Definition at line 57 of file GtePointLightEffect.h.

std::string const * PointLightEffect::msVSSource
staticprivate
Initial value:
=
{
{
},
{
&msHLSLSource[1]
}
}

Definition at line 56 of file GtePointLightEffect.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