TrySetLampArrayWorkerThreadAffinityMask

Sets a processor affinity mask for the LampArray worker thread.

Syntax

HRESULT TrySetLampArrayWorkerThreadAffinityMask(
    uint64_t threadAffinityMask);

Parameters

threadAffinityMask Type: uint64_t

The desired affinity mask for the LampArray worker thread.

Return value

Type: HRESULT

Function result.

Remarks

This function will succeed and take effect no more than once per process. Calling this function multiple times within the same process is not supported.

Requirements

Header: LampArray.h

Library: xgameplatform.lib

Supported platforms: Xbox One family consoles and Xbox Series consoles

See also

Lighting API Overview
LampArray Basics
SetThreadAffinityMask