// 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 referenceNo description available.
Creates a scheduling group.
unnamedParam1A handle to the display device (graphics context).
unnamedParam2Pointer to a D3D12DDIARG_CREATESCHEDULINGGROUP_0050 structure that contains arguments to create a scheduling group.
unnamedParam3A D3D12DDI_HRTSCHEDULINGGROUP_0050 runtime handle type that represents the contexts associated with a hardware scheduling group.
unnamedParam4Returns HRESULT.
//Declaration
PFND3D12DDI_CREATESCHEDULINGGROUP_0050 Pfnd3d12ddiCreateschedulinggroup0050;
// Definition
HRESULT Pfnd3d12ddiCreateschedulinggroup0050
(
D3D12DDI_HDEVICE Arg1
CONST D3D12DDIARG_CREATESCHEDULINGGROUP_0050 *
D3D12DDI_HSCHEDULINGGROUP_0050 Arg2
D3D12DDI_HRTSCHEDULINGGROUP_0050 Arg3
)
{...}
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.