SO3Engine
|
#include <SO3DeferredLightImpl.h>
Public Member Functions | |
~SDeferredLightImpl () | |
bool | GetCastShadows () const |
virtual void | SetAttenuation ()=0 |
virtual void | RebuildGeometry ()=0 |
virtual const Ogre::MaterialPtr & | getMaterial () const |
virtual Ogre::Real | getBoundingRadius () const =0 |
virtual Ogre::Real | getSquaredViewDepth (const Ogre::Camera *) const =0 |
virtual void | getWorldTransforms (Ogre::Matrix4 *xform) const =0 |
virtual void | CheckCullingMode (Ogre::Camera *camera, Ogre::Pass *pass)=0 |
bool | GetDebugRendering () |
void | SetDebugRendering (bool enableDebugRendering) |
Protected Member Functions | |
SDeferredLightImpl (Ogre::Light *originalLight, std::string lightTypeName, SDeferredLightMaterialGenerator *typeLightMaterialGenerator) | |
Protected Attributes | |
Ogre::Light * | ogreParentLight |
The light that this SDeferredLight renders. | |
const std::string | lightType |
Detailed Description
Abstract class defining how to implement a Deferred light (one derived class by light type).
Definition at line 38 of file SO3DeferredLightImpl.h.
Constructor & Destructor Documentation
◆ ~SDeferredLightImpl()
SO3::SDeferredLightImpl::~SDeferredLightImpl | ( | ) |
Destructor.
Definition at line 47 of file SO3DeferredLightImpl.cpp.
◆ SDeferredLightImpl()
|
protected |
To be used by derived classes only.
Definition at line 32 of file SO3DeferredLightImpl.cpp.
Member Function Documentation
◆ CheckCullingMode()
|
pure virtual |
Implemented in SO3::SDeferredLightDirectional, SO3::SDeferredLightPoint, and SO3::SDeferredLightSpot.
◆ getBoundingRadius()
|
pure virtual |
Implemented in SO3::SDeferredLightDirectional, SO3::SDeferredLightPoint, and SO3::SDeferredLightSpot.
◆ GetCastShadows()
bool SO3::SDeferredLightImpl::GetCastShadows | ( | ) | const |
Does this light cast shadows?
Definition at line 60 of file SO3DeferredLightImpl.cpp.
◆ GetDebugRendering()
bool SO3::SDeferredLightImpl::GetDebugRendering | ( | ) |
Return if the debug rendering is activated.
Definition at line 70 of file SO3DeferredLightImpl.cpp.
◆ getMaterial()
|
virtual |
Definition at line 80 of file SO3DeferredLightImpl.cpp.
◆ getSquaredViewDepth()
|
pure virtual |
Implemented in SO3::SDeferredLightDirectional, SO3::SDeferredLightPoint, and SO3::SDeferredLightSpot.
◆ getWorldTransforms()
|
pure virtual |
Implemented in SO3::SDeferredLightDirectional, SO3::SDeferredLightPoint, and SO3::SDeferredLightSpot.
◆ RebuildGeometry()
|
pure virtual |
Create geometry for this light.
Implemented in SO3::SDeferredLightDirectional, SO3::SDeferredLightPoint, and SO3::SDeferredLightSpot.
◆ SetAttenuation()
|
pure virtual |
Set constant, linear, quadratic Attenuation terms
Implemented in SO3::SDeferredLightDirectional, SO3::SDeferredLightPoint, and SO3::SDeferredLightSpot.
◆ SetDebugRendering()
void SO3::SDeferredLightImpl::SetDebugRendering | ( | bool | enableDebugRendering | ) |
Draw the area the light covers as a geometry, for debugging purpose.
Definition at line 75 of file SO3DeferredLightImpl.cpp.
Member Data Documentation
◆ lightType
|
protected |
Definition at line 43 of file SO3DeferredLightImpl.h.
◆ ogreParentLight
|
protected |
The light that this SDeferredLight renders.
Definition at line 42 of file SO3DeferredLightImpl.h.
The documentation for this class was generated from the following files:
- include/SO3Renderer/DeferredShading/SO3DeferredLightImpl.h
- src/SO3Renderer/DeferredShading/SO3DeferredLightImpl.cpp
Generated by 1.9.8