PFND3D12DDI_CREATESCHEDULINGGROUP_0050 callback function (d3d12umddi.h)

Creates a scheduling group.

Syntax

PFND3D12DDI_CREATESCHEDULINGGROUP_0050 Pfnd3d12ddiCreateschedulinggroup0050;

HRESULT Pfnd3d12ddiCreateschedulinggroup0050(
  D3D12DDI_HDEVICE unnamedParam1,
  const D3D12DDIARG_CREATESCHEDULINGGROUP_0050 *unnamedParam2,
  D3D12DDI_HSCHEDULINGGROUP_0050 unnamedParam3,
  D3D12DDI_HRTSCHEDULINGGROUP_0050 unnamedParam4
)
{...}

Parameters

unnamedParam1

A handle to the display device (graphics context).

unnamedParam2

Pointer to a D3D12DDIARG_CREATESCHEDULINGGROUP_0050 structure that contains arguments to create a scheduling group.

unnamedParam3

A D3D12DDI_HRTSCHEDULINGGROUP_0050 runtime handle type that represents the contexts associated with a hardware scheduling group.

unnamedParam4

Return value

Returns HRESULT.

Remarks

A scheduling group is a driver object that the runtime will create, and which must have at least one 3D/compute context created during its construction. The runtime will allow multiple contexts to be constructed. Once the driver returns from CreateSchedulingGroup, no more contexts may be added.

The scheduling group should contain all contexts which target shared hardware or resources that will be leveraged by any child command queues. It does not need to contain all contexts for all child queues.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809
Header d3d12umddi.h