PFND3D12DDI_CREATE_STATE_OBJECT_0054 callback function (d3d12umddi.h)
Creates a state object. A state object represents a variable amount of configuration state, including shaders, that an application manages as a single unit and which is given to a driver atomically to process (e.g. compile/optimize) however it sees fit. State objects are built out of subobjects. A subobject has a type and corresponding data.
Syntax
PFND3D12DDI_CREATE_STATE_OBJECT_0054 Pfnd3d12ddiCreateStateObject0054;
HRESULT Pfnd3d12ddiCreateStateObject0054(
D3D12DDI_HDEVICE unnamedParam1,
const D3D12DDIARG_CREATE_STATE_OBJECT_0054 *unnamedParam2,
D3D12DDI_HSTATEOBJECT_0054 unnamedParam3,
D3D12DDI_HRTSTATEOBJECT_0054 unnamedParam4
)
{...}
Parameters
unnamedParam1
Handle to the device.
unnamedParam2
Pointer to a D3D12DDIARG_CREATE_STATE_OBJECT_0054 structure.
unnamedParam3
Handle to a runtime handle type state object.
unnamedParam4
Return value
Returns HRESULT.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1809 |
Header | d3d12umddi.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for