// d3d12umddi.h
PFND3D12DDI_GET_SHADER_STACK_SIZE_0054 Pfnd3d12ddiGetShaderStackSize0054;
UINT Pfnd3d12ddiGetShaderStackSize0054(
D3D12DDI_HSTATEOBJECT_0054 unnamedParam1,
LPCWSTR pExportName
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Retrieves the amount of stack memory required to invoke a ray tracing shader in HLSL (High-Level Shader Language). Ray generation shaders may return nonzero despite being at the bottom of the stack.
unnamedParam1A handle to the state object.
pExportNameShader entry point in the state object for which to retrieve stack size.
Returns the amount of stack, in bytes, required to invoke the shader.
//Declaration
PFND3D12DDI_GET_SHADER_STACK_SIZE_0054 Pfnd3d12ddiGetShaderStackSize0054;
// Definition
UINT Pfnd3d12ddiGetShaderStackSize0054
(
D3D12DDI_HSTATEOBJECT_0054 Arg1
LPCWSTR pExportName
)
{...}