kodi
xbmc
pictures
SlideShowPictureDX.h
1
/*
2
* Copyright (C) 2005-2018 Team Kodi
3
* This file is part of Kodi - https://kodi.tv
4
*
5
* SPDX-License-Identifier: GPL-2.0-or-later
6
* See LICENSES/README.md for more information.
7
*/
8
9
#pragma once
10
11
#include "SlideShowPicture.h"
12
#include "guilib/GUIShaderDX.h"
13
14
#include <wrl/client.h>
15
16
class
CTexture
;
17
18
class
CSlideShowPicDX
:
public
CSlideShowPic
19
{
20
public
:
21
CSlideShowPicDX
() =
default
;
22
~
CSlideShowPicDX
()
override
=
default
;
23
24
protected
:
25
void
Render(
float
* x,
float
* y,
CTexture
* pTexture, UTILS::COLOR::Color color)
override
;
26
27
private
:
28
bool
UpdateVertexBuffer(
Vertex
* vertices);
29
30
Microsoft::WRL::ComPtr<ID3D11Buffer> m_vb;
31
};
CSlideShowPic
Definition:
SlideShowPicture.h:20
CSlideShowPicDX
Definition:
SlideShowPictureDX.h:18
CTexture
Base texture class, subclasses of which depend on the render spec (DX, GL etc.)
Definition:
Texture.h:34
Vertex
Definition:
GUIShaderDX.h:19
Generated by
1.8.13