Plasma Engine  2.0
Loading...
Searching...
No Matches
plGALShaderDX11 Class Reference
Inheritance diagram for plGALShaderDX11:

Public Member Functions

void SetDebugName (const char *szName) const override
 
PL_ALWAYS_INLINE ID3D11VertexShader * GetDXVertexShader () const
 
PL_ALWAYS_INLINE ID3D11HullShader * GetDXHullShader () const
 
PL_ALWAYS_INLINE ID3D11DomainShader * GetDXDomainShader () const
 
PL_ALWAYS_INLINE ID3D11GeometryShader * GetDXGeometryShader () const
 
PL_ALWAYS_INLINE ID3D11PixelShader * GetDXPixelShader () const
 
PL_ALWAYS_INLINE ID3D11ComputeShader * GetDXComputeShader () const
 
- Public Member Functions inherited from plGALShader
plArrayPtr< const plShaderResourceBindingGetBindingMapping () const
 Returns the list of shader resources and their binding information. These must be bound before the shader can be used.
 
const plShaderResourceBindingGetShaderResourceBinding (const plTempHashedString &sName) const
 Convenience function that finds 'sName' in GetBindingMapping and returns it if present.
 
plArrayPtr< const plShaderVertexInputAttributeGetVertexInputAttributes () const
 Returns the list of vertex input attributes. Compute shaders return an empty array.
 
- Public Member Functions inherited from plGALObject< plGALShaderCreationDescription >
 plGALObject (const plGALShaderCreationDescription &description)
 
PL_ALWAYS_INLINE const plGALShaderCreationDescriptionGetDescription () const
 
- Public Member Functions inherited from plRefCounted
virtual ~plRefCounted ()=default
 Adds a virtual destructor.
 
- Public Member Functions inherited from plRefCountingImpl
 plRefCountingImpl ()=default
 Constructor.
 
 plRefCountingImpl (const plRefCountingImpl &rhs)
 
void operator= (const plRefCountingImpl &rhs)
 
plInt32 AddRef () const
 Increments the reference counter. Returns the new reference count.
 
plInt32 ReleaseRef () const
 Decrements the reference counter. Returns the new reference count.
 
bool IsReferenced () const
 Returns true if the reference count is greater than 0, false otherwise.
 
plInt32 GetRefCount () const
 Returns the current reference count.
 

Protected Member Functions

 plGALShaderDX11 (const plGALShaderCreationDescription &description)
 
virtual plResult InitPlatform (plGALDevice *pDevice) override
 
virtual plResult DeInitPlatform (plGALDevice *pDevice) override
 
- Protected Member Functions inherited from plGALShader
plResult CreateBindingMapping (bool bAllowMultipleBindingPerName)
 
void DestroyBindingMapping ()
 
 plGALShader (const plGALShaderCreationDescription &Description)
 

Protected Attributes

ID3D11VertexShader * m_pVertexShader = nullptr
 
ID3D11HullShader * m_pHullShader = nullptr
 
ID3D11DomainShader * m_pDomainShader = nullptr
 
ID3D11GeometryShader * m_pGeometryShader = nullptr
 
ID3D11PixelShader * m_pPixelShader = nullptr
 
ID3D11ComputeShader * m_pComputeShader = nullptr
 
- Protected Attributes inherited from plGALShader
plDynamicArray< plShaderResourceBindingm_BindingMapping
 
- Protected Attributes inherited from plGALObject< plGALShaderCreationDescription >
const plGALShaderCreationDescription m_Description
 

Friends

class plGALDeviceDX11
 
class plMemoryUtils
 

Member Function Documentation

◆ DeInitPlatform()

plResult plGALShaderDX11::DeInitPlatform ( plGALDevice * pDevice)
overrideprotectedvirtual

Implements plGALShader.

◆ InitPlatform()

plResult plGALShaderDX11::InitPlatform ( plGALDevice * pDevice)
overrideprotectedvirtual

Implements plGALShader.

◆ SetDebugName()

void plGALShaderDX11::SetDebugName ( const char * szName) const
overridevirtual

Implements plGALShader.


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