#include <GteShader.h>
|
int | Get (std::string const &name) const |
|
template<typename T > |
std::shared_ptr< T > const | Get (std::string const &name) const |
|
template<typename T > |
std::shared_ptr< T > const | Get (int handle) const |
|
std::vector< unsigned char > const & | GetCompiledCode () const |
|
bool | GetConstantBufferLayout (int handle, BufferLayout &layout) const |
|
bool | GetConstantBufferLayout (std::string const &name, BufferLayout &layout) const |
|
unsigned int | GetConstantBufferSize (int handle) const |
|
unsigned int | GetConstantBufferSize (std::string const &name) const |
|
std::vector< Data > const & | GetData (int lookup) const |
|
unsigned int | GetNumXThreads () const |
|
unsigned int | GetNumYThreads () const |
|
unsigned int | GetNumZThreads () const |
|
unsigned int | GetStructuredBufferSize (int handle) const |
|
unsigned int | GetStructuredBufferSize (std::string const &name) const |
|
bool | GetTextureBufferLayout (int handle, BufferLayout &layout) const |
|
bool | GetTextureBufferLayout (std::string const &name, BufferLayout &layout) const |
|
unsigned int | GetTextureBufferSize (int handle) const |
|
unsigned int | GetTextureBufferSize (std::string const &name) const |
|
template<typename T > |
int | Set (std::string const &name, std::shared_ptr< T > const &object) |
|
template<typename T > |
void | Set (int handle, std::shared_ptr< T > const &object) |
|
template<> |
int | Set (std::string const &name, std::shared_ptr< ConstantBuffer > const &object) |
|
template<> |
int | Set (std::string const &name, std::shared_ptr< TextureBuffer > const &object) |
|
template<> |
void | Set (int handle, std::shared_ptr< ConstantBuffer > const &object) |
|
template<> |
void | Set (int handle, std::shared_ptr< TextureBuffer > const &object) |
|
| Shader (HLSLShader const &program) |
|
std::string const & | GetName () const |
|
GraphicsObjectType | GetType () const |
|
bool | IsBuffer () const |
|
bool | IsDrawingState () const |
|
bool | IsShader () const |
|
bool | IsTexture () const |
|
bool | IsTextureArray () const |
|
void | SetName (std::string const &name) |
|
virtual | ~GraphicsObject () |
|
Definition at line 33 of file GteShader.h.
Enumerator |
---|
ConstantBufferShaderDataLookup |
|
TextureBufferShaderDataLookup |
|
StructuredBufferShaderDataLookup |
|
RawBufferShaderDataLookup |
|
TextureSingleShaderDataLookup |
|
TextureArrayShaderDataLookup |
|
SamplerStateShaderDataLookup |
|
NUM_LOOKUP_INDICES |
|
Definition at line 108 of file GteShader.h.
template<typename T >
std::shared_ptr< T > const gte::Shader::Get |
( |
std::string const & |
name | ) |
const |
template<typename T >
std::shared_ptr< T > const gte::Shader::Get |
( |
int |
handle | ) |
const |
std::vector< unsigned char > const & gte::Shader::GetCompiledCode |
( |
| ) |
const |
|
inline |
bool Shader::GetConstantBufferLayout |
( |
int |
handle, |
|
|
BufferLayout & |
layout |
|
) |
| const |
unsigned int Shader::GetConstantBufferSize |
( |
int |
handle | ) |
const |
unsigned int Shader::GetConstantBufferSize |
( |
std::string const & |
name | ) |
const |
std::vector< Shader::Data > const & gte::Shader::GetData |
( |
int |
lookup | ) |
const |
|
inline |
unsigned int gte::Shader::GetNumXThreads |
( |
| ) |
const |
|
inline |
unsigned int gte::Shader::GetNumYThreads |
( |
| ) |
const |
|
inline |
unsigned int gte::Shader::GetNumZThreads |
( |
| ) |
const |
|
inline |
unsigned int Shader::GetStructuredBufferSize |
( |
int |
handle | ) |
const |
unsigned int Shader::GetStructuredBufferSize |
( |
std::string const & |
name | ) |
const |
bool Shader::GetTextureBufferLayout |
( |
int |
handle, |
|
|
BufferLayout & |
layout |
|
) |
| const |
unsigned int Shader::GetTextureBufferSize |
( |
int |
handle | ) |
const |
unsigned int Shader::GetTextureBufferSize |
( |
std::string const & |
name | ) |
const |
bool Shader::IsValid |
( |
Data const & |
goal, |
|
|
RawBuffer * |
resource |
|
) |
| const |
|
protected |
template<typename T >
int gte::Shader::Set |
( |
std::string const & |
name, |
|
|
std::shared_ptr< T > const & |
object |
|
) |
| |
template<typename T >
void gte::Shader::Set |
( |
int |
handle, |
|
|
std::shared_ptr< T > const & |
object |
|
) |
| |
std::vector<unsigned char> gte::Shader::mCompiledCode |
|
protected |
unsigned int gte::Shader::mNumXThreads |
|
protected |
unsigned int gte::Shader::mNumYThreads |
|
protected |
unsigned int gte::Shader::mNumZThreads |
|
protected |
The documentation for this class was generated from the following files: