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 Program * CreateProgram (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 MaterialDescriptor & GetDescriptor () 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

Program * m_programs [4]
 
Uint32 m_curNumShadows
 
- Protected Attributes inherited from Graphics::OGL::Material
Program * m_program
 
RendererOGL * m_renderer
 
- Protected Attributes inherited from Graphics::Material
MaterialDescriptor m_descriptor
 

Additional Inherited Members

- Public Attributes inherited from Graphics::Material
Texture * texture0
 
Texture * texture1
 
Texture * texture2
 
Texture * texture3
 
Texture * texture4
 
Texture * texture5
 
Texture * texture6
 
Texture * heatGradient
 
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: