Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Sets a texture.
HRESULT SetTexture(
[in] D3DXHANDLE hParameter,
[in] LPDIRECT3DBASETEXTURE9 pTexture
);
hParameter [in]
Type: D3DXHANDLE
Unique identifier. See Handles (Direct3D 9).
pTexture [in]
Type: LPDIRECT3DBASETEXTURE9
Texture object. See IDirect3DBaseTexture9.
Type: HRESULT
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.
Requirement | Value |
---|---|
Header |
|
Library |
|
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today