D3D9::FixedVertexShader Class Reference

Special "Fixed function" vertex shader. More...

#include <dx9_wrap_fixed.h>

Collaboration diagram for D3D9::FixedVertexShader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FixedVertexShader (Device &n_device)
 Construct instance of fixed function shader through which you will be able to change fixed-function vertex pipeline settings on the device.

void set_projection_transform (const math::matrix4 &matrix)
 Set "PROJECTION" transformation matrix used in legacy "fixed function vertex pipeline".

void set_view_transform (const math::matrix4 &matrix)
 Set "VIEW" transformation matrix used in legacy "fixed function vertex pipeline".

void set_world_transform (const math::matrix4 &matrix)
 Set "WORLD" transformation matrix used in legacy "fixed function vertex pipeline".

void set_texture_transform (int stage, const math::matrix4 &matrix)
 Set texture coordinates transform matrix used in legacy "fixed function vertex pipeline".

void set_material (const Material &material)
 Set material properties for fixed function vertex lighting calculations.

void set_light (int light_index, const Light &light)
 Set specified light properties for fixed function vertex lighting calculations.

void enable_light (int light_index, bool enable)
 Enable/disable specified fixed function vertex light source.

void select ()
 Select this vertex shader as active vertex shader on attached render device.


Detailed Description

Special "Fixed function" vertex shader.

Via this interface you set up fixed function vertex pipeline, things such as:


Constructor & Destructor Documentation

D3D9::FixedVertexShader::FixedVertexShader Device n_device  ) 
 

Construct instance of fixed function shader through which you will be able to change fixed-function vertex pipeline settings on the device.


Member Function Documentation

void D3D9::FixedVertexShader::set_projection_transform const math::matrix4 matrix  ) 
 

Set "PROJECTION" transformation matrix used in legacy "fixed function vertex pipeline".

void D3D9::FixedVertexShader::set_view_transform const math::matrix4 matrix  ) 
 

Set "VIEW" transformation matrix used in legacy "fixed function vertex pipeline".

void D3D9::FixedVertexShader::set_world_transform const math::matrix4 matrix  ) 
 

Set "WORLD" transformation matrix used in legacy "fixed function vertex pipeline".

void D3D9::FixedVertexShader::set_texture_transform int  stage,
const math::matrix4 matrix
 

Set texture coordinates transform matrix used in legacy "fixed function vertex pipeline".

void D3D9::FixedVertexShader::set_material const Material material  ) 
 

Set material properties for fixed function vertex lighting calculations.

void D3D9::FixedVertexShader::set_light int  light_index,
const Light light
 

Set specified light properties for fixed function vertex lighting calculations.

void D3D9::FixedVertexShader::enable_light int  light_index,
bool  enable
 

Enable/disable specified fixed function vertex light source.

void D3D9::FixedVertexShader::select  ) 
 

Select this vertex shader as active vertex shader on attached render device.

Calling this function selects fixed shader


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