IPixD3DState interface

Represents D3D12 state that can be set on a command list.

State that can be set directly on a command list is exposed directly on this interface and state that can be set per program, pipeline state object, or state object is exposed via IPixProgramState returned by IPixD3DState::GetProgramState.

Inheritance

IPixD3DState inherits from IUnknown.

Interface ID

{4D0E115E-DB54-472D-A051-2A1B33B4F915}

Methods

The IPixD3DState interface declares these methods.

Method Description
GetProgramState Get the GPU program/pipeline state.
HasGraphicsRootSignature Check whether a graphics root signature is currently bound on the command list via ID3D12GraphicsCommandList::SetGraphicsRootSignature.
GetGraphicsRootSignature Get the graphics root signature currently bound on the command list via ID3D12GraphicsCommandList::SetGraphicsRootSignature.
HasComputeRootSignature Check whether a compute root signature is currently bound on the command list via ID3D12GraphicsCommandList::SetComputeRootSignature.
GetComputeRootSignature Get the compute root signature currently bound on the command list via ID3D12GraphicsCommandList::SetComputeRootSignature.
GetGraphicsRootParameterCount Get the number of root parameters bound on the graphics root signature.
HasGraphicsRootParameter Check whether the root parameter at the given index on the graphics root signature has been set.
GetGraphicsRootParameterType Gets the type of the root parameter at the given index on the graphics root signature.
HasGraphicsRoot32BitConstant Check whether the constant at the given index at the given root parameter index has been set.
GetGraphicsRoot32BitConstants Gets the constants for the root parameter at the given index on the graphics root signature set via ID3D12GraphicsCommandList::SetGraphicsRoot32BitConstants.
GetGraphicsRootDescriptor Gets the buffer location of the root parameter at the given index on the graphics root signature set via ID3D12GraphicsCommandList::SetGraphicsRootConstantBufferView, SetGraphicsRootShaderResourceView, or SetGraphicsRootUnorderedAccessView.
GetGraphicsRootDescriptorTable Gets the base descriptor location of the root descriptor table at the given index on the graphics root signature set via ID3D12GraphicsCommandList::SetGraphicsRootDescriptorTable.
GetComputeRootParameterCount Get the number of root parameters bound on the compute root signature.
HasComputeRootParameter Check whether the root parameter at the given index on the compute root signature has been set.
GetComputeRootParameterType Gets the type of the root parameter at the given index on the compute root signature.
HasComputeRoot32BitConstant Check whether the constant at the given index at the given root parameter index has been set.
GetComputeRoot32BitConstants Gets the constants for the root parameter at the given index on the compute root signature set via ID3D12GraphicsCommandList::SetComputeRoot32BitConstants.
GetComputeRootDescriptor Gets the buffer location of the root parameter at the given index on the compute root signature set via ID3D12GraphicsCommandList::SetComputeRootConstantBufferView, SetComputeRootShaderResourceView, or SetComputeRootUnorderedAccessView.
GetComputeRootDescriptorTable Gets the base descriptor location of the root descriptor table at the given index on the compute root signature set via ID3D12GraphicsCommandList::SetComputeRootDescriptorTable.
GetDescriptorHeaps Get the descriptor heaps currently bound on the command list via ID3D12GraphicsCommandList::SetDescriptorHeaps.
HasPrimitiveTopology Check whether a primitive topology has been set on the command list via ID3D12GraphicsCommandList::IASetPrimitiveTopology.
GetPrimitiveTopology Get the primitive topology currently set on the command list via ID3D12GraphicsCommandList::IASetPrimitiveTopology.
HasIndexBuffer Check whether an index buffer is currently bound on the command list via ID3D12GraphicsCommandList::IASetIndexBuffer.
GetIndexBuffer Get the index buffer currently bound on the command list via ID3D12GraphicsCommandList::IASetIndexBuffer.
HasIndexBufferStripCutValue Check whether a command list index buffer strip cut value override has been set via IASetIndexBufferStripCutValue.
GetIndexBufferStripCutValue Get the command-list index buffer strip cut value override set via ID3D12GraphicsCommandList9::IASetIndexBufferStripCutValue.
GetVertexBuffers Get the vertex buffers currently bound on the command list via ID3D12GraphicsCommandList::IASetVertexBuffers.
GetViewportCount Get the number of viewports currently set on the command list via ID3D12GraphicsCommandList::RSSetViewports.
GetViewports Get the viewports currently set on the command list via ID3D12GraphicsCommandList::RSSetViewports.
GetScissorRectCount Get the number of scissor rects currently set on the command list via ID3D12GraphicsCommandList::RSSetScissorRects.
GetScissorRects Get the scissor rects currently set on the command list via ID3D12GraphicsCommandList::RSSetScissorRects.
HasShadingRate Check whether a shading rate has been set on the command list via ID3D12GraphicsCommandList5::RSSetShadingRate.
GetShadingRate Get the base shading rate currently set on the command list via ID3D12GraphicsCommandList5::RSSetShadingRate.
GetShadingRateCombinerCount Get the number of shading rate combiners currently set on the command list via ID3D12GraphicsCommandList5::RSSetShadingRate.
GetShadingRateCombiners Get the shading rate combiners currently set on the command list via ID3D12GraphicsCommandList5::RSSetShadingRate.
HasShadingRateImage Check whether a shading rate image is currently bound on the command list via ID3D12GraphicsCommandList5::RSSetShadingRateImage.
GetShadingRateImage Get the shading rate image currently bound on the command list via ID3D12GraphicsCommandList5::RSSetShadingRateImage.
HasDepthBias Check whether depth bias has been set via ID3D12GraphicsCommandList9::RSSetDepthBias.
GetDepthBias Get the command list depth bias override set via ID3D12GraphicsCommandList9::RSSetDepthBias.
GetNumSamplesPerPixel Get the numSamplesPerPixel value set on the command list via ID3D12GraphicsCommandList1::SetSamplePositions.
GetNumPixels Get the numPixels value set on the command list via ID3D12GraphicsCommandList1::SetSamplePositions.
GetSamplePositions Get the sample positions currently set on the command list via ID3D12GraphicsCommandList1::SetSamplePositions.
HasBlendFactor Check whether a blend factor has been set on the command list via ID3D12GraphicsCommandList::OMSetBlendFactor.
GetBlendFactor Get the blend factor currently set on the command list via ID3D12GraphicsCommandList::OMSetBlendFactor.
GetRenderTargets Get the render targets currently bound on the command list via ID3D12GraphicsCommandList::OMSetRenderTargets.
HasDepthStencil Check whether a depth stencil view is currently bound on the command list via ID3D12GraphicsCommandList::OMSetRenderTargets.
GetDepthStencil Get the depth stencil view currently bound on the command list via ID3D12GraphicsCommandList::OMSetRenderTargets.
HasFrontStencilRef Check whether a front stencil reference value has been set on the command list via ID3D12GraphicsCommandList::OMSetStencilRef or ID3D12GraphicsCommandList8::OMSetFrontAndBackStencilRef.
GetFrontStencilRef Get the front stencil reference value currently set on the command list via ID3D12GraphicsCommandList::OMSetStencilRef or ID3D12GraphicsCommandList8::OMSetFrontAndBackStencilRef.
HasBackStencilRef Check whether a back stencil reference value has been set on the command list via ID3D12GraphicsCommandList::OMSetStencilRef or ID3D12GraphicsCommandList8::OMSetFrontAndBackStencilRef.
GetBackStencilRef Get the back stencil reference value currently set on the command list via ID3D12GraphicsCommandList::OMSetStencilRef or ID3D12GraphicsCommandList8::OMSetFrontAndBackStencilRef.
HasDepthBounds Check whether depth bounds have been set on the command list via ID3D12GraphicsCommandList1::OMSetDepthBounds.
GetDepthBounds Get the depth bounds currently set on the command list via ID3D12GraphicsCommandList1::OMSetDepthBounds.
GetStreamOutputBuffers Get the stream output buffer views set via ID3D12GraphicsCommandList::SOSetTargets.
HasViewInstanceMask Check whether a view instance mask has been set via ID3D12GraphicsCommandList1::SetViewInstanceMask.
GetViewInstanceMask Get the view instance mask set via ID3D12GraphicsCommandList1::SetViewInstanceMask.
HasActivePredication Check whether predication is enabled via ID3D12GraphicsCommandList::SetPredication.
GetPredication Get the predication buffer, buffer offset and operation currently set on the command list via ID3D12GraphicsCommandList::SetPredication.
ResolveGraphicsRootDescriptorToResource Helper functions.
ResolveComputeRootDescriptorToResource Resolve a compute root descriptor at the specified index to the corresponding D3D12 resource.
ResolveGraphicsRootDescriptorRangeToViews Resolve a descriptor range in a graphics root descriptor table at the specified root parameter index to the corresponding range of D3D12 resource views.
ResolveComputeRootDescriptorRangeToViews Resolve a descriptor range in a compute root descriptor table at the specified root parameter index to the corresponding range of D3D12 resource views.

Requirements

Header: PixApiD3DStateInterfaces.h