Bewerken

Delen via


PFND3D12DDI_CREATE_COMPUTE_SHADER_0003 callback function (d3d12umddi.h)

Create a compute shader.

Syntax

PFND3D12DDI_CREATE_COMPUTE_SHADER_0003 Pfnd3d12ddiCreateComputeShader0003;

void Pfnd3d12ddiCreateComputeShader0003(
  D3D12DDI_HDEVICE unnamedParam1,
  const UINT *pShaderCode,
  D3D12DDI_HROOTSIGNATURE unnamedParam3,
  D3D12DDI_HSHADER unnamedParam4,
  D3D12DDI_CREATE_SHADER_FLAGS unnamedParam5
)
{...}

Parameters

unnamedParam1

A handle to the display device (graphics context).

pShaderCode

Pointer to a shader code.

unnamedParam3

A handle to a root signature.

unnamedParam4

A shader handle.

unnamedParam5

Flags to create a shader.

Return value

None

Requirements

Requirement Value
Header d3d12umddi.h