Skip to content

Latest commit

 

History

History
82 lines (50 loc) · 1.79 KB

id3dx11effectscalarvariable-setint.md

File metadata and controls

82 lines (50 loc) · 1.79 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
ID3DX11EffectScalarVariable SetInt method (D3dx11effect.h)
Set an integer variable.
614284be-8f70-4d7e-b797-b67e813615ab
SetInt method Direct3D 11
SetInt method Direct3D 11 , ID3DX11EffectScalarVariable interface
ID3DX11EffectScalarVariable interface Direct3D 11 , SetInt method
apiref
ID3DX11EffectScalarVariable.SetInt
N/A
N/A.dll
COM
reference
05/31/2018

ID3DX11EffectScalarVariable::SetInt method

Set an integer variable.

Syntax

HRESULT SetInt(
   int Value
);

Parameters

Value

Type: int

A pointer to the variable.

Return value

Type: HRESULT

Returns one of the following Direct3D 11 Return Codes.

Remarks

Note

The DirectX SDK does not supply any compiled binaries for effects. You must use Effects 11 source to build your effects-type application. For more information about using Effects 11 source, see Differences Between Effects 10 and Effects 11.

Requirements

Requirement Value
Header
D3dx11effect.h
Library
N/A (An Effects 11 library is available online as shared source.)

See also

ID3DX11EffectScalarVariable