Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The SetTexture function inserts a texture at a particular stage in a multiple-texture group.
Syntax
PFND3DDDI_SETTEXTURE Pfnd3dddiSettexture;
HRESULT Pfnd3dddiSettexture(
HANDLE hDevice,
UINT unnamedParam2,
HANDLE unnamedParam3
)
{...}
Parameters
hDevice
A handle to the display device (graphics context).
unnamedParam2
hTexture [in]
A handle to the texture to insert.
unnamedParam3
Return value
SetTexture returns S_OK or an appropriate error result if the texture is not successfully inserted.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
| Target Platform | Desktop |
| Header | d3dumddi.h (include D3dumddi.h) |