mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
27 lines
491 B
C++
27 lines
491 B
C++
// Copyright 2014 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// 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();
|
|
|
|
static ID3D11GeometryShader* GetClearGeometryShader();
|
|
static ID3D11GeometryShader* GetCopyGeometryShader();
|
|
|
|
static ID3D11Buffer*& GetConstantBuffer();
|
|
};
|
|
|
|
} // namespace DX11
|