*
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#ifndef ISurface11_h__
|
||||
#define ISurface11_h__
|
||||
|
||||
#include "render/ISurface.h"
|
||||
#include "render/dx11/IRenderTargetViewDX11.h"
|
||||
#include "render/dx11/IShaderResourceView11.h"
|
||||
|
||||
#include <d3d11.h>
|
||||
#include <dxgi.h>
|
||||
#include <d3dx11.h>
|
||||
|
||||
namespace LifeGraphics
|
||||
{
|
||||
class ISurface11 : public ISurface
|
||||
{
|
||||
public:
|
||||
ISurface11();
|
||||
void setRTV(ID3D11RenderTargetView* _rtv);
|
||||
void setSRV(ID3D11ShaderResourceView* _srv);
|
||||
void setDSV(ID3D11DepthStencilView* _dsv);
|
||||
|
||||
ID3D11RenderTargetView* getRTV();
|
||||
ID3D11ShaderResourceView* getSRV();
|
||||
ID3D11DepthStencilView* getDSV();
|
||||
protected:
|
||||
ID3D11RenderTargetView* rtv;
|
||||
ID3D11ShaderResourceView* srv;
|
||||
ID3D11DepthStencilView* dsv;
|
||||
};
|
||||
}
|
||||
#endif // ISurface11_h__
|
||||
Reference in New Issue
Block a user