/* * Copyright (C) 2005-2018 Team Kodi * This file is part of Kodi - https://kodi.tv * * SPDX-License-Identifier: GPL-2.0-or-later * See LICENSES/README.md for more information. */ #pragma once #include "SlideShowPicture.h" #include "guilib/GUIShaderDX.h" #include class CTexture; class CSlideShowPicDX : public CSlideShowPic { public: CSlideShowPicDX() = default; ~CSlideShowPicDX() override = default; protected: void Render(float* x, float* y, CTexture* pTexture, UTILS::COLOR::Color color) override; private: bool UpdateVertexBuffer(Vertex* vertices); Microsoft::WRL::ComPtr m_vb; };