Public Member Functions

ShaderAssembler Class Reference

#include <ShaderAssembler.h>

List of all members.

Public Member Functions

 ShaderAssembler (void)
 ~ShaderAssembler (void)
 ShaderAssembler (const ShaderAssembler &rhs)
ShaderAssembleroperator= (const ShaderAssembler &rhs)
void swap (ShaderAssembler &rhs)
unsigned long GetFlags () const
void GetFlags (unsigned long flags)
void SetFlag (unsigned long flag)
void UnsetFlag (unsigned long flag)
void SwapFlag (unsigned long flag)
bool AssembleShader (const cl7::string_type &code, xl7::io::File &file)

Constructor & Destructor Documentation

ShaderAssembler::ShaderAssembler ( void   ) 

Default constructor.

ShaderAssembler::~ShaderAssembler ( void   ) 

Destructor.

ShaderAssembler::ShaderAssembler ( const ShaderAssembler rhs  ) 

Copy constructor.


Member Function Documentation

bool ShaderAssembler::AssembleShader ( const cl7::string_type code,
xl7::io::File file 
)

Assembles a shader and writes it it to the given file.

unsigned long ShaderAssembler::GetFlags (  )  const [inline]

Returns the flags identifying the compile options.

void ShaderAssembler::GetFlags ( unsigned long  flags  )  [inline]

Sets the flags identifying the compile options.

ShaderAssembler & ShaderAssembler::operator= ( const ShaderAssembler rhs  ) 

Copy assignment operator.

void ShaderAssembler::SetFlag ( unsigned long  flag  )  [inline]

Sets a specific flag identifying the compile options.

void ShaderAssembler::swap ( ShaderAssembler rhs  ) 

Swap operation.

void ShaderAssembler::SwapFlag ( unsigned long  flag  )  [inline]

Swaps a specific flag identifying the compile options.

void ShaderAssembler::UnsetFlag ( unsigned long  flag  )  [inline]

Unsets a specific flag identifying the compile options.


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