mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-12 22:08:59 +01:00
52 lines
1.2 KiB
C++
52 lines
1.2 KiB
C++
#pragma once
|
|
|
|
#include "d3d10_util.h"
|
|
|
|
namespace dxvk {
|
|
|
|
class D3D11Device;
|
|
class D3D11InputLayout;
|
|
|
|
class D3D10InputLayout : public ID3D10InputLayout {
|
|
|
|
public:
|
|
|
|
D3D10InputLayout(D3D11InputLayout* pParent)
|
|
: m_d3d11(pParent) { }
|
|
|
|
HRESULT STDMETHODCALLTYPE QueryInterface(
|
|
REFIID riid,
|
|
void** ppvObject);
|
|
|
|
ULONG STDMETHODCALLTYPE AddRef();
|
|
|
|
ULONG STDMETHODCALLTYPE Release();
|
|
|
|
void STDMETHODCALLTYPE GetDevice(
|
|
ID3D10Device** ppDevice);
|
|
|
|
HRESULT STDMETHODCALLTYPE GetPrivateData(
|
|
REFGUID guid,
|
|
UINT* pDataSize,
|
|
void* pData);
|
|
|
|
HRESULT STDMETHODCALLTYPE SetPrivateData(
|
|
REFGUID guid,
|
|
UINT DataSize,
|
|
const void* pData);
|
|
|
|
HRESULT STDMETHODCALLTYPE SetPrivateDataInterface(
|
|
REFGUID guid,
|
|
const IUnknown* pData);
|
|
|
|
D3D11InputLayout* GetD3D11Iface() {
|
|
return m_d3d11;
|
|
}
|
|
|
|
private:
|
|
|
|
D3D11InputLayout* m_d3d11;
|
|
|
|
};
|
|
|
|
} |