// d3d12umddi.h
PFND3D12DDI_CALC_PRIVATE_SHADER_SIZE Pfnd3d12ddiCalcPrivateShaderSize;
SIZE_T Pfnd3d12ddiCalcPrivateShaderSize(
D3D12DDI_HDEVICE unnamedParam1,
const UINT *pShaderCode,
D3D12DDI_HROOTSIGNATURE unnamedParam3,
const D3D12DDIARG_STAGE_IO_SIGNATURES *unnamedParam4
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Determines the size of the user-mode display driver's private region of memory (that is, the size of internal driver structures, not the size of the resource video memory) for a shader.
unnamedParam1A handle to the display device (graphics context).
pShaderCodePointer to a shader code.
unnamedParam3A handle to a root signature.
unnamedParam4Pointer to a D3D12DDIARG_STAGE_IO_SIGNATURES structure.
Returns SIZE_T.
//Declaration
PFND3D12DDI_CALC_PRIVATE_SHADER_SIZE Pfnd3d12ddiCalcPrivateShaderSize;
// Definition
SIZE_T Pfnd3d12ddiCalcPrivateShaderSize
(
D3D12DDI_HDEVICE Arg1
const UINT *pShaderCode
D3D12DDI_HROOTSIGNATURE Arg2
const D3D12DDIARG_STAGE_IO_SIGNATURES *
)
{...}