Keos::CD3D9Shader Class Reference

Specialization Direct3D9 of Cg shaders. More...

#include <KeosD3D9Shader.h>

Inheritance diagram for Keos::CD3D9Shader:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 CD3D9Shader (CGprogram Program, TShaderType Type)
 Construct the shader from a program Cg.
CGprogram GetProgram () const
 Get the Cg Program.

Detailed Description

Specialization Direct3D9 of Cg shaders.

Definition at line 33 of file KeosD3D9Shader.h.


Constructor & Destructor Documentation

Keos::CD3D9Shader::CD3D9Shader ( CGprogram  Program,
TShaderType  Type 
)

Construct the shader from a program Cg.

Parameters:
Program Cg program.
Type Shader type.

Definition at line 32 of file KeosD3D9Shader.cpp.

References Keos::IShaderBase::m_Program.


Member Function Documentation

CGprogram Keos::CD3D9Shader::GetProgram (  )  const

Get the Cg Program.

Returns:
The Cg program.

Definition at line 51 of file KeosD3D9Shader.cpp.

References Keos::IShaderBase::m_Program.

Referenced by Keos::CD3D9RenderSystem::SetPixelShader(), and Keos::CD3D9RenderSystem::SetVertexShader().


The documentation for this class was generated from the following files:
Generated on Fri Mar 9 14:29:31 2007 for Keos by  doxygen 1.5.1-p1