Partager via


BaseEffect.GetValueTexture(EffectHandle) Method (Microsoft.DirectX.Direct3D)

Retrieves a texture.

Definition

Visual Basic Public Function GetValueTexture( _
    ByVal parameter As EffectHandle _
) As Texture
C# public Texture GetValueTexture(
    EffectHandle parameter
);
C++ public:
TextureGetValueTexture(
    EffectHandleparameter
);
JScript public function GetValueTexture(
    parameter : EffectHandle
) : Texture;

Parameters

parameter Microsoft.DirectX.Direct3D.EffectHandle
Unique EffectHandle identifier.

Return Value

Microsoft.DirectX.Direct3D.Texture
A Texture object.

Remarks

Exceptions

InvalidCallException

The call is invalid.

Applies To

Effect, EffectCompiler