ID3D12PipelineState::GetDescriptorX Method

Gets the descriptor for this ID3D12PipelineState, for using ID3D12GraphicsCommandList::ExecuteIndirect.

Syntax

public:
void GetDescriptorX(
         D3D12XBOX_DESCRIPTOR_PIPELINE_STATE *pDescriptor
)  

Parameters

pDescriptor
Type: D3D12XBOX_DESCRIPTOR_PIPELINE_STATE *

[out] The descriptor, as a pointer to a D3D12XBOX_DESCRIPTOR_PIPELINE_STATE structure.

Return value

Type: void 

Returns nothing.

Remarks

This method enables querying of a Pipeline State descriptor for ID3D12GraphicsCommandList::ExecuteIndirect purposes. The descriptor must always be queried via GetDescriptorX after the corresponding Pipeline State object is created; it is not possible to statically persist the descriptor across Pipeline State object lifetimes.

The implementation of ID3D12GraphicsCommandList::ExecuteIndirect imposes various limitations:

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.

See also

Reference

D3D12XBOX_DESCRIPTOR_PIPELINE_STATE

ID3D12PipelineState

ID3D12GraphicsCommandList::ExecuteIndirect

ExecuteIndirectBundleX

ID3D12PipelineState Interface

ID3D12PipelineState Members