xbmc
Public Member Functions | Public Attributes | List of all members
CD3DEffect Class Reference
Inheritance diagram for CD3DEffect:
Inheritance graph
[legend]
Collaboration diagram for CD3DEffect:
Collaboration graph
[legend]

Public Member Functions

bool Create (const std::string &effectString, DefinesMap *defines)
 
void Release ()
 
bool SetFloatArray (LPCSTR handle, const float *val, unsigned int count)
 
bool SetMatrix (LPCSTR handle, const float *mat)
 
bool SetTechnique (LPCSTR handle)
 
bool SetTexture (LPCSTR handle, CD3DTexture &texture)
 
bool SetTexture (LPCSTR handle, ID3D11ShaderResourceView *resourceView)
 
bool SetResources (LPCSTR handle, ID3D11ShaderResourceView **ppSRViews, size_t count)
 
bool SetConstantBuffer (LPCSTR handle, ID3D11Buffer *buffer)
 
bool SetScalar (LPCSTR handle, float value)
 
void AddIncludePath (const std::string &includePath)
 
bool Begin (UINT *passes, DWORD flags)
 
bool BeginPass (UINT pass)
 
bool EndPass ()
 
bool End ()
 
ID3DX11Effect * Get () const
 
void OnDestroyDevice (bool fatal) override
 
void OnCreateDevice () override
 
 __declspec (nothrow) HRESULT __stdcall Open(D3D_INCLUDE_TYPE IncludeType
 
 __declspec (nothrow) HRESULT __stdcall Close(LPCVOID pData) override
 

Public Attributes

LPCSTR pFileName
 
LPCSTR LPCVOID pParentData
 
LPCSTR LPCVOID LPCVOID * ppData
 
LPCSTR LPCVOID LPCVOID UINT *pBytes override
 

Additional Inherited Members

- Protected Member Functions inherited from ID3DResource
void Register ()
 
void Unregister ()
 
- Protected Attributes inherited from ID3DResource
bool m_bRegistered = false
 

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