Project

General

Profile

SO3Engine
SO3::SDeferredLightPoint Class Reference

#include <SO3DeferredLightPoint.h>

Inheritance diagram for SO3::SDeferredLightPoint:
SO3::SDeferredLightImpl

Public Member Functions

 SDeferredLightPoint (Ogre::Light *originalLight, SDeferredLightMaterialGenerator *typeLightMaterialGenerator)
 
 ~SDeferredLightPoint ()
 
virtual void RebuildGeometry ()
 
virtual void SetAttenuation ()
 
virtual Ogre::Real getBoundingRadius () const
 
virtual Ogre::Real getSquaredViewDepth (const Ogre::Camera *) const
 
virtual void getWorldTransforms (Ogre::Matrix4 *xform) const
 
virtual void CheckCullingMode (Ogre::Camera *camera, Ogre::Pass *pass)
 
- Public Member Functions inherited from SO3::SDeferredLightImpl
 ~SDeferredLightImpl ()
 
bool GetCastShadows () const
 
virtual const Ogre::MaterialPtr & getMaterial () const
 
bool GetDebugRendering ()
 
void SetDebugRendering (bool enableDebugRendering)
 

Additional Inherited Members

- Protected Member Functions inherited from SO3::SDeferredLightImpl
 SDeferredLightImpl (Ogre::Light *originalLight, std::string lightTypeName, SDeferredLightMaterialGenerator *typeLightMaterialGenerator)
 
- Protected Attributes inherited from SO3::SDeferredLightImpl
Ogre::Light * ogreParentLight
 The light that this SDeferredLight renders.
 
const std::string lightType
 

Detailed Description

Deferred point light geometry

Definition at line 36 of file SO3DeferredLightPoint.h.

Constructor & Destructor Documentation

◆ SDeferredLightPoint()

SO3::SDeferredLightPoint::SDeferredLightPoint ( Ogre::Light *  originalLight,
SDeferredLightMaterialGenerator typeLightMaterialGenerator 
)

Definition at line 30 of file SO3DeferredLightPoint.cpp.

◆ ~SDeferredLightPoint()

SO3::SDeferredLightPoint::~SDeferredLightPoint ( )

Definition at line 35 of file SO3DeferredLightPoint.cpp.

Member Function Documentation

◆ CheckCullingMode()

void SO3::SDeferredLightPoint::CheckCullingMode ( Ogre::Camera *  camera,
Ogre::Pass *  pass 
)
virtual

Implements SO3::SDeferredLightImpl.

Definition at line 120 of file SO3DeferredLightPoint.cpp.

◆ getBoundingRadius()

Ogre::Real SO3::SDeferredLightPoint::getBoundingRadius ( ) const
virtual

Implements SO3::SDeferredLightImpl.

Definition at line 104 of file SO3DeferredLightPoint.cpp.

◆ getSquaredViewDepth()

Ogre::Real SO3::SDeferredLightPoint::getSquaredViewDepth ( const Ogre::Camera *  cam) const
virtual

Implements SO3::SDeferredLightImpl.

Definition at line 109 of file SO3DeferredLightPoint.cpp.

◆ getWorldTransforms()

void SO3::SDeferredLightPoint::getWorldTransforms ( Ogre::Matrix4 *  xform) const
virtual

Implements SO3::SDeferredLightImpl.

Definition at line 115 of file SO3DeferredLightPoint.cpp.

◆ RebuildGeometry()

void SO3::SDeferredLightPoint::RebuildGeometry ( )
virtual

Implements SO3::SDeferredLightImpl.

Definition at line 84 of file SO3DeferredLightPoint.cpp.

◆ SetAttenuation()

void SO3::SDeferredLightPoint::SetAttenuation ( )
virtual

Set constant, linear, quadratic Attenuation terms

Implements SO3::SDeferredLightImpl.

Definition at line 39 of file SO3DeferredLightPoint.cpp.


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