#include <GteHLSLShader.h>
Classes | |
struct | Description |
Public Member Functions | |
std::vector< HLSLConstantBuffer > const & | GetCBuffers () const |
std::vector< unsigned char > const & | GetCompiledCode () const |
Description const & | GetDescription () const |
std::string const & | GetEntry () const |
std::vector< HLSLParameter > const & | GetInputs () const |
std::string const & | GetName () const |
unsigned int | GetNumXThreads () const |
unsigned int | GetNumYThreads () const |
unsigned int | GetNumZThreads () const |
std::vector< HLSLParameter > const & | GetOutputs () const |
std::vector< HLSLByteAddressBuffer > const & | GetRBuffers () const |
std::vector< HLSLResourceBindInfo > const & | GetResourceBindInfos () const |
std::vector< HLSLSamplerState > const & | GetSamplerStates () const |
std::vector< HLSLStructuredBuffer > const & | GetSBuffers () const |
int | GetShaderTypeIndex () const |
std::string const & | GetTarget () const |
std::vector< HLSLTextureBuffer > const & | GetTBuffers () const |
std::vector< HLSLTextureArray > const & | GetTextureArrays () const |
std::vector< HLSLTexture > const & | GetTextures () const |
HLSLShader () | |
void | Insert (HLSLConstantBuffer const &cbuffer) |
void | Insert (HLSLTextureBuffer const &tbuffer) |
void | Insert (HLSLStructuredBuffer const &sbuffer) |
void | Insert (HLSLByteAddressBuffer const &rbuffer) |
void | Insert (HLSLTexture const &texture) |
void | Insert (HLSLTextureArray const &textureArray) |
void | Insert (HLSLSamplerState const &samplerState) |
void | Insert (HLSLResourceBindInfo const &rbinfo) |
void | InsertInput (HLSLParameter const ¶meter) |
void | InsertOutput (HLSLParameter const ¶meter) |
bool | IsValid () const |
void | Print (std::ofstream &output) const |
void | SetCompiledCode (size_t numBytes, void const *buffer) |
void | SetDescription (D3D_SHADER_DESC const &desc) |
void | SetEntry (std::string const &entry) |
void | SetName (std::string const &name) |
void | SetNumThreads (unsigned int numXThreads, unsigned int numYThreads, unsigned int numZThreads) |
void | SetTarget (std::string const &target) |
Private Attributes | |
std::vector< HLSLConstantBuffer > | mCBuffers |
std::vector< unsigned char > | mCompiledCode |
Description | mDesc |
std::string | mEntry |
std::vector< HLSLParameter > | mInputs |
std::string | mName |
unsigned int | mNumXThreads |
unsigned int | mNumYThreads |
unsigned int | mNumZThreads |
std::vector< HLSLParameter > | mOutputs |
std::vector< HLSLResourceBindInfo > | mRBInfos |
std::vector< HLSLByteAddressBuffer > | mRBuffers |
std::vector< HLSLSamplerState > | mSamplerStates |
std::vector< HLSLStructuredBuffer > | mSBuffers |
std::string | mTarget |
std::vector< HLSLTextureBuffer > | mTBuffers |
std::vector< HLSLTextureArray > | mTextureArrays |
std::vector< HLSLTexture > | mTextures |
Static Private Attributes | |
static std::string const | msCompileFlags [] |
static std::string const | msDomain [] |
static std::string const | msOutputPrimitive [] |
static std::string const | msPartitioning [] |
static std::string const | msPrimitive [] |
static std::string const | msPrimitiveTopology [] |
static std::string const | msShaderType [] |
Definition at line 24 of file GteHLSLShader.h.
HLSLShader::HLSLShader | ( | ) |
Definition at line 17 of file GteHLSLShader.cpp.
std::vector< HLSLConstantBuffer > const & HLSLShader::GetCBuffers | ( | ) | const |
Definition at line 202 of file GteHLSLShader.cpp.
std::vector< unsigned char > const & HLSLShader::GetCompiledCode | ( | ) | const |
Definition at line 243 of file GteHLSLShader.cpp.
HLSLShader::Description const & HLSLShader::GetDescription | ( | ) | const |
Definition at line 154 of file GteHLSLShader.cpp.
std::string const & HLSLShader::GetEntry | ( | ) | const |
Definition at line 164 of file GteHLSLShader.cpp.
std::vector< HLSLParameter > const & HLSLShader::GetInputs | ( | ) | const |
Definition at line 192 of file GteHLSLShader.cpp.
std::string const & HLSLShader::GetName | ( | ) | const |
Definition at line 159 of file GteHLSLShader.cpp.
unsigned int HLSLShader::GetNumXThreads | ( | ) | const |
Definition at line 256 of file GteHLSLShader.cpp.
unsigned int HLSLShader::GetNumYThreads | ( | ) | const |
Definition at line 261 of file GteHLSLShader.cpp.
unsigned int HLSLShader::GetNumZThreads | ( | ) | const |
Definition at line 266 of file GteHLSLShader.cpp.
std::vector< HLSLParameter > const & HLSLShader::GetOutputs | ( | ) | const |
Definition at line 197 of file GteHLSLShader.cpp.
std::vector< HLSLByteAddressBuffer > const & HLSLShader::GetRBuffers | ( | ) | const |
Definition at line 217 of file GteHLSLShader.cpp.
std::vector< HLSLResourceBindInfo > const & HLSLShader::GetResourceBindInfos | ( | ) | const |
Definition at line 237 of file GteHLSLShader.cpp.
std::vector< HLSLSamplerState > const & HLSLShader::GetSamplerStates | ( | ) | const |
Definition at line 232 of file GteHLSLShader.cpp.
std::vector< HLSLStructuredBuffer > const & HLSLShader::GetSBuffers | ( | ) | const |
Definition at line 212 of file GteHLSLShader.cpp.
int HLSLShader::GetShaderTypeIndex | ( | ) | const |
Definition at line 174 of file GteHLSLShader.cpp.
std::string const & HLSLShader::GetTarget | ( | ) | const |
Definition at line 169 of file GteHLSLShader.cpp.
std::vector< HLSLTextureBuffer > const & HLSLShader::GetTBuffers | ( | ) | const |
Definition at line 207 of file GteHLSLShader.cpp.
std::vector< HLSLTextureArray > const & HLSLShader::GetTextureArrays | ( | ) | const |
Definition at line 227 of file GteHLSLShader.cpp.
std::vector< HLSLTexture > const & HLSLShader::GetTextures | ( | ) | const |
Definition at line 222 of file GteHLSLShader.cpp.
void HLSLShader::Insert | ( | HLSLConstantBuffer const & | cbuffer | ) |
Definition at line 108 of file GteHLSLShader.cpp.
void HLSLShader::Insert | ( | HLSLTextureBuffer const & | tbuffer | ) |
Definition at line 113 of file GteHLSLShader.cpp.
void HLSLShader::Insert | ( | HLSLStructuredBuffer const & | sbuffer | ) |
Definition at line 118 of file GteHLSLShader.cpp.
void HLSLShader::Insert | ( | HLSLByteAddressBuffer const & | rbuffer | ) |
Definition at line 123 of file GteHLSLShader.cpp.
void HLSLShader::Insert | ( | HLSLTexture const & | texture | ) |
Definition at line 128 of file GteHLSLShader.cpp.
void HLSLShader::Insert | ( | HLSLTextureArray const & | textureArray | ) |
Definition at line 133 of file GteHLSLShader.cpp.
void HLSLShader::Insert | ( | HLSLSamplerState const & | samplerState | ) |
Definition at line 138 of file GteHLSLShader.cpp.
void HLSLShader::Insert | ( | HLSLResourceBindInfo const & | rbinfo | ) |
Definition at line 143 of file GteHLSLShader.cpp.
void HLSLShader::InsertInput | ( | HLSLParameter const & | parameter | ) |
Definition at line 98 of file GteHLSLShader.cpp.
void HLSLShader::InsertOutput | ( | HLSLParameter const & | parameter | ) |
Definition at line 103 of file GteHLSLShader.cpp.
bool HLSLShader::IsValid | ( | ) | const |
Definition at line 28 of file GteHLSLShader.cpp.
void HLSLShader::Print | ( | std::ofstream & | output | ) | const |
Definition at line 271 of file GteHLSLShader.cpp.
Definition at line 148 of file GteHLSLShader.cpp.
void HLSLShader::SetDescription | ( | D3D_SHADER_DESC const & | desc | ) |
Definition at line 34 of file GteHLSLShader.cpp.
void HLSLShader::SetEntry | ( | std::string const & | entry | ) |
Definition at line 88 of file GteHLSLShader.cpp.
void HLSLShader::SetName | ( | std::string const & | name | ) |
Definition at line 83 of file GteHLSLShader.cpp.
void HLSLShader::SetNumThreads | ( | unsigned int | numXThreads, |
unsigned int | numYThreads, | ||
unsigned int | numZThreads | ||
) |
Definition at line 248 of file GteHLSLShader.cpp.
void HLSLShader::SetTarget | ( | std::string const & | target | ) |
Definition at line 93 of file GteHLSLShader.cpp.
|
private |
Definition at line 155 of file GteHLSLShader.h.
|
private |
Definition at line 163 of file GteHLSLShader.h.
|
private |
Definition at line 149 of file GteHLSLShader.h.
|
private |
Definition at line 151 of file GteHLSLShader.h.
|
private |
Definition at line 153 of file GteHLSLShader.h.
|
private |
Definition at line 150 of file GteHLSLShader.h.
|
private |
Definition at line 164 of file GteHLSLShader.h.
|
private |
Definition at line 165 of file GteHLSLShader.h.
|
private |
Definition at line 166 of file GteHLSLShader.h.
|
private |
Definition at line 154 of file GteHLSLShader.h.
|
private |
Definition at line 162 of file GteHLSLShader.h.
|
private |
Definition at line 158 of file GteHLSLShader.h.
|
private |
Definition at line 161 of file GteHLSLShader.h.
|
private |
Definition at line 157 of file GteHLSLShader.h.
|
staticprivate |
Definition at line 170 of file GteHLSLShader.h.
|
staticprivate |
Definition at line 175 of file GteHLSLShader.h.
|
staticprivate |
Definition at line 173 of file GteHLSLShader.h.
|
staticprivate |
Definition at line 174 of file GteHLSLShader.h.
|
staticprivate |
Definition at line 171 of file GteHLSLShader.h.
|
staticprivate |
Definition at line 172 of file GteHLSLShader.h.
|
staticprivate |
Definition at line 169 of file GteHLSLShader.h.
|
private |
Definition at line 152 of file GteHLSLShader.h.
|
private |
Definition at line 156 of file GteHLSLShader.h.
|
private |
Definition at line 160 of file GteHLSLShader.h.
|
private |
Definition at line 159 of file GteHLSLShader.h.