PFND3DDDI_SETRENDERTARGET callback function (d3dumddi.h)
The SetRenderTarget function sets the render target surface.
Syntax
PFND3DDDI_SETRENDERTARGET Pfnd3dddiSetrendertarget;
HRESULT Pfnd3dddiSetrendertarget(
HANDLE hDevice,
const D3DDDIARG_SETRENDERTARGET *unnamedParam2
)
{...}
Parameters
hDevice
A handle to the display device (graphics context).
unnamedParam2
pData [in]
A pointer to a D3DDDIARG_SETRENDERTARGET structure that describes the render target surface.
Return value
SetRenderTarget returns S_OK or an appropriate error result if the render target surface is not successfully set.
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) |