Cleanup some GPU code
This commit is contained in:
@@ -46,20 +46,8 @@ private:
|
||||
|
||||
public:
|
||||
|
||||
// Create new graphics device (returns null if failed)
|
||||
// @returns Created device or null
|
||||
static GPUDevice* Create();
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="GPUDeviceDX11"/> class.
|
||||
/// </summary>
|
||||
/// <param name="dxgiFactory">The DXGI factory handle.</param>
|
||||
/// <param name="adapter">The GPU device adapter.</param>
|
||||
GPUDeviceDX11(IDXGIFactory* dxgiFactory, GPUAdapterDX* adapter);
|
||||
|
||||
/// <summary>
|
||||
/// Finalizes an instance of the <see cref="GPUDeviceDX11"/> class.
|
||||
/// </summary>
|
||||
~GPUDeviceDX11();
|
||||
|
||||
public:
|
||||
@@ -122,9 +110,8 @@ class IGPUResourceDX11
|
||||
public:
|
||||
|
||||
/// <summary>
|
||||
/// Gets DirectX 11 resource object handle
|
||||
/// Gets DirectX 11 resource object handle.
|
||||
/// </summary>
|
||||
/// <returns>DirectX 11 resource object handle</returns>
|
||||
virtual ID3D11Resource* GetResource() = 0;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user