PFND3D12DDI_CALCPRIVATEDESERIALIZEDOBJECTSIZE callback function (d3d12umddi.h)
CalcPrivateDeserializedObjectSize is called to get the size of the private driver data that the runtime should allocate for the driver to instantiate an object from serialized form.
Syntax
PFND3D12DDI_CALCPRIVATEDESERIALIZEDOBJECTSIZE Pfnd3d12ddiCalcprivatedeserializedobjectsize;
SIZE_T Pfnd3d12ddiCalcprivatedeserializedobjectsize(
D3D12DDI_HDEVICE HDEVICE,
D3D12DDI_HANDLETYPE HandleType,
SIZE_T BlobSize,
const UINT *pBlob
)
{...}
Parameters
HDEVICE
Device handle.
HandleType
Type of object being loaded.
BlobSize
Size of serialized blob.
pBlob
Serialized blob.
Return value
Returns SIZE_T.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Header | d3d12umddi.h |