Public Member Functions

xl7::direct3d::shader::CompiledShaderCode Class Reference

#include <CompiledShaderCode.h>

List of all members.

Public Member Functions

 CompiledShaderCode (void)
 ~CompiledShaderCode (void)
 CompiledShaderCode (const CompiledShaderCode &rhs)
CompiledShaderCodeoperator= (const CompiledShaderCode &rhs)
void swap (CompiledShaderCode &rhs)
const unsigned long * GetTokenArray () const
unsigned GetCodeLength () const
bool LoadFromFile (const cl7::string_type &file_name)
bool LoadFrom (io::IRom &rom, const cl7::string_type &rom_name=TEXT(""))

Constructor & Destructor Documentation

xl7::direct3d::shader::CompiledShaderCode::CompiledShaderCode ( void   ) 

Default constructor.

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

Destructor.

xl7::direct3d::shader::CompiledShaderCode::CompiledShaderCode ( const CompiledShaderCode rhs  ) 

Copy constructor.


Member Function Documentation

unsigned xl7::direct3d::shader::CompiledShaderCode::GetCodeLength (  )  const [inline]

Returns the length of the shader code, in bytes.

const unsigned long* xl7::direct3d::shader::CompiledShaderCode::GetTokenArray (  )  const [inline]

Returns the array of tokens representing the shader code.

bool xl7::direct3d::shader::CompiledShaderCode::LoadFrom ( io::IRom rom,
const cl7::string_type rom_name = TEXT("") 
)

Loads the compiled shader code from any rom.

bool xl7::direct3d::shader::CompiledShaderCode::LoadFromFile ( const cl7::string_type file_name  ) 

Loads the compiled shader code from a file in the file system.

CompiledShaderCode & xl7::direct3d::shader::CompiledShaderCode::operator= ( const CompiledShaderCode rhs  ) 

Copy assignment operator.

void xl7::direct3d::shader::CompiledShaderCode::swap ( CompiledShaderCode rhs  ) 

Swap operation.


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