Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
An effect-scalar-variable interface accesses scalar values.
Members
The ID3DX11EffectScalarVariable interface inherits from ID3DX11EffectVariable. ID3DX11EffectScalarVariable also has these types of members:
Methods
The ID3DX11EffectScalarVariable interface has these methods.
| Method | Description |
|---|---|
| GetBool | Get a boolean variable. |
| GetBoolArray | Get an array of boolean variables. |
| GetFloat | Get a floating-point variable. |
| GetFloatArray | Get an array of floating-point variables. |
| GetInt | Get an integer variable. |
| GetIntArray | Get an array of integer variables. |
| SetBool | Set a boolean variable. |
| SetBoolArray | Set an array of boolean variables. |
| SetFloat | Set a floating-point variable. |
| SetFloatArray | Set an array of floating-point variables. |
| SetInt | Set an integer variable. |
| SetIntArray | Set an array of integer variables. |
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 |
|
| Library |
|