Skip to content

Latest commit

 

History

History
96 lines (68 loc) · 3.46 KB

nf-d3d9-idirect3ddevice9-settexturestagestate.md

File metadata and controls

96 lines (68 loc) · 3.46 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:d3d9.IDirect3DDevice9.SetTextureStageState
IDirect3DDevice9::SetTextureStageState (d3d9.h)
The IDirect3DDevice9::SetTextureStageState method (d3d9helper.h) sets the state value for the currently assigned texture.
IDirect3DDevice9 interface [Direct3D 9]
SetTextureStageState method
IDirect3DDevice9.SetTextureStageState
IDirect3DDevice9::SetTextureStageState
SetTextureStageState
SetTextureStageState method [Direct3D 9]
SetTextureStageState method [Direct3D 9]
IDirect3DDevice9 interface
d3d9helper/IDirect3DDevice9::SetTextureStageState
d527a1a7-ab83-8b59-b7eb-084188448dc6
direct3d9.idirect3ddevice9__settexturestagestate
direct3d9\idirect3ddevice9__settexturestagestate.htm
direct3d9
VS|directx_sdk|~\idirect3ddevice9__settexturestagestate.htm
08/11/2022
IDirect3DDevice9 interface [Direct3D 9],SetTextureStageState method, IDirect3DDevice9.SetTextureStageState, IDirect3DDevice9::SetTextureStageState, SetTextureStageState, SetTextureStageState method [Direct3D 9], SetTextureStageState method [Direct3D 9],IDirect3DDevice9 interface, d3d9helper/IDirect3DDevice9::SetTextureStageState, d527a1a7-ab83-8b59-b7eb-084188448dc6, direct3d9.idirect3ddevice9__settexturestagestate
d3d9.h
D3D9.h
Windows
D3D9.lib
Windows
19H1
IDirect3DDevice9::SetTextureStageState
d3d9/IDirect3DDevice9::SetTextureStageState
c++
APIRef
kbSyntax
COM
D3D9.lib
D3D9.dll
IDirect3DDevice9.SetTextureStageState

IDirect3DDevice9::SetTextureStageState

-description

Sets the state value for the currently assigned texture.

-parameters

-param Stage [in]

Type: DWORD

Stage identifier of the texture for which the state value is set. Stage identifiers are zero-based. Devices can have up to eight set textures, so the maximum value allowed for Stage is 7.

-param Type [in]

Type: D3DTEXTURESTAGESTATETYPE

Texture state to set. This parameter can be any member of the D3DTEXTURESTAGESTATETYPE enumerated type.

-param Value [in]

Type: DWORD

State value to set. The meaning of this value is determined by the Type parameter.

-returns

Type: HRESULT

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.

-see-also

IDirect3DDevice9

IDirect3DDevice9::GetTexture

IDirect3DDevice9::GetTextureStageState

IDirect3DDevice9::SetTexture