Public Member Functions | Public Attributes

xl7::direct3d::shader::PixelShader Class Reference

#include <PixelShader.h>

Inheritance diagram for xl7::direct3d::shader::PixelShader:
xl7::direct3d::shader::Shader xl7::direct3d::Resource xl7::directx::Resource

List of all members.

Public Member Functions

IDirect3DPixelShader9 * GetInterface ()
const IDirect3DPixelShader9 * GetInterface () const
const CompiledShaderCodeGetShaderCode () const
bool Begin ()
bool End ()
bool FlushConstants ()

Public Attributes

friend ShaderManager

Detailed Description

The (base) class for pixel shader programs (pixel shaders).


Member Function Documentation

bool xl7::direct3d::shader::PixelShader::Begin (  )  [virtual]

Begins the shader by setting the registered constants and itself to the render device.

Implements xl7::direct3d::shader::Shader.

bool xl7::direct3d::shader::PixelShader::End (  )  [virtual]

Ends the shader by deleting all the registered constants.

Implements xl7::direct3d::shader::Shader.

bool xl7::direct3d::shader::PixelShader::FlushConstants (  )  [virtual]

Flushes the shader constants by pushing them to the render device. (The shader must be the active one.)

Implements xl7::direct3d::shader::Shader.

const IDirect3DPixelShader9* xl7::direct3d::shader::PixelShader::GetInterface (  )  const [inline]

Returns the Direct3D pixel shader interface.

IDirect3DPixelShader9* xl7::direct3d::shader::PixelShader::GetInterface (  )  [inline]

Returns the Direct3D pixel shader interface.

const CompiledShaderCode& xl7::direct3d::shader::PixelShader::GetShaderCode (  )  const [inline]

Returns the compiled pixel shader code.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines