Public Member Functions | List of all members
gte::PixelShader Class Reference

#include <GtePixelShader.h>

Inheritance diagram for gte::PixelShader:
Inheritance graph
[legend]

Public Member Functions

 PixelShader (HLSLShader const &program)
 
- Public Member Functions inherited from gte::Shader
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)
 
- Public Member Functions inherited from gte::GraphicsObject
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 ()
 

Additional Inherited Members

- Public Types inherited from gte::Shader
enum  {
  ConstantBufferShaderDataLookup = 0, TextureBufferShaderDataLookup = 1, StructuredBufferShaderDataLookup = 2, RawBufferShaderDataLookup = 3,
  TextureSingleShaderDataLookup = 4, TextureArrayShaderDataLookup = 5, SamplerStateShaderDataLookup = 6, NUM_LOOKUP_INDICES = 7
}
 
- Static Public Member Functions inherited from gte::GraphicsObject
static void SubscribeForDestruction (std::shared_ptr< ListenerForDestruction > const &listener)
 
static void UnsubscribeForDestruction (std::shared_ptr< ListenerForDestruction > const &listener)
 
- Protected Member Functions inherited from gte::Shader
bool IsValid (Data const &goal, ConstantBuffer *resource) const
 
bool IsValid (Data const &goal, TextureBuffer *resource) const
 
bool IsValid (Data const &goal, StructuredBuffer *resource) const
 
bool IsValid (Data const &goal, RawBuffer *resource) const
 
bool IsValid (Data const &goal, TextureSingle *resource) const
 
bool IsValid (Data const &goal, TextureArray *resource) const
 
bool IsValid (Data const &goal, SamplerState *state) const
 
- Protected Member Functions inherited from gte::GraphicsObject
 GraphicsObject ()
 
- Protected Attributes inherited from gte::Shader
std::vector< unsigned char > mCompiledCode
 
std::vector< DatamData [NUM_LOOKUP_INDICES]
 
unsigned int mNumXThreads
 
unsigned int mNumYThreads
 
unsigned int mNumZThreads
 
- Protected Attributes inherited from gte::GraphicsObject
std::string mName
 
GraphicsObjectType mType
 

Detailed Description

Definition at line 15 of file GtePixelShader.h.

Constructor & Destructor Documentation

PixelShader::PixelShader ( HLSLShader const &  program)

Definition at line 20 of file GtePixelShader.cpp.


The documentation for this class was generated from the following files:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06