BasicEffect.Texture Property

Gets or sets a texture to be applied by this effect.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public Texture2D Texture { get; set; }

Property Value

Texture to be applied by this effect.

If the TextureFilter sampler state is not set, the default filter for BasicEffect is TextureFilter.Linear.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

ADD
Show: