PFND3DDDI_SETTEXTURESTAGESTATE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

PFND3DDDI_SETTEXTURESTAGESTATE Pfnd3dddiSettexturestagestate;

HRESULT Pfnd3dddiSettexturestagestate(
  HANDLE hDevice,
  const D3DDDIARG_TEXTURESTAGESTATE *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dumddi-pfnd3dddi_settexturestagestate)

PFND3DDDI_SETTEXTURESTAGESTATE callback function

Description

The SetTextureStageState function updates the state of a texture at a particular stage in a multiple-texture group.

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in]

A pointer to a D3DDDIARG_TEXTURESTAGESTATE structure that describes how to update the texture.

Return value

SetTextureStageState returns S_OK or an appropriate error result if the texture is not successfully updated.

Remarks

The user-mode display driver is not required to store colorkey values in its private allocation structure because the Microsoft Direct3D runtime always passes the appropriate colorkeying information in calls to the driver's SetTextureStageState function. For example, the runtime passes the following colorkey information in the indicated members of the D3DDDIARG_TEXTURESTAGESTATE structure that is pointed to by pData to perform the indicated colorkey operation:

See also

D3DDDIARG_TEXTURESTAGESTATE

D3DDDI_DEVICEFUNCS