Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BasicEffect.Texture Property

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

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.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 7, Windows Vista, Windows XP, Windows Phone 7

Community Additions

© 2015 Microsoft