mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Return the WrappedMTLCommandQueue from CmdBuffer
Previous API return goes back to usage for objective C calls and this is not required now the objective C and C++ wrapping/unwrapping has advanced and simplified. More sense/natural/correct to return type without casting it.
This commit is contained in:
committed by
Baldur Karlsson
parent
681611d3c4
commit
4d69962397
@@ -36,7 +36,7 @@ public:
|
||||
WrappedMTLDevice *wrappedMTLDevice);
|
||||
|
||||
void SetCommandQueue(WrappedMTLCommandQueue *commandQueue) { m_CommandQueue = commandQueue; }
|
||||
MTL::CommandQueue *GetCommandQueue() { return (MTL::CommandQueue *)m_CommandQueue; }
|
||||
WrappedMTLCommandQueue *GetCommandQueue() { return m_CommandQueue; }
|
||||
DECLARE_FUNCTION_WITH_RETURN_SERIALISED(WrappedMTLBlitCommandEncoder *, blitCommandEncoder);
|
||||
DECLARE_FUNCTION_WITH_RETURN_SERIALISED(WrappedMTLRenderCommandEncoder *,
|
||||
renderCommandEncoderWithDescriptor,
|
||||
|
||||
Reference in New Issue
Block a user