PFND3DDDI_SETTEXTURE callback function

The SetTexture function inserts a texture at a particular stage in a multiple-texture group.

Syntax

PFND3DDDI_SETTEXTURE Pfnd3dddiSettexture;

HRESULT Pfnd3dddiSettexture(
  HANDLE hDevice,
  UINT Arg2,
  HANDLE Arg3
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

Arg2

hTexture [in]

A handle to the texture to insert.

Arg3

Return Value

SetTexture returns S_OK or an appropriate error result if the texture is not successfully inserted.

Requirements

   
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header d3dumddi.h (include D3dumddi.h)

See Also

D3DDDI_DEVICEFUNCS