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

#include <WinVideoFilter.h>

Inheritance diagram for CWinShader:
CConvolutionShader COutputShader CTestShader CYUV2RGBShader KODI::RETRO::CRPWinOutputShader CConvolutionShader1Pass CConvolutionShaderSeparable

Protected Member Functions

 CWinShader ()=default
 
virtual ~CWinShader ()=default
 
virtual bool CreateVertexBuffer (unsigned int vertCount, unsigned int vertSize)
 
virtual bool LockVertexBuffer (void **data)
 
virtual bool UnlockVertexBuffer ()
 
virtual bool LoadEffect (const std::string &filename, DefinesMap *defines)
 
virtual bool Execute (const std::vector< CD3DTexture * > &targets, unsigned int vertexIndexStep)
 
virtual void SetStepParams (unsigned stepIndex)
 
virtual bool CreateInputLayout (D3D11_INPUT_ELEMENT_DESC *layout, unsigned numElements)
 

Protected Attributes

CD3DEffect m_effect
 
CD3DTexturem_target = nullptr
 

Constructor & Destructor Documentation

◆ CWinShader()

CWinShader::CWinShader ( )
protecteddefault

◆ ~CWinShader()

virtual CWinShader::~CWinShader ( )
protectedvirtualdefault

Member Function Documentation

◆ CreateInputLayout()

bool CWinShader::CreateInputLayout ( D3D11_INPUT_ELEMENT_DESC * layout,
unsigned numElements )
protectedvirtual

◆ CreateVertexBuffer()

bool CWinShader::CreateVertexBuffer ( unsigned int vertCount,
unsigned int vertSize )
protectedvirtual

◆ Execute()

bool CWinShader::Execute ( const std::vector< CD3DTexture * > & targets,
unsigned int vertexIndexStep )
protectedvirtual

◆ LoadEffect()

bool CWinShader::LoadEffect ( const std::string & filename,
DefinesMap * defines )
protectedvirtual

◆ LockVertexBuffer()

bool CWinShader::LockVertexBuffer ( void ** data)
protectedvirtual

◆ SetStepParams()

virtual void CWinShader::SetStepParams ( unsigned stepIndex)
inlineprotectedvirtual

Reimplemented in CConvolutionShaderSeparable.

◆ UnlockVertexBuffer()

bool CWinShader::UnlockVertexBuffer ( )
protectedvirtual

Member Data Documentation

◆ m_effect

CD3DEffect CWinShader::m_effect
protected

◆ m_target

CD3DTexture* CWinShader::m_target = nullptr
protected

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