EffectStateManager.SetTexture Method |
Language: |
Sets a texture.
Visual Basic .NET MustOverride Public Sub SetTexture( _
ByVal textureStage As Integer, _
ByVal texture As BaseTexture _
)C# public abstract void SetTexture(
int textureStage,
BaseTexture texture
);Managed C++ public: virtual void SetTexture(
int textureStage,
BaseTexture *texture
) = 0;JScript .NET public abstract function SetTexture(
textureStage : int,
texture : BaseTexture
);
textureStage System.Int32. The zero-based texture stage index. texture Microsoft.DirectX.Direct3D.BaseTexture. A BaseTexture object that represents the texture to set.
SetTexture is a user-implemented method that is called from an effect during rendering.
Feedback? Please provide us with your comments on this topic.