rmlSetD3DCommandList
Sets a command list for interop.
rml_status rmlSetD3DCommandList( |
rml_context context, |
void* command_list /* ID3D12GraphicsCommandList* */, |
|
void* command_allocator /* ID3D12CommandAllocator* */); |
API
Direct3D 12 Interoperation
Parameters
Parameter |
Input/Output |
Description |
---|---|---|
context |
input |
A valid context handle. |
command_list |
input |
A valid D3D12 command list or |
command_allocator |
input |
A memory backing class associated with the specified command list or |
Return and Status Codes
Returns one of the following status codes:
RML_OK
if the operation is successfulRML_ERROR_BAD_PARAMETER
if context is invalid or both command_list and command_allocator areNULL
To get more details in case of failure, call rmlGetLastError().