summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineMetal
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineMetal')
-rw-r--r--Graphics/GraphicsEngineMetal/interface/RenderDeviceMtl.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineMetal/interface/RenderDeviceMtl.h b/Graphics/GraphicsEngineMetal/interface/RenderDeviceMtl.h
index def6c787..a9a1f218 100644
--- a/Graphics/GraphicsEngineMetal/interface/RenderDeviceMtl.h
+++ b/Graphics/GraphicsEngineMetal/interface/RenderDeviceMtl.h
@@ -53,9 +53,10 @@ public:
ITexture** ppTexture) = 0;
/// Creates a buffer from existing Metal resource
- virtual void DILIGENT_CALL_TYPE CreateBufferFromMtlResource(id<MTLBuffer> mtlBuffer,
- RESOURCE_STATE InitialState,
- IBuffer** ppBuffer) = 0;
+ virtual void DILIGENT_CALL_TYPE CreateBufferFromMtlResource(id<MTLBuffer> mtlBuffer,
+ const BufferDesc& BuffDesc,
+ RESOURCE_STATE InitialState,
+ IBuffer** ppBuffer) = 0;
};
} // namespace Diligent