Debian Codegraph @

xbmc/pictures/SlideShowPictureDX.h

raw
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 };