PFND3D12DDI_CREATESCHEDULINGGROUP_0050 callback function

Creates a scheduling group.

Syntax

PFND3D12DDI_CREATESCHEDULINGGROUP_0050 Pfnd3d12ddiCreateschedulinggroup0050;

HRESULT Pfnd3d12ddiCreateschedulinggroup0050(
  D3D12DDI_HDEVICE Arg1,
  const D3D12DDIARG_CREATESCHEDULINGGROUP_0050 *Arg2,
  D3D12DDI_HSCHEDULINGGROUP_0050 Arg3,
  D3D12DDI_HRTSCHEDULINGGROUP_0050 Arg4
)
{...}

Parameters

Arg1

A handle to the display device (graphics context).

Arg2

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

Arg3

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

Arg4

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

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