Contains information for deserializing a previously serialized graphics Pipeline State object.
typedef struct D3D12XBOX_DESERIALIZE_GRAPHICS_PIPELINE_STATE {
ID3D12RootSignature *pRootSignature;
void *pPacket;
SIZE_T PacketSize;
void *pMetaData;
SIZE_T MetaDataSize;
D3D12XBOX_DESERIALIZE_SHADER PS;
D3D12XBOX_DESERIALIZE_SHADER VS;
D3D12XBOX_DESERIALIZE_SHADER GS;
D3D12XBOX_DESERIALIZE_SHADER ES;
D3D12XBOX_DESERIALIZE_SHADER HS;
D3D12XBOX_DESERIALIZE_SHADER LS;
} D3D12XBOX_DESERIALIZE_GRAPHICS_PIPELINE_STATE;
pRootSignature
The root signature, as a pointer to ID3D12RootSignature. pRootSignature must point to a root signature of the same form that the original serialized graphics Pipeline State object was created with, otherwise an error will result.
pPacket
Points to component pieces as supplied by ID3D12Device::SerializeGraphicsPipelineStateX. Direct3D 12.x makes copies of this data so the caller can overwrite that memory as soon as the call completes.
PacketSize
The size of a packet.
pMetaData
Points to component pieces as supplied by ID3D12Device::SerializeGraphicsPipelineStateX. Direct3D 12.x makes copies of this data so the caller can overwrite that memory as soon as the call completes.
MetaDataSize
The size of the metadata.
PS
The pixel shader, as a D3D12XBOX_DESERIALIZE_SHADER structure.
VS
The vertex shader, as a D3D12XBOX_DESERIALIZE_SHADER structure.
GS
The geometry shader, as a D3D12XBOX_DESERIALIZE_SHADER structure.
ES
The export shader, as a D3D12XBOX_DESERIALIZE_SHADER structure.
HS
The hull shader, as a D3D12XBOX_DESERIALIZE_SHADER structure.
LS
The load shader, as a D3D12XBOX_DESERIALIZE_SHADER structure.
This structure is used by ID3D12Device::DeserializeGraphicsPipelineStateX.
Header: Declared in d3d12_x.h.