diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-10-01 00:01:15 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-10-01 00:01:15 +0000 |
| commit | 3941b472dedd0836b5e4970460fbf0e38a42e4e4 (patch) | |
| tree | fc4d0002e0c17cab1f09f4f1955e80c2b5fa4ce0 /Graphics/GraphicsEngine | |
| parent | Updated Metal interfaces plus a number of misc fixes (diff) | |
| download | DiligentCore-3941b472dedd0836b5e4970460fbf0e38a42e4e4.tar.gz DiligentCore-3941b472dedd0836b5e4970460fbf0e38a42e4e4.zip | |
A number of updates to support Metal backend
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/GraphicsTypes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h index 93295972..e8263232 100644 --- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h +++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h @@ -1743,6 +1743,10 @@ struct DeviceCaps { return DevType == RENDER_DEVICE_TYPE_VULKAN; } + bool IsMetalDevice()const + { + return DevType == RENDER_DEVICE_TYPE_METAL; + } struct NDCAttribs { |
