summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-01-27 20:34:52 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-01-27 20:34:52 +0000
commit2a0f9a6b4c4e71a21711f794b864ecb0f27f300d (patch)
tree8bb08842a4972f9dcbcf98d82ba85962435033a8 /Graphics/GraphicsEngine
parentGuarded interface definitions by define-undef macro helper include pairs to a... (diff)
downloadDiligentCore-2a0f9a6b4c4e71a21711f794b864ecb0f27f300d.tar.gz
DiligentCore-2a0f9a6b4c4e71a21711f794b864ecb0f27f300d.zip
Fixed class vs struct issues. Implemented HLSL2GLSL Convertor C interfaces
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/include/BufferViewBase.hpp3
-rw-r--r--Graphics/GraphicsEngine/include/FenceBase.hpp3
-rw-r--r--Graphics/GraphicsEngine/include/QueryBase.hpp2
-rw-r--r--Graphics/GraphicsEngine/include/TextureViewBase.hpp4
4 files changed, 2 insertions, 10 deletions
diff --git a/Graphics/GraphicsEngine/include/BufferViewBase.hpp b/Graphics/GraphicsEngine/include/BufferViewBase.hpp
index 13c4610b..313fcf21 100644
--- a/Graphics/GraphicsEngine/include/BufferViewBase.hpp
+++ b/Graphics/GraphicsEngine/include/BufferViewBase.hpp
@@ -38,9 +38,6 @@
namespace Diligent
{
-class IRenderDevice;
-class IBuffer;
-
/// Template class implementing base functionality for a buffer view object
/// \tparam BaseInterface - base interface that this class will inheret
diff --git a/Graphics/GraphicsEngine/include/FenceBase.hpp b/Graphics/GraphicsEngine/include/FenceBase.hpp
index 97e9904c..e6a21bbf 100644
--- a/Graphics/GraphicsEngine/include/FenceBase.hpp
+++ b/Graphics/GraphicsEngine/include/FenceBase.hpp
@@ -37,9 +37,6 @@
namespace Diligent
{
-class IRenderDevice;
-class IFence;
-
/// Template class implementing base functionality for a Fence object
/// \tparam BaseInterface - base interface that this class will inheret
diff --git a/Graphics/GraphicsEngine/include/QueryBase.hpp b/Graphics/GraphicsEngine/include/QueryBase.hpp
index 701b7d2b..cf6061f3 100644
--- a/Graphics/GraphicsEngine/include/QueryBase.hpp
+++ b/Graphics/GraphicsEngine/include/QueryBase.hpp
@@ -38,8 +38,6 @@
namespace Diligent
{
-class IDeviceContext;
-
/// Template class implementing base functionality for a Query object
/// \tparam BaseInterface - base interface that this class will inheret
diff --git a/Graphics/GraphicsEngine/include/TextureViewBase.hpp b/Graphics/GraphicsEngine/include/TextureViewBase.hpp
index e9bf3c75..905c9201 100644
--- a/Graphics/GraphicsEngine/include/TextureViewBase.hpp
+++ b/Graphics/GraphicsEngine/include/TextureViewBase.hpp
@@ -63,7 +63,7 @@ public:
TextureViewBase(IReferenceCounters* pRefCounters,
RenderDeviceImplType* pDevice,
const TextureViewDesc& ViewDesc,
- class ITexture* pTexture,
+ ITexture* pTexture,
bool bIsDefaultView) :
// Default views are created as part of the texture, so we cannot not keep strong
// reference to the texture to avoid cyclic links. Instead, we will attach to the
@@ -77,7 +77,7 @@ public:
IMPLEMENT_QUERY_INTERFACE_IN_PLACE(IID_TextureView, TDeviceObjectBase)
/// Implementation of ITextureView::SetSampler()
- virtual void SetSampler(class ISampler* pSampler) override final
+ virtual void SetSampler(ISampler* pSampler) override final
{
#ifdef DEVELOPMENT
if (this->m_Desc.ViewType != TEXTURE_VIEW_SHADER_RESOURCE)