D3D9::FixedVertexShader::Material Struct Reference

This class represents set of legacy D3D "material" properties. More...

#include <dx9_wrap_fixed.h>

List of all members.

Public Member Functions

 Material ()
 Construct default legacy material.

void set_diffuse (math::scalar_t r, math::scalar_t g, math::scalar_t b, math::scalar_t a)
 Set diffuse color of legacy "material".

void set_specular (math::scalar_t r, math::scalar_t g, math::scalar_t b, math::scalar_t a)
 Set specular color of legacy "material".

void set_ambient (math::scalar_t r, math::scalar_t g, math::scalar_t b, math::scalar_t a)
 Set ambient color of legacy "material".

void set_emissive (math::scalar_t r, math::scalar_t g, math::scalar_t b, math::scalar_t a)
 Set emissive color of legacy "material".

void set_specular_power (math::scalar_t power)
 Set specular power of legacy "material".


Detailed Description

This class represents set of legacy D3D "material" properties.


Constructor & Destructor Documentation

D3D9::FixedVertexShader::Material::Material  )  [inline]
 

Construct default legacy material.

Initially it's white plastic:

  • diffuse=(1.0f,1.0f,1.0f, 0.0f)
  • ambient=specular=emissive=power=0 (black).


Member Function Documentation

void D3D9::FixedVertexShader::Material::set_diffuse math::scalar_t  r,
math::scalar_t  g,
math::scalar_t  b,
math::scalar_t  a
[inline]
 

Set diffuse color of legacy "material".

void D3D9::FixedVertexShader::Material::set_specular math::scalar_t  r,
math::scalar_t  g,
math::scalar_t  b,
math::scalar_t  a
[inline]
 

Set specular color of legacy "material".

void D3D9::FixedVertexShader::Material::set_ambient math::scalar_t  r,
math::scalar_t  g,
math::scalar_t  b,
math::scalar_t  a
[inline]
 

Set ambient color of legacy "material".

void D3D9::FixedVertexShader::Material::set_emissive math::scalar_t  r,
math::scalar_t  g,
math::scalar_t  b,
math::scalar_t  a
[inline]
 

Set emissive color of legacy "material".

void D3D9::FixedVertexShader::Material::set_specular_power math::scalar_t  power  )  [inline]
 

Set specular power of legacy "material".


The documentation for this struct was generated from the following file:
Generated on Sun May 1 17:34:30 2005 for RealityStrike Game Engine API by doxygen 1.3.6