_nl.engine  alpha 0.9
Nameless Engine C++ Opengl 3D Game Engine / Framework
_NL::Object::LightObject Class Reference

#include <LightObject.h>

Inheritance diagram for _NL::Object::LightObject:
_NL::Core::Object

Public Member Functions

 LightObject ()
 
 LightObject (char *name)
 
void GenerateFramebuffer (GLuint Shadow_Width, GLuint Shadow_Height)
 
char * getTypeName () override
 Every Sub Class must Overload this method. More...
 
- Public Member Functions inherited from _NL::Core::Object
 Object ()
 Default Empty Constructor. More...
 
virtual ~Object ()
 Default Destructor. More...
 
template<class ComponentType >
ComponentType * addComponent (ComponentType *C)
 
template<typename ComponentType >
ComponentType * getComponent ()
 

Public Attributes

_NL::Core::LightProperties LightProperties
 
GLuint ShadowMap
 
GLuint Framebuffer
 
bool bCastsShadows = true
 
- Public Attributes inherited from _NL::Core::Object
char * name
 Object Name. More...
 
ObjectParent = 0
 Reference of Parent Object for this object. More...
 
bool bactive = true
 
std::vector< _NL::Core::Component * > Components
 

Constructor & Destructor Documentation

◆ LightObject() [1/2]

_NL::Object::LightObject::LightObject ( )

◆ LightObject() [2/2]

_NL::Object::LightObject::LightObject ( char *  name)

Member Function Documentation

◆ GenerateFramebuffer()

void _NL::Object::LightObject::GenerateFramebuffer ( GLuint  Shadow_Width,
GLuint  Shadow_Height 
)

◆ getTypeName()

char * _NL::Object::LightObject::getTypeName ( )
overridevirtual

Every Sub Class must Overload this method.

e.g : " return "_NL::UI::subgetTypeName" "

Implements _NL::Core::Object.

Member Data Documentation

◆ bCastsShadows

bool _NL::Object::LightObject::bCastsShadows = true

◆ Framebuffer

GLuint _NL::Object::LightObject::Framebuffer

◆ LightProperties

_NL::Core::LightProperties _NL::Object::LightObject::LightProperties

◆ ShadowMap

GLuint _NL::Object::LightObject::ShadowMap

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