Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CD3DVertexShader Class Reference

#include <D3DResource.h>

Inheritance diagram for CD3DVertexShader:
ID3DResource

Public Member Functions

 CD3DVertexShader ()
 
 ~CD3DVertexShader ()
 
bool Create (const std::wstring &vertexFile, D3D11_INPUT_ELEMENT_DESC *vertexLayout, unsigned int vertexLayoutSize)
 
bool Create (const void *code, size_t codeLength, D3D11_INPUT_ELEMENT_DESC *vertexLayout, unsigned int vertexLayoutSize)
 
void ReleaseShader ()
 
void BindShader ()
 
void UnbindShader ()
 
void Release ()
 
bool IsInited ()
 
void OnDestroyDevice (bool fatal) override
 
void OnCreateDevice () override
 
- Public Member Functions inherited from ID3DResource
virtual ~ID3DResource ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ CD3DVertexShader()

CD3DVertexShader::CD3DVertexShader ( )

◆ ~CD3DVertexShader()

CD3DVertexShader::~CD3DVertexShader ( )

Member Function Documentation

◆ BindShader()

void CD3DVertexShader::BindShader ( )

◆ Create() [1/2]

bool CD3DVertexShader::Create ( const std::wstring & vertexFile,
D3D11_INPUT_ELEMENT_DESC * vertexLayout,
unsigned int vertexLayoutSize )

◆ Create() [2/2]

bool CD3DVertexShader::Create ( const void * code,
size_t codeLength,
D3D11_INPUT_ELEMENT_DESC * vertexLayout,
unsigned int vertexLayoutSize )

◆ IsInited()

bool CD3DVertexShader::IsInited ( )
inline

◆ OnCreateDevice()

void CD3DVertexShader::OnCreateDevice ( void )
overridevirtual

Implements ID3DResource.

◆ OnDestroyDevice()

void CD3DVertexShader::OnDestroyDevice ( bool fatal)
overridevirtual

Implements ID3DResource.

◆ Release()

void CD3DVertexShader::Release ( )

◆ ReleaseShader()

void CD3DVertexShader::ReleaseShader ( )

◆ UnbindShader()

void CD3DVertexShader::UnbindShader ( )

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