Click to Rate and Give Feedback
MSDN
MSDN Library
XNA Game Studio
XNA Game Studio 3.1
BasicEffect Class
 Texture Property
Collapse All/Expand All Collapse All
XNA Game Studio 3.1
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)

C#
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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker