D3D12XBOX_SERIALIZE_SHADER Structure

Information for serializing a shader, including GPU instructions and metadata.

Syntax

typedef struct D3D12XBOX_SERIALIZE_SHADER {
    ID3DBlob *pGpuInstructions;
    ID3DBlob *pMetaData;
} D3D12XBOX_SERIALIZE_SHADER;  

Members

pGpuInstructions
Outputs the serialized GPU instructions, as a pointer to ID3DBlob. pGpuInstructions points to copies of the raw shader GPU instructions as supplied by ID3D12Device::SerializeGraphicsPipelineStateX.

pMetaData
Outputs the serialized metadata, as a pointer to ID3DBlob. Some shaders may have a pGpuInstructions blob but not a corresponding pMetaData blob.

Remarks

This structure is used by the D3D12XBOX_SERIALIZE_GRAPHICS_PIPELINE_STATE structure.

For usage, see SerializeGraphicsPipelineStateX.

Requirements

Header: Declared in d3d12_x.h.

See also

SerializeGraphicsPipelineStateX