Public Member Functions

xl7::direct3d::shader::ShaderManager Class Reference

#include <ShaderManager.h>

Inheritance diagram for xl7::direct3d::shader::ShaderManager:
xl7::directx::ResourceManager

List of all members.

Public Member Functions

 ShaderManager (void)
 ~ShaderManager (void)
VertexShaderCreateVertexShader (const cl7::string_type &identifier, const CompiledShaderCode &shader_code)
PixelShaderCreatePixelShader (const cl7::string_type &identifier, const CompiledShaderCode &shader_code)
VertexDeclarationCreateVertexDeclaration (unsigned fvf)

Detailed Description

The class for managing shaders.


Constructor & Destructor Documentation

xl7::direct3d::shader::ShaderManager::ShaderManager ( void   ) 

Default constructor.

xl7::direct3d::shader::ShaderManager::~ShaderManager ( void   ) 

Destructor.


Member Function Documentation

PixelShader * xl7::direct3d::shader::ShaderManager::CreatePixelShader ( const cl7::string_type identifier,
const CompiledShaderCode shader_code 
)

Creates a new pixel shader from compiled shader code.

VertexDeclaration * xl7::direct3d::shader::ShaderManager::CreateVertexDeclaration ( unsigned  fvf  ) 

Creates a new vertex declaration from a flexible vertex format.

VertexShader * xl7::direct3d::shader::ShaderManager::CreateVertexShader ( const cl7::string_type identifier,
const CompiledShaderCode shader_code 
)

Creates a new vertex shader from compiled shader code.


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