com.jme3.texture
列挙型 Texture.WrapMode

java.lang.Object
  上位を拡張 java.lang.Enum<Texture.WrapMode>
      上位を拡張 com.jme3.texture.Texture.WrapMode
すべての実装されたインタフェース:
java.io.Serializable, java.lang.Comparable<Texture.WrapMode>
含まれているクラス:
Texture

public static enum Texture.WrapMode
extends java.lang.Enum<Texture.WrapMode>


列挙型定数の概要
BorderClamp
          coordinate will be clamped to the range [-1/(2N), 1 + 1/(2N)] where N is the size of the texture in the direction of clamping.
Clamp
          coordinate will be clamped to [0,1]
EdgeClamp
          coordinate will be clamped to the range [1/(2N), 1 - 1/(2N)] where N is the size of the texture in the direction of clamping.
MirrorBorderClamp
          Wrap mode MIRROR_CLAMP_TO_BORDER_EXT mirrors and clamps to border the texture coordinate, where mirroring and clamping to border a value f computes: mirrorClampToBorder(f) = min(1+1/(2*N), max(1/(2*N), abs(f))) where N is the size of the one-, two-, or three-dimensional texture image in the direction of wrapping."
MirrorClamp
          mirrors and clamps the texture coordinate, where mirroring and clamping a value f computes: mirrorClamp(f) = min(1, max(1/(2*N), abs(f))) where N is the size of the one-, two-, or three-dimensional texture image in the direction of wrapping.
MirrorEdgeClamp
          mirrors and clamps to edge the texture coordinate, where mirroring and clamping to edge a value f computes: mirrorClampToEdge(f) = min(1-1/(2*N), max(1/(2*N), abs(f))) where N is the size of the one-, two-, or three-dimensional texture image in the direction of wrapping.
MirroredRepeat
          Only the fractional portion of the coordinate is considered, but if the integer portion is odd, we'll use 1 - the fractional portion.
Repeat
          Only the fractional portion of the coordinate is considered.
 
メソッドの概要
static Texture.WrapMode valueOf(java.lang.String name)
          指定した名前を持つこの型の列挙型定数を返します。
static Texture.WrapMode[] values()
          この列挙型の定数を含む配列を宣言されている順序で返します。
 
クラス java.lang.Enum から継承されたメソッド
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, wait, wait, wait
 

列挙型定数の詳細

Repeat

public static final Texture.WrapMode Repeat
Only the fractional portion of the coordinate is considered.


MirroredRepeat

public static final Texture.WrapMode MirroredRepeat
Only the fractional portion of the coordinate is considered, but if the integer portion is odd, we'll use 1 - the fractional portion. (Introduced around OpenGL1.4) Falls back on Repeat if not supported.


Clamp

public static final Texture.WrapMode Clamp
coordinate will be clamped to [0,1]


MirrorClamp

public static final Texture.WrapMode MirrorClamp
mirrors and clamps the texture coordinate, where mirroring and clamping a value f computes: mirrorClamp(f) = min(1, max(1/(2*N), abs(f))) where N is the size of the one-, two-, or three-dimensional texture image in the direction of wrapping. (Introduced after OpenGL1.4) Falls back on Clamp if not supported.


BorderClamp

public static final Texture.WrapMode BorderClamp
coordinate will be clamped to the range [-1/(2N), 1 + 1/(2N)] where N is the size of the texture in the direction of clamping. Falls back on Clamp if not supported.


MirrorBorderClamp

public static final Texture.WrapMode MirrorBorderClamp
Wrap mode MIRROR_CLAMP_TO_BORDER_EXT mirrors and clamps to border the texture coordinate, where mirroring and clamping to border a value f computes: mirrorClampToBorder(f) = min(1+1/(2*N), max(1/(2*N), abs(f))) where N is the size of the one-, two-, or three-dimensional texture image in the direction of wrapping." (Introduced after OpenGL1.4) Falls back on BorderClamp if not supported.


EdgeClamp

public static final Texture.WrapMode EdgeClamp
coordinate will be clamped to the range [1/(2N), 1 - 1/(2N)] where N is the size of the texture in the direction of clamping. Falls back on Clamp if not supported.


MirrorEdgeClamp

public static final Texture.WrapMode MirrorEdgeClamp
mirrors and clamps to edge the texture coordinate, where mirroring and clamping to edge a value f computes: mirrorClampToEdge(f) = min(1-1/(2*N), max(1/(2*N), abs(f))) where N is the size of the one-, two-, or three-dimensional texture image in the direction of wrapping. (Introduced after OpenGL1.4) Falls back on EdgeClamp if not supported.

メソッドの詳細

values

public static Texture.WrapMode[] values()
この列挙型の定数を含む配列を宣言されている順序で返します。 このメソッドは次のようにして定数を反復するために使用できます:
for (Texture.WrapMode c : Texture.WrapMode.values())
    System.out.println(c);

戻り値:
この列挙型の定数を宣言されている順序で含む配列

valueOf

public static Texture.WrapMode valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と厳密に 一致している必要があります (余分な空白文字を含めることはできません)。

パラメータ:
name - 返される列挙型定数の名前
戻り値:
指定された名前を持つ列挙型定数
例外:
java.lang.IllegalArgumentException - 指定された名前を持つ定数を この列挙型が持っていない場合
java.lang.NullPointerException - 引数が null の場合