---
UID: NF:d3d12.ID3D12PipelineLibrary.GetSerializedSize
title: ID3D12PipelineLibrary::GetSerializedSize (d3d12.h)
description: Returns the amount of memory required to serialize the current contents of the database.
old-location: direct3d12\id3d12pipelinelibrary_getserializedsize.htm
tech.root: direct3d12
ms.assetid: 45DA092B-AB9B-43BE-8F5C-AE05485EA3C1
ms.date: 12/05/2018
ms.keywords: GetSerializedSize, GetSerializedSize method, GetSerializedSize method,ID3D12PipelineLibrary interface, ID3D12PipelineLibrary interface,GetSerializedSize method, ID3D12PipelineLibrary.GetSerializedSize, ID3D12PipelineLibrary::GetSerializedSize, d3d12/ID3D12PipelineLibrary::GetSerializedSize, direct3d12.id3d12pipelinelibrary_getserializedsize
f1_keywords:
- d3d12/ID3D12PipelineLibrary.GetSerializedSize
dev_langs:
- c++
req.header: d3d12.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: 
req.target-min-winversvr: 
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: D3d12.lib
req.dll: D3d12.dll
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- d3d12.dll
api_name:
- ID3D12PipelineLibrary.GetSerializedSize
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# ID3D12PipelineLibrary::GetSerializedSize


## -description


Returns the amount of memory required to serialize the current contents of the database. 



## -parameters






## -returns



Type: <b>SIZE_T</b>

This method returns a SIZE_T object, containing the size required in bytes.




## -remarks



Refer to the remarks and examples for <a href="https://docs.microsoft.com/windows/desktop/api/d3d12/nf-d3d12-id3d12device1-createpipelinelibrary">CreatePipelineLibrary</a>. 




## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/d3d12/nn-d3d12-id3d12pipelinelibrary">ID3D12PipelineLibrary</a>
 

 

