text: ---
  title: ID3DX12PipelineParserCallbacks SampleDescCb method (D3DX12.h)
  description: Calls the sample description subobject callback of an object that implements this interface.
  ms.assetid: 32F112D3-97B1-45C2-8744-9F27DC95C249
  keywords:
  - SampleDescCb method
  - SampleDescCb method, ID3DX12PipelineParserCallbacks interface
  - ID3DX12PipelineParserCallbacks interface, SampleDescCb method
  topic_type:
  - apiref
  api_name:
  - ID3DX12PipelineParserCallbacks.SampleDescCb
  api_location:
  - D3D12.dll
  api_type:
  - COM
  ms.localizationpriority: low
  ms.topic: reference
  ms.date: 05/31/2018
  ---
  
  # ID3DX12PipelineParserCallbacks::SampleDescCb method
  
  Calls the sample description subobject callback of an object that implements this interface.
  
  ## Syntax
  
  
  ```C++
  void SampleDescCb(
    [ref] const DXGI_SAMPLE_DESC &SampleDesc
  );
  ```
  
  
  
  ## Parameters
  
  <dl> <dt>
  
  *SampleDesc* \[ref\]
  </dt> <dd>
  
  Type: **const [**DXGI\_SAMPLE\_DESC**](/windows/desktop/api/dxgicommon/ns-dxgicommon-dxgi_sample_desc)**
  
  Details of the sample description subobject parsed from a pipeline state stream.
  
  </dd> </dl>
  
  ## Return value
  
  Returns nothing.
  
  ## Requirements
  
  
  
  |                    |                                                                                      |
  |--------------------|--------------------------------------------------------------------------------------|
  | Header<br/>  | <dl> <dt>D3DX12.h</dt> </dl>  |
  | Library<br/> | <dl> <dt>D3D12.lib</dt> </dl> |
  | DLL<br/>     | <dl> <dt>D3D12.dll</dt> </dl> |
  
  
  
  ## See also
  
  <dl> <dt>
  
  [Helper Interfaces for Direct3D 12](helper-interfaces-for-d3d12.md)
  </dt> <dt>
  
  [**ID3DX12PipelineParserCallbacks**](id3dx12pipelineparsercallbacks.md)
  </dt> <dt>
  
  [**DXGI\_SAMPLE\_DESC**](/windows/desktop/api/dxgicommon/ns-dxgicommon-dxgi_sample_desc)
  </dt> </dl>
  
   
  
  