Project

General

Profile

SO3Engine
SO3::SDeferredLightDirectional Class Reference

#include <SO3DeferredLightDirectional.h>

Inheritance diagram for SO3::SDeferredLightDirectional:
SO3::SDeferredLightImpl

Public Member Functions

 SDeferredLightDirectional (Ogre::Light *originalLight, SDeferredLightMaterialGenerator *typeLightMaterialGenerator)
 
 ~SDeferredLightDirectional ()
 
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 directional light geometry

Definition at line 36 of file SO3DeferredLightDirectional.h.

Constructor & Destructor Documentation

◆ SDeferredLightDirectional()

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

Definition at line 30 of file SO3DeferredLightDirectional.cpp.

◆ ~SDeferredLightDirectional()

SO3::SDeferredLightDirectional::~SDeferredLightDirectional ( )

Definition at line 34 of file SO3DeferredLightDirectional.cpp.

Member Function Documentation

◆ CheckCullingMode()

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

Implements SO3::SDeferredLightImpl.

Definition at line 80 of file SO3DeferredLightDirectional.cpp.

◆ getBoundingRadius()

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

Implements SO3::SDeferredLightImpl.

Definition at line 63 of file SO3DeferredLightDirectional.cpp.

◆ getSquaredViewDepth()

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

Implements SO3::SDeferredLightImpl.

Definition at line 69 of file SO3DeferredLightDirectional.cpp.

◆ getWorldTransforms()

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

Implements SO3::SDeferredLightImpl.

Definition at line 74 of file SO3DeferredLightDirectional.cpp.

◆ RebuildGeometry()

void SO3::SDeferredLightDirectional::RebuildGeometry ( )
virtual

XXX this RenderOp should really be re-used between DLight objects, not generated every time

Implements SO3::SDeferredLightImpl.

Definition at line 43 of file SO3DeferredLightDirectional.cpp.

◆ SetAttenuation()

void SO3::SDeferredLightDirectional::SetAttenuation ( )
virtual

Set constant, linear, quadratic Attenuation terms

Implements SO3::SDeferredLightImpl.

Definition at line 38 of file SO3DeferredLightDirectional.cpp.


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