> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetCachedBlob

> Gets the cached blob representing the pipeline state.

Gets the cached blob representing the pipeline state.

## Syntax

```cpp theme={null}
HRESULT GetCachedBlob(
    ID3DBlob  ppBlob
)
```

### Parameters

*ppBlob \[out]*\
Type: ID3DBlob \*\*

After this method returns, points to the cached blob representing the pipeline state.

### Return value

Type: HRESULT

This method returns one of the [Direct3D 12 Return Codes](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/d3d12-graphics-reference-returnvalues).

## Remarks

Refer to the remarks for [D3D12\_CACHED\_PIPELINE\_STATE](/reference/graphics/d3d12/structs/d3d12_cached_pipeline_state_public).

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also

[ID3D12PipelineState](/reference/graphics/d3d12_xs/interfaces/ID3D12PipelineState/id3d12pipelinestate_xs)
