Bewerken

Delen via


PFND3D12DDI_CREATE_SAMPLER callback function (d3d12umddi.h)

Create sampler.

Syntax

PFND3D12DDI_CREATE_SAMPLER Pfnd3d12ddiCreateSampler;

void Pfnd3d12ddiCreateSampler(
  D3D12DDI_HDEVICE unnamedParam1,
  const D3D12DDIARG_CREATE_SAMPLER *unnamedParam2,
  D3D12DDI_CPU_DESCRIPTOR_HANDLE DestDescriptor
)
{...}

Parameters

unnamedParam1

A handle to the display device (graphics context).

unnamedParam2

Pointer to a D3D12DDIARG_CREATE_SAMPLER structure.

DestDescriptor

A CPU descriptor handle.

Return value

None

Requirements

Requirement Value
Header d3d12umddi.h