rrGetCommandStreamFromMTLCommandBuffer
Obtains command stream from MTL command buffer.
RRError rrGetCommandStreamFromMTLCommandBuffer( |
RRContext context, |
id<MTLCommandBuffer> command_buffer, |
|
RRCommandStream* command_stream); |
Applies to
Metal
Parameters
Parameter |
Input/Output |
Description |
---|---|---|
context |
input |
RR API context. |
command_buffer |
input |
Metal command buffer. |
command_stream |
output |
RR command stream. |
Return
Returns an error in case of a failure, or RR_Success otherwise.