PFND3D12DDI_CREATESCHEDULINGGROUP_0050 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d12umddi.h

PFND3D12DDI_CREATESCHEDULINGGROUP_0050 Pfnd3d12ddiCreateschedulinggroup0050;

HRESULT Pfnd3d12ddiCreateschedulinggroup0050(
  D3D12DDI_HDEVICE unnamedParam1,
  const D3D12DDIARG_CREATESCHEDULINGGROUP_0050 *unnamedParam2,
  D3D12DDI_HSCHEDULINGGROUP_0050 unnamedParam3,
  D3D12DDI_HRTSCHEDULINGGROUP_0050 unnamedParam4
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d12umddi-pfnd3d12ddi_createschedulinggroup_0050)

PFND3D12DDI_CREATESCHEDULINGGROUP_0050 callback function

Description

Creates a scheduling group.

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.

Prototype

//Declaration

PFND3D12DDI_CREATESCHEDULINGGROUP_0050 Pfnd3d12ddiCreateschedulinggroup0050;

// Definition

HRESULT Pfnd3d12ddiCreateschedulinggroup0050
(
    D3D12DDI_HDEVICE Arg1
    CONST D3D12DDIARG_CREATESCHEDULINGGROUP_0050 *
    D3D12DDI_HSCHEDULINGGROUP_0050 Arg2
    D3D12DDI_HRTSCHEDULINGGROUP_0050 Arg3
)
{...}

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.

See also