Pioneer
Public Member Functions | Public Attributes | Protected Attributes | Friends | List of all members
Graphics::Material Class Referenceabstract

#include <Material.h>

Inheritance diagram for Graphics::Material:
Inheritance graph
[legend]
Collaboration diagram for Graphics::Material:
Collaboration graph
[legend]

Public Member Functions

 Material ()
 
virtual ~Material ()
 
virtual void Apply ()
 
virtual void Unapply ()
 
virtual bool IsProgramLoaded () const =0
 
virtual void SetCommonUniforms (const matrix4x4f &mv, const matrix4x4f &proj)=0
 
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 ()
 

Public Attributes

Texturetexture0
 
Texturetexture1
 
Texturetexture2
 
Texturetexture3
 
Texturetexture4
 
Texturetexture5
 
Texturetexture6
 
TextureheatGradient
 
Color diffuse
 
Color specular
 
Color emissive
 
int shininess
 
void * specialParameter0
 

Protected Attributes

MaterialDescriptor m_descriptor
 

Friends

class RendererOGL
 

Constructor & Destructor Documentation

◆ Material()

Graphics::Material::Material ( )

◆ ~Material()

virtual Graphics::Material::~Material ( )
inlinevirtual

Member Function Documentation

◆ Apply()

virtual void Graphics::Material::Apply ( )
inlinevirtual

◆ GetDescriptor()

const MaterialDescriptor& Graphics::Material::GetDescriptor ( ) const
inline

◆ IsProgramLoaded()

virtual bool Graphics::Material::IsProgramLoaded ( ) const
pure virtual

◆ SetCommonUniforms()

virtual void Graphics::Material::SetCommonUniforms ( const matrix4x4f mv,
const matrix4x4f proj 
)
pure virtual

◆ Unapply()

virtual void Graphics::Material::Unapply ( )
inlinevirtual

Friends And Related Function Documentation

◆ RendererOGL

friend class RendererOGL
friend

Member Data Documentation

◆ diffuse

Color Graphics::Material::diffuse

◆ emissive

Color Graphics::Material::emissive

◆ heatGradient

Texture* Graphics::Material::heatGradient

◆ m_descriptor

MaterialDescriptor Graphics::Material::m_descriptor
protected

◆ shininess

int Graphics::Material::shininess

◆ specialParameter0

void* Graphics::Material::specialParameter0

◆ specular

Color Graphics::Material::specular

◆ texture0

Texture* Graphics::Material::texture0

◆ texture1

Texture* Graphics::Material::texture1

◆ texture2

Texture* Graphics::Material::texture2

◆ texture3

Texture* Graphics::Material::texture3

◆ texture4

Texture* Graphics::Material::texture4

◆ texture5

Texture* Graphics::Material::texture5

◆ texture6

Texture* Graphics::Material::texture6

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