Bewerken

Delen via


PFND3D12DDI_CREATE_SHADER_0003 callback function (d3d12umddi.h)

Create shader.

Syntax

PFND3D12DDI_CREATE_SHADER_0003 Pfnd3d12ddiCreateShader0003;

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

Parameters

unnamedParam1

A handle to the display device (graphics context).

pShaderCode

Pointer to the shader code.

unnamedParam3

A root signature handle.

unnamedParam4

A shader handle.

unnamedParam5

Pointer to a D3D12DDIARG_STAGE_IO_SIGNATURES structure.

unnamedParam6

Flags to create a shader.

Return value

None

Requirements

Requirement Value
Header d3d12umddi.h