#include <GteOverlayEffect.h>
Classes | |
| struct | Vertex |
Public Member Functions | |
| bool | Contains (int x, int y) const |
| std::shared_ptr< VisualEffect > const & | GetEffect () const |
| std::shared_ptr< IndexBuffer > const & | GetIndexBuffer () const |
| std::array< int, 4 > | GetOverlayRectangle () const |
| std::shared_ptr< VisualProgram > const & | GetProgram () const |
| std::array< int, 4 > | GetTextureRectangle () const |
| std::shared_ptr< VertexBuffer > const & | GetVertexBuffer () const |
| OverlayEffect (std::shared_ptr< ProgramFactory > const &factory, int windowWidth, int windowHeight, int textureWidth, int textureHeight, SamplerState::Filter filter, SamplerState::Mode mode0, SamplerState::Mode mode1, bool useColorPShader) | |
| OverlayEffect (std::shared_ptr< ProgramFactory > const &factory, int windowWidth, int windowHeight, int textureWidth, int textureHeight, std::string const &psSource) | |
| void | SetOverlayRectangle (std::array< int, 4 > const &rectangle) |
| void | SetRectangles (std::array< int, 4 > const &overlayRectangle, std::array< int, 4 > const &textureRectangle) |
| void | SetTexture (std::shared_ptr< Texture2 > const &texture) |
| void | SetTexture (std::string const &textureName, std::shared_ptr< Texture2 > const &texture) |
| void | SetTextureRectangle (std::array< int, 4 > const &rectangle) |
Protected Member Functions | |
| void | Initialize (int windowWidth, int windowHeight, int textureWidth, int textureHeight) |
| void | UpdateVertexBuffer () |
Protected Attributes | |
| std::shared_ptr< VisualEffect > | mEffect |
| int | mFactoryAPI |
| std::shared_ptr< IndexBuffer > | mIBuffer |
| float | mInvTextureHeight |
| float | mInvTextureWidth |
| std::array< int, 4 > | mOverlayRectangle |
| std::shared_ptr< VisualProgram > | mProgram |
| std::array< int, 4 > | mTextureRectangle |
| std::shared_ptr< VertexBuffer > | mVBuffer |
| float | mWindowHeight |
| float | mWindowWidth |
Static Protected Attributes | |
| static std::string const | msGLSLPSColorSource |
| static std::string const | msGLSLPSGraySource |
| static std::string const | msGLSLVSSource |
| static std::string const | msHLSLPSColorSource |
| static std::string const | msHLSLPSGraySource |
| static std::string const | msHLSLVSSource |
| static std::string const * | msPSColorSource [ProgramFactory::PF_NUM_API] |
| static std::string const * | msPSGraySource [ProgramFactory::PF_NUM_API] |
| static std::string const * | msVSSource [ProgramFactory::PF_NUM_API] |
Definition at line 21 of file GteOverlayEffect.h.
| OverlayEffect::OverlayEffect | ( | std::shared_ptr< ProgramFactory > const & | factory, |
| int | windowWidth, | ||
| int | windowHeight, | ||
| int | textureWidth, | ||
| int | textureHeight, | ||
| SamplerState::Filter | filter, | ||
| SamplerState::Mode | mode0, | ||
| SamplerState::Mode | mode1, | ||
| bool | useColorPShader | ||
| ) |
Definition at line 13 of file GteOverlayEffect.cpp.
| OverlayEffect::OverlayEffect | ( | std::shared_ptr< ProgramFactory > const & | factory, |
| int | windowWidth, | ||
| int | windowHeight, | ||
| int | textureWidth, | ||
| int | textureHeight, | ||
| std::string const & | psSource | ||
| ) |
Definition at line 40 of file GteOverlayEffect.cpp.
Definition at line 71 of file GteOverlayEffect.cpp.
|
inline |
Definition at line 152 of file GteOverlayEffect.h.
|
inline |
Definition at line 146 of file GteOverlayEffect.h.
|
inline |
Definition at line 123 of file GteOverlayEffect.h.
|
inline |
Definition at line 134 of file GteOverlayEffect.h.
|
inline |
Definition at line 128 of file GteOverlayEffect.h.
|
inline |
Definition at line 140 of file GteOverlayEffect.h.
|
protected |
Definition at line 100 of file GteOverlayEffect.cpp.
|
inline |
Definition at line 116 of file GteOverlayEffect.h.
| void OverlayEffect::SetRectangles | ( | std::array< int, 4 > const & | overlayRectangle, |
| std::array< int, 4 > const & | textureRectangle | ||
| ) |
Definition at line 63 of file GteOverlayEffect.cpp.
Definition at line 79 of file GteOverlayEffect.cpp.
| void OverlayEffect::SetTexture | ( | std::string const & | textureName, |
| std::shared_ptr< Texture2 > const & | texture | ||
| ) |
Definition at line 91 of file GteOverlayEffect.cpp.
| void OverlayEffect::SetTextureRectangle | ( | std::array< int, 4 > const & | rectangle | ) |
Definition at line 57 of file GteOverlayEffect.cpp.
|
protected |
Definition at line 144 of file GteOverlayEffect.cpp.
|
protected |
Definition at line 101 of file GteOverlayEffect.h.
|
protected |
Definition at line 95 of file GteOverlayEffect.h.
|
protected |
Definition at line 99 of file GteOverlayEffect.h.
|
protected |
Definition at line 94 of file GteOverlayEffect.h.
|
protected |
Definition at line 94 of file GteOverlayEffect.h.
|
protected |
Definition at line 96 of file GteOverlayEffect.h.
|
protected |
Definition at line 100 of file GteOverlayEffect.h.
|
staticprotected |
Definition at line 105 of file GteOverlayEffect.h.
|
staticprotected |
Definition at line 106 of file GteOverlayEffect.h.
|
staticprotected |
Definition at line 104 of file GteOverlayEffect.h.
|
staticprotected |
Definition at line 108 of file GteOverlayEffect.h.
|
staticprotected |
Definition at line 109 of file GteOverlayEffect.h.
|
staticprotected |
Definition at line 107 of file GteOverlayEffect.h.
|
staticprotected |
Definition at line 111 of file GteOverlayEffect.h.
|
staticprotected |
Definition at line 112 of file GteOverlayEffect.h.
|
staticprotected |
Definition at line 110 of file GteOverlayEffect.h.
|
protected |
Definition at line 97 of file GteOverlayEffect.h.
|
protected |
Definition at line 98 of file GteOverlayEffect.h.
|
protected |
Definition at line 93 of file GteOverlayEffect.h.
|
protected |
Definition at line 93 of file GteOverlayEffect.h.