|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TextureAddressMode>
Microsoft.Xna.Framework.Graphics.TextureAddressMode
public enum TextureAddressMode
Defines modes for addressing texels using texture coordinates that are outside of the typical range of 0.0 to 1.0.
Enum Constant Summary | |
---|---|
Clamp
Texture coordinates outside the range [0.0, 1.0] are set to the texture color at 0.0 or 1.0, respectively. |
|
Mirror
Similar to Wrap, except that the texture is flipped at every integer junction. |
|
Wrap
Tile the texture at every integer junction. |
Method Summary | |
---|---|
static TextureAddressMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TextureAddressMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TextureAddressMode Wrap
public static final TextureAddressMode Clamp
public static final TextureAddressMode Mirror
Method Detail |
---|
public static TextureAddressMode[] values()
for (TextureAddressMode c : TextureAddressMode.values()) System.out.println(c);
public static TextureAddressMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |