HatchitGraphics
Public Member Functions | Protected Member Functions | List of all members
Hatchit::Graphics::DirectX::D3D11PixelShader Class Reference
Inheritance diagram for Hatchit::Graphics::DirectX::D3D11PixelShader:
Hatchit::Graphics::DirectX::D3D11Shader IShader

Public Member Functions

 D3D11PixelShader (ID3D11Device *device, ID3D11DeviceContext *context)
 
ID3D11PixelShader * GetShader ()
 
bool VSetShaderResourceView (std::string name, ID3D11ShaderResourceView *rv) override
 
bool VSetSamplerState (std::string name, ID3D11SamplerState *ss) override
 
- Public Member Functions inherited from Hatchit::Graphics::DirectX::D3D11Shader
 D3D11Shader (ID3D11Device *device, ID3D11DeviceContext *context)
 
bool VInitFromFile (Core::File *file) override
 
void VOnLoaded () override
 
bool VSetData (std::string name, const void *data, size_t size) override
 
bool VSetInt (std::string name, int data) override
 
bool VSetFloat (std::string name, float data) override
 
bool VSetFloat2 (std::string name, Math::Vector2 data) override
 
bool VSetFloat3 (std::string name, Math::Vector3 data) override
 
bool VSetFloat4 (std::string name, Math::Vector4 data) override
 
bool VSetMatrix3 (std::string name, Math::Matrix3 data) override
 
bool VSetMatrix4 (std::string name, Math::Matrix4 data) override
 
void Activate ()
 
void DeActivate ()
 

Protected Member Functions

void VBind () override
 
void VUnbind () override
 
bool VInitShader () override
 
- Protected Member Functions inherited from Hatchit::Graphics::DirectX::D3D11Shader
ConstantBufferVariableFindVariable (std::string name, size_t size)
 
ConstantBufferFindBuffer (std::string name)
 
int32_t FindTextureBindIndex (std::string name)
 
int32_t FindSampleBindIndex (std::string name)
 
void UpdateAllBuffers ()
 

Additional Inherited Members

- Protected Attributes inherited from Hatchit::Graphics::DirectX::D3D11Shader
uint32_t m_constantBufferCount
 
ConstantBufferm_constantBufferArray
 
ConstantBufferVariableTable m_constantBufferVarTable
 
SampleTable m_sampleTable
 
TextureTable m_textureTable
 
ID3D11Device * m_device
 
ID3D11DeviceContext * m_context
 
ID3DBlob * m_blob
 
ID3D11ShaderReflection * m_reflection
 

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