Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The user-mode display driver's (UMD) pfnCreateCommandAllocator function creates a command allocator.
Syntax
PFND3D12DDI_CREATECOMMANDALLOCATOR Pfnd3d12ddiCreatecommandallocator;
HRESULT Pfnd3d12ddiCreatecommandallocator(
D3D12DDI_HDEVICE unnamedParam1,
const D3D12DDIARG_CREATECOMMANDALLOCATOR *unnamedParam2
)
{...}
Parameters
unnamedParam1
[in] A handle to the display device (graphics context).
unnamedParam2
[in] Pointer to a D3D12DDIARG_CREATECOMMANDALLOCATOR structure that describes the command allocator to create.
Return value
pfnCreateCommandAllocator returns an HRESULT value.
Remarks
The command allocator corresponds to the underlying allocations in which GPU command lists are stored. It applies to both direct and bundle command lists.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista (WDDM 1.0) |
Header | d3d12umddi.h |
See also
D3D12DDIARG_CREATECOMMANDALLOCATOR