Resets the DMA command list using the specified allocator and optionally using a specified initial state of the pipeline.
public:
HRESULT Reset(
ID3D12CommandAllocator *pAllocator,
ID3D12PipelineState *pInitialState
)
pAllocator
Type: ID3D12CommandAllocator *
[in] The allocator, as a pointer to ID3D12CommandAllocator.
pInitialState
Type: ID3D12PipelineState *
[in, optional] The initial state of the pipeline, as a pointer to ID3D12PipelineState.
Type: HRESULT
One of the Direct3D 12 return codes.
Header: Declared in d3d12_x.h.
Library: Use d3d12_x.lib.