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)
Syntax
public Texture2D Texture { get; set; }
Property Value
Texture to be applied by this effect.
Remarks
If the TextureFilter sampler state is not set, the default filter for BasicEffect is TextureFilter.Linear.
See Also
Reference
BasicEffect Class
BasicEffect Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista