#include <CompiledShaderCode.h>
Public Member Functions | |
| CompiledShaderCode (void) | |
| ~CompiledShaderCode (void) | |
| CompiledShaderCode (const CompiledShaderCode &rhs) | |
| CompiledShaderCode & | operator= (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("")) |
| 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.
| 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.
1.7.1