#include <GtePlanarReflectionEffect.h>
Public Member Functions | |
virtual void | Draw (std::shared_ptr< GraphicsEngine > const &engine, VisibleSet const &visibleSet, PVWUpdater &pvwMatrices) |
int | GetNumPlanes () const |
std::pair< Vector4< float >, Vector4< float > > | GetPlane (int i) const |
std::shared_ptr< Visual > | GetPlaneVisual (int i) const |
float | GetReflectance (int i) const |
PlanarReflectionEffect (std::vector< std::shared_ptr< Visual >> const &planes, std::vector< float > const &reflectances) | |
void | SetReflectance (int i, float reflectance) |
Protected Attributes | |
std::shared_ptr< RasterizerState > | mCullReverse |
std::shared_ptr< DepthStencilState > | mDSPass0 |
std::shared_ptr< DepthStencilState > | mDSPass1 |
std::shared_ptr< DepthStencilState > | mDSPass2 |
std::shared_ptr< BlendState > | mNoColorWrites |
std::vector< Vector4< float > > | mPlaneNormals |
std::vector< Vector4< float > > | mPlaneOrigins |
std::vector< std::shared_ptr< Visual > > | mPlanes |
std::shared_ptr< BlendState > | mReflectanceBlend |
std::vector< float > | mReflectances |
Definition at line 18 of file GtePlanarReflectionEffect.h.
PlanarReflectionEffect::PlanarReflectionEffect | ( | std::vector< std::shared_ptr< Visual >> const & | planes, |
std::vector< float > const & | reflectances | ||
) |
Definition at line 13 of file GtePlanarReflectionEffect.cpp.
|
virtual |
Definition at line 141 of file GtePlanarReflectionEffect.cpp.
|
inline |
Definition at line 46 of file GtePlanarReflectionEffect.h.
Definition at line 268 of file GtePlanarReflectionEffect.cpp.
Definition at line 280 of file GtePlanarReflectionEffect.cpp.
float PlanarReflectionEffect::GetReflectance | ( | int | i | ) | const |
Definition at line 300 of file GtePlanarReflectionEffect.cpp.
Definition at line 292 of file GtePlanarReflectionEffect.cpp.
|
protected |
Definition at line 41 of file GtePlanarReflectionEffect.h.
|
protected |
Definition at line 42 of file GtePlanarReflectionEffect.h.
|
protected |
Definition at line 42 of file GtePlanarReflectionEffect.h.
|
protected |
Definition at line 42 of file GtePlanarReflectionEffect.h.
|
protected |
Definition at line 40 of file GtePlanarReflectionEffect.h.
|
protected |
Definition at line 39 of file GtePlanarReflectionEffect.h.
|
protected |
Definition at line 39 of file GtePlanarReflectionEffect.h.
|
protected |
Definition at line 37 of file GtePlanarReflectionEffect.h.
|
protected |
Definition at line 40 of file GtePlanarReflectionEffect.h.
|
protected |
Definition at line 38 of file GtePlanarReflectionEffect.h.