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

28 lines
559 B
C
Raw Normal View History

// Copyright 2014 Dolphin Emulator Project
2015-05-18 01:08:10 +02:00
// Licensed under GPLv2+
2014-12-03 22:17:56 +01: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 22:17:56 +01:00
static ID3D11GeometryShader* GetClearGeometryShader();
static ID3D11GeometryShader* GetCopyGeometryShader();
2018-11-27 17:16:53 +10:00
static ID3D11Buffer* GetConstantBuffer();
static void UpdateConstantBuffer(const void* data, u32 data_size);
2014-12-03 22:17:56 +01:00
};
2014-12-12 17:25:16 +01:00
} // namespace DX11