Project

General

Profile

SO3Engine
SO3::SDeferredLightSpot Class Reference

#include <SO3DeferredLightSpot.h>

Inheritance diagram for SO3::SDeferredLightSpot:
SO3::SDeferredLightImpl

Public Member Functions

 SDeferredLightSpot (Ogre::Light *originalLight, SDeferredLightMaterialGenerator *typeLightMaterialGenerator)
 
 ~SDeferredLightSpot ()
 
void updateFromParent ()
 
virtual void SetAttenuation ()
 
virtual void RebuildGeometry ()
 
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 spot light geometry

Definition at line 36 of file SO3DeferredLightSpot.h.

Constructor & Destructor Documentation

◆ SDeferredLightSpot()

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

Definition at line 30 of file SO3DeferredLightSpot.cpp.

◆ ~SDeferredLightSpot()

SO3::SDeferredLightSpot::~SDeferredLightSpot ( )

Definition at line 34 of file SO3DeferredLightSpot.cpp.

Member Function Documentation

◆ CheckCullingMode()

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

Implements SO3::SDeferredLightImpl.

Definition at line 82 of file SO3DeferredLightSpot.cpp.

◆ getBoundingRadius()

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

Implements SO3::SDeferredLightImpl.

Definition at line 64 of file SO3DeferredLightSpot.cpp.

◆ getSquaredViewDepth()

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

Implements SO3::SDeferredLightImpl.

Definition at line 70 of file SO3DeferredLightSpot.cpp.

◆ getWorldTransforms()

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

Implements SO3::SDeferredLightImpl.

Definition at line 76 of file SO3DeferredLightSpot.cpp.

◆ RebuildGeometry()

void SO3::SDeferredLightSpot::RebuildGeometry ( )
virtual

Implements SO3::SDeferredLightImpl.

Definition at line 42 of file SO3DeferredLightSpot.cpp.

◆ SetAttenuation()

void SO3::SDeferredLightSpot::SetAttenuation ( )
virtual

Set constant, linear, quadratic Attenuation terms

Implements SO3::SDeferredLightImpl.

Definition at line 38 of file SO3DeferredLightSpot.cpp.

◆ updateFromParent()

void SO3::SDeferredLightSpot::updateFromParent ( )

Update the information from the light that matches this one


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