#include <GteHLSLProgramFactory.h>
Public Member Functions | |
std::shared_ptr< VisualProgram > | CreateFromBytecode (std::vector< unsigned char > const &vsBytecode, std::vector< unsigned char > const &psBytecode, std::vector< unsigned char > const &gsBytecode) |
std::shared_ptr< ComputeProgram > | CreateFromBytecode (std::vector< unsigned char > const &csBytecode) |
virtual int | GetAPI () const |
HLSLProgramFactory () | |
virtual | ~HLSLProgramFactory () |
Public Member Functions inherited from gte::ProgramFactory | |
std::shared_ptr< ComputeProgram > | CreateFromFile (std::string const &csFile) |
std::shared_ptr< VisualProgram > | CreateFromFiles (std::string const &vsFile, std::string const &psFile, std::string const &gsFile) |
std::shared_ptr< ComputeProgram > | CreateFromSource (std::string const &csSource) |
std::shared_ptr< VisualProgram > | CreateFromSources (std::string const &vsSource, std::string const &psSource, std::string const &gsSource) |
void | PopDefines () |
void | PopFlags () |
ProgramFactory () | |
void | PushDefines () |
void | PushFlags () |
virtual | ~ProgramFactory () |
Static Public Attributes | |
static std::string | defaultCSEntry = "CSMain" |
static unsigned int | defaultFlags |
static std::string | defaultGSEntry = "GSMain" |
static std::string | defaultPSEntry = "PSMain" |
static std::string | defaultVersion = "5_0" |
static std::string | defaultVSEntry = "VSMain" |
Private Member Functions | |
virtual std::shared_ptr< ComputeProgram > | CreateFromNamedSource (std::string const &csName, std::string const &csSource) |
virtual std::shared_ptr< VisualProgram > | CreateFromNamedSources (std::string const &vsName, std::string const &vsSource, std::string const &psName, std::string const &psSource, std::string const &gsName, std::string const &gsSource) |
Additional Inherited Members | |
Public Types inherited from gte::ProgramFactory | |
enum | { PF_GLSL, PF_HLSL, PF_NUM_API } |
Static Public Member Functions inherited from gte::ProgramFactory | |
static std::string | GetStringFromFile (std::string const &filename) |
Public Attributes inherited from gte::ProgramFactory | |
std::string | csEntry |
ProgramDefines | defines |
unsigned int | flags |
std::string | gsEntry |
std::string | psEntry |
std::string | version |
std::string | vsEntry |
Definition at line 15 of file GteHLSLProgramFactory.h.
|
virtual |
Definition at line 31 of file GteHLSLProgramFactory.cpp.
HLSLProgramFactory::HLSLProgramFactory | ( | ) |
Definition at line 35 of file GteHLSLProgramFactory.cpp.
std::shared_ptr< VisualProgram > HLSLProgramFactory::CreateFromBytecode | ( | std::vector< unsigned char > const & | vsBytecode, |
std::vector< unsigned char > const & | psBytecode, | ||
std::vector< unsigned char > const & | gsBytecode | ||
) |
Definition at line 50 of file GteHLSLProgramFactory.cpp.
std::shared_ptr< ComputeProgram > HLSLProgramFactory::CreateFromBytecode | ( | std::vector< unsigned char > const & | csBytecode | ) |
Definition at line 203 of file GteHLSLProgramFactory.cpp.
|
privatevirtual |
Implements gte::ProgramFactory.
Definition at line 115 of file GteHLSLProgramFactory.cpp.
|
privatevirtual |
Implements gte::ProgramFactory.
Definition at line 141 of file GteHLSLProgramFactory.cpp.
|
virtual |
Implements gte::ProgramFactory.
Definition at line 45 of file GteHLSLProgramFactory.cpp.
|
static |
Definition at line 25 of file GteHLSLProgramFactory.h.
|
static |
Definition at line 26 of file GteHLSLProgramFactory.h.
|
static |
Definition at line 24 of file GteHLSLProgramFactory.h.
|
static |
Definition at line 23 of file GteHLSLProgramFactory.h.
|
static |
Definition at line 21 of file GteHLSLProgramFactory.h.
|
static |
Definition at line 22 of file GteHLSLProgramFactory.h.