GRHIThreadId

Thread ID of the the thread we are executing RHI commands on.

Choose your operating system:

Windows

macOS

Linux

Deprecated

  • Please use [IsRHIThreadRunning()](API\Runtime\Core\IsRHIThreadRunning)_ or IsInRHIThread()_

Syntax

uint32 GRHIThreadId

Remarks

Thread ID of the the thread we are executing RHI commands on. This could either be a constant dedicated thread or changing every task if we run the rhi thread on tasks.