VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::Dt2DEffect Class Referenceabstract

The 2D effect is an abstract interface for effects used to render in 2D. More...

Inheritance diagram for makVrv::Dt2DEffect:
Inheritance graph
[legend]

Public Member Functions

 Dt2DEffect (const std::string &dataPath)
 CTOR. More...
 
virtual ~Dt2DEffect ()
 Virtual DTOR. More...
 
virtual void setCamera (bool geocentric, float geocentricAlpha, const double position[3], const double positionMatrix[16], const double projectionMatrix[16])=0
 Set the camera parameters. More...
 
virtual void setGroupCount (unsigned int count)=0
 Set the number of groups. More...
 
- Public Member Functions inherited from makVrv::DtEffect
 DtEffect (const std::string &dataPath)
 CTOR. More...
 
virtual ~DtEffect ()
 DTORs. More...
 
void releaseResources ()
 Release and HW resources of the effect. More...
 
bool enabled () const
 Is the effect enabled. More...
 
bool enable ()
 
void disable ()
 

Additional Inherited Members

- Static Public Member Functions inherited from makVrv::DtEffect
static std::string loadShaderSource (const std::string &strFileName)
 
- Protected Member Functions inherited from makVrv::DtEffect
virtual void initializeShaderSource (void)=0
 Virtual abstract Interface. More...
 
virtual void updateUniformLocations ()=0
 
virtual void updateUniforms ()=0
 
bool compileShaders (void)
 Compile the shaders. More...
 
- Protected Attributes inherited from makVrv::DtEffect
std::string myName
 
bool myEnabledFlag
 
unsigned int myProgram
 
unsigned int myVertexShader
 
unsigned int myFragmentShader
 
std::string myVertexShaderSource
 
std::string myVertexShaderName
 
std::string myFragmentShaderSource
 
std::string myFragmentShaderName
 
std::string myGeometryShaderSource
 
std::string myDataPath
 

Detailed Description

The 2D effect is an abstract interface for effects used to render in 2D.

Constructor & Destructor Documentation

makVrv::Dt2DEffect::Dt2DEffect ( const std::string &  dataPath)

CTOR.

virtual makVrv::Dt2DEffect::~Dt2DEffect ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual void makVrv::Dt2DEffect::setCamera ( bool  geocentric,
float  geocentricAlpha,
const double  position[3],
const double  positionMatrix[16],
const double  projectionMatrix[16] 
)
pure virtual
virtual void makVrv::Dt2DEffect::setGroupCount ( unsigned int  count)
pure virtual

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)