HALInitParams(id<MTLDevice> device, dispatch_data_t shaderData, CommitCommandBufferCallback commitCallback = 0, void* callbackData = 0, UInt32 halConfigFlags = 0, ThreadId renderThreadId = ThreadId());
HALInitParams constructor.
Parameters |
Description |
id<MTLDevice> device |
The rendering device. |
dispatch_data_t shaderData |
_nt_ |
CommitCommandBufferCallback commitCallback = 0 |
A callback function provided to create a new commit buffer, provide it to HAL, and commit the existing command buffer. |
void* callbackData = 0 |
The data provided to commitCallback. |
UInt32 halConfigFlags = 0 |
One or more of the HALConfigFlags. |
ThreadId renderThreadId = ThreadId() |
The Id of the rendering thread used by the renderer; ignored if single-threaded. |