dolphin/Source/Core/VideoBackends/D3D/GeometryShaderCache.h

28 lines
559 B
C
Raw Normal View History

// Copyright 2014 Dolphin Emulator Project
2015-05-17 23:08:10 +00:00
// Licensed under GPLv2+
2014-12-03 21:17:56 +00:00
// Refer to the license.txt file included.
#pragma once
#include <d3d11.h>
#include <map>
#include "VideoCommon/GeometryShaderGen.h"
namespace DX11
{
class GeometryShaderCache
{
public:
static void Init();
static void Shutdown();
2014-12-03 21:17:56 +00:00
static ID3D11GeometryShader* GetClearGeometryShader();
static ID3D11GeometryShader* GetCopyGeometryShader();
2018-11-27 07:16:53 +00:00
static ID3D11Buffer* GetConstantBuffer();
static void UpdateConstantBuffer(const void* data, u32 data_size);
2014-12-03 21:17:56 +00:00
};
2014-12-12 16:25:16 +00:00
} // namespace DX11