Pioneer
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Graphics::OGL::GeoSphereSurfaceMaterial Class Reference

#include <GeoSphereMaterial.h>

Inheritance diagram for Graphics::OGL::GeoSphereSurfaceMaterial:
Inheritance graph
[legend]
Collaboration diagram for Graphics::OGL::GeoSphereSurfaceMaterial:
Collaboration graph
[legend]

Public Member Functions

 GeoSphereSurfaceMaterial ()
 
virtual ProgramCreateProgram (const MaterialDescriptor &) override
 
virtual void SetProgram (Program *p) override
 
virtual void Apply () override
 
virtual void Unapply () override
 
- Public Member Functions inherited from Graphics::OGL::Material
 Material ()
 
virtual bool IsProgramLoaded () const override final
 
virtual void SetCommonUniforms (const matrix4x4f &mv, const matrix4x4f &proj) override
 
- Public Member Functions inherited from Graphics::Material
 Material ()
 
virtual ~Material ()
 
const MaterialDescriptorGetDescriptor () const
 
- Public Member Functions inherited from RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
void IncRefCount () const
 
void DecRefCount () const
 
int GetRefCount () const
 
- Public Member Functions inherited from LuaWrappable
virtual ~LuaWrappable ()
 

Protected Member Functions

void SetGSUniforms ()
 
void SwitchShadowVariant ()
 

Protected Attributes

Programm_programs [4]
 
Uint32 m_curNumShadows
 
- Protected Attributes inherited from Graphics::OGL::Material
Programm_program
 
RendererOGLm_renderer
 
- Protected Attributes inherited from Graphics::Material
MaterialDescriptor m_descriptor
 

Additional Inherited Members

- Public Attributes inherited from Graphics::Material
Texturetexture0
 
Texturetexture1
 
Texturetexture2
 
Texturetexture3
 
Texturetexture4
 
Texturetexture5
 
Texturetexture6
 
TextureheatGradient
 
Color diffuse
 
Color specular
 
Color emissive
 
int shininess
 
void * specialParameter0
 

Constructor & Destructor Documentation

◆ GeoSphereSurfaceMaterial()

Graphics::OGL::GeoSphereSurfaceMaterial::GeoSphereSurfaceMaterial ( )

Member Function Documentation

◆ Apply()

void Graphics::OGL::GeoSphereSurfaceMaterial::Apply ( )
overridevirtual

Reimplemented from Graphics::OGL::Material.

Reimplemented in Graphics::OGL::GeoSphereSkyMaterial.

Here is the call graph for this function:

◆ CreateProgram()

Program * Graphics::OGL::GeoSphereSurfaceMaterial::CreateProgram ( const MaterialDescriptor desc)
overridevirtual

Implements Graphics::OGL::Material.

Reimplemented in Graphics::OGL::GeoSphereSkyMaterial.

Here is the call graph for this function:

◆ SetGSUniforms()

void Graphics::OGL::GeoSphereSurfaceMaterial::SetGSUniforms ( )
protected
Here is the call graph for this function:

◆ SetProgram()

void Graphics::OGL::GeoSphereSurfaceMaterial::SetProgram ( Program p)
overridevirtual

Reimplemented from Graphics::OGL::Material.

◆ SwitchShadowVariant()

void Graphics::OGL::GeoSphereSurfaceMaterial::SwitchShadowVariant ( )
protected
Here is the call graph for this function:

◆ Unapply()

void Graphics::OGL::GeoSphereSurfaceMaterial::Unapply ( )
overridevirtual

Reimplemented from Graphics::OGL::Material.

Member Data Documentation

◆ m_curNumShadows

Uint32 Graphics::OGL::GeoSphereSurfaceMaterial::m_curNumShadows
protected

◆ m_programs

Program* Graphics::OGL::GeoSphereSurfaceMaterial::m_programs[4]
protected

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