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

#include <GUIShaderDX.h>

Public Member Functions

 CGUIShaderDX ()
 
 ~CGUIShaderDX ()
 
bool Initialize ()
 
void Begin (unsigned int flags)
 
void End (void)
 
void ApplyStateBlock (void)
 
void RestoreBuffers (void)
 
void SetShaderViews (unsigned int numViews, ID3D11ShaderResourceView **views)
 
void SetViewPort (D3D11_VIEWPORT viewPort)
 
void XM_CALLCONV GetWVP (DirectX::XMMATRIX &w, DirectX::XMMATRIX &v, DirectX::XMMATRIX &p)
 
DirectX::XMMATRIX XM_CALLCONV GetWorld () const
 
DirectX::XMMATRIX XM_CALLCONV GetView () const
 
DirectX::XMMATRIX XM_CALLCONV GetProjection () const
 
void XM_CALLCONV SetWVP (const DirectX::XMMATRIX &w, const DirectX::XMMATRIX &v, const DirectX::XMMATRIX &p)
 
void XM_CALLCONV SetWorld (const DirectX::XMMATRIX &value)
 
void XM_CALLCONV SetView (const DirectX::XMMATRIX &value)
 
void XM_CALLCONV SetProjection (const DirectX::XMMATRIX &value)
 
void Project (float &x, float &y, float &z)
 
void DrawQuad (Vertex &v1, Vertex &v2, Vertex &v3, Vertex &v4)
 
void DrawIndexed (unsigned int indexCount, unsigned int startIndex, unsigned int startVertex)
 
void Draw (unsigned int vertexCount, unsigned int startVertex)
 
bool HardwareClipIsPossible (void) const
 
float GetClipXFactor (void) const
 
float GetClipXOffset (void) const
 
float GetClipYFactor (void) const
 
float GetClipYOffset (void) const
 
voidoperator new (size_t size)
 
void operator delete (void *ptr)
 

Constructor & Destructor Documentation

◆ CGUIShaderDX()

CGUIShaderDX::CGUIShaderDX ( )

◆ ~CGUIShaderDX()

CGUIShaderDX::~CGUIShaderDX ( )

Member Function Documentation

◆ ApplyStateBlock()

void CGUIShaderDX::ApplyStateBlock ( void )

◆ Begin()

void CGUIShaderDX::Begin ( unsigned int flags)

◆ Draw()

void CGUIShaderDX::Draw ( unsigned int vertexCount,
unsigned int startVertex )

◆ DrawIndexed()

void CGUIShaderDX::DrawIndexed ( unsigned int indexCount,
unsigned int startIndex,
unsigned int startVertex )

◆ DrawQuad()

void CGUIShaderDX::DrawQuad ( Vertex & v1,
Vertex & v2,
Vertex & v3,
Vertex & v4 )

◆ End()

void CGUIShaderDX::End ( void )

◆ GetClipXFactor()

float CGUIShaderDX::GetClipXFactor ( void ) const
inline

◆ GetClipXOffset()

float CGUIShaderDX::GetClipXOffset ( void ) const
inline

◆ GetClipYFactor()

float CGUIShaderDX::GetClipYFactor ( void ) const
inline

◆ GetClipYOffset()

float CGUIShaderDX::GetClipYOffset ( void ) const
inline

◆ GetProjection()

DirectX::XMMATRIX XM_CALLCONV CGUIShaderDX::GetProjection ( ) const
inline

◆ GetView()

DirectX::XMMATRIX XM_CALLCONV CGUIShaderDX::GetView ( ) const
inline

◆ GetWorld()

DirectX::XMMATRIX XM_CALLCONV CGUIShaderDX::GetWorld ( ) const
inline

◆ GetWVP()

void XM_CALLCONV CGUIShaderDX::GetWVP ( DirectX::XMMATRIX & w,
DirectX::XMMATRIX & v,
DirectX::XMMATRIX & p )
inline

◆ HardwareClipIsPossible()

bool CGUIShaderDX::HardwareClipIsPossible ( void ) const
inline

◆ Initialize()

bool CGUIShaderDX::Initialize ( )

◆ operator delete()

void CGUIShaderDX::operator delete ( void * ptr)
inline

◆ operator new()

void * CGUIShaderDX::operator new ( size_t size)
inline

◆ Project()

void CGUIShaderDX::Project ( float & x,
float & y,
float & z )

◆ RestoreBuffers()

void CGUIShaderDX::RestoreBuffers ( void )

◆ SetProjection()

void CGUIShaderDX::SetProjection ( const DirectX::XMMATRIX & value)

◆ SetShaderViews()

void CGUIShaderDX::SetShaderViews ( unsigned int numViews,
ID3D11ShaderResourceView ** views )

◆ SetView()

void CGUIShaderDX::SetView ( const DirectX::XMMATRIX & value)

◆ SetViewPort()

void CGUIShaderDX::SetViewPort ( D3D11_VIEWPORT viewPort)

◆ SetWorld()

void CGUIShaderDX::SetWorld ( const DirectX::XMMATRIX & value)

◆ SetWVP()

void XM_CALLCONV CGUIShaderDX::SetWVP ( const DirectX::XMMATRIX & w,
const DirectX::XMMATRIX & v,
const DirectX::XMMATRIX & p )

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