com.jme3.texture
クラス Texture2D

java.lang.Object
  上位を拡張 com.jme3.texture.Texture
      上位を拡張 com.jme3.texture.Texture2D
すべての実装されたインタフェース:
Asset, Savable, java.lang.Cloneable

public class Texture2D
extends Texture


入れ子のクラスの概要
 
クラス com.jme3.texture.Texture から継承された入れ子のクラス/インタフェース
Texture.MagFilter, Texture.MinFilter, Texture.ShadowCompareMode, Texture.Type, Texture.WrapAxis, Texture.WrapMode
 
コンストラクタの概要
Texture2D()
          Creates a new two-dimensional texture with default attributes.
Texture2D(Image img)
          Creates a new two-dimensional texture using the given image.
Texture2D(int width, int height, Image.Format format)
          Creates a new two-dimensional texture for the purpose of offscreen rendering.
Texture2D(int width, int height, int numSamples, Image.Format format)
          Creates a new two-dimensional texture for the purpose of offscreen rendering.
 
メソッドの概要
 Texture createSimpleClone()
           
 Texture createSimpleClone(Texture rVal)
          Retreive a basic clone of this Texture (ie, clone everything but the image data, which is shared)
 boolean equals(java.lang.Object other)
           
 Texture.Type getType()
           
 Texture.WrapMode getWrap(Texture.WrapAxis axis)
          getWrap returns the wrap mode for a given coordinate axis on this texture.
 int hashCode()
           
 void read(JmeImporter e)
           
 void setWrap(Texture.WrapAxis axis, Texture.WrapMode mode)
          setWrap sets the wrap mode of this texture for a particular axis.
 void setWrap(Texture.WrapMode mode)
          setWrap sets the wrap mode of this texture for all axis.
 void write(JmeExporter e)
           
 
クラス com.jme3.texture.Texture から継承されたメソッド
clone, getAnisotropicFilter, getImage, getKey, getMagFilter, getMinFilter, getName, getShadowCompareMode, setAnisotropicFilter, setImage, setKey, setMagFilter, setMinFilter, setName, setShadowCompareMode, toString
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

Texture2D

public Texture2D()
Creates a new two-dimensional texture with default attributes.


Texture2D

public Texture2D(Image img)
Creates a new two-dimensional texture using the given image.

パラメータ:
img - The image to use.

Texture2D

public Texture2D(int width,
                 int height,
                 Image.Format format)
Creates a new two-dimensional texture for the purpose of offscreen rendering.

パラメータ:
width -
height -
format -
関連項目:
FrameBuffer

Texture2D

public Texture2D(int width,
                 int height,
                 int numSamples,
                 Image.Format format)
Creates a new two-dimensional texture for the purpose of offscreen rendering.

パラメータ:
width -
height -
format -
numSamples -
関連項目:
FrameBuffer
メソッドの詳細

createSimpleClone

public Texture createSimpleClone()
定義:
クラス Texture 内の createSimpleClone

createSimpleClone

public Texture createSimpleClone(Texture rVal)
クラス Texture の記述:
Retreive a basic clone of this Texture (ie, clone everything but the image data, which is shared)

オーバーライド:
クラス Texture 内の createSimpleClone
戻り値:
Texture

setWrap

public void setWrap(Texture.WrapAxis axis,
                    Texture.WrapMode mode)
setWrap sets the wrap mode of this texture for a particular axis.

定義:
クラス Texture 内の setWrap
パラメータ:
axis - the texture axis to define a wrapmode on.
mode - the wrap mode for the given axis of the texture.
例外:
java.lang.IllegalArgumentException - if axis or mode are null

setWrap

public void setWrap(Texture.WrapMode mode)
setWrap sets the wrap mode of this texture for all axis.

定義:
クラス Texture 内の setWrap
パラメータ:
mode - the wrap mode for the given axis of the texture.
例外:
java.lang.IllegalArgumentException - if mode is null

getWrap

public Texture.WrapMode getWrap(Texture.WrapAxis axis)
getWrap returns the wrap mode for a given coordinate axis on this texture.

定義:
クラス Texture 内の getWrap
パラメータ:
axis - the axis to return for
戻り値:
the wrap mode of the texture.
例外:
java.lang.IllegalArgumentException - if axis is null

getType

public Texture.Type getType()
定義:
クラス Texture 内の getType

equals

public boolean equals(java.lang.Object other)
オーバーライド:
クラス Texture 内の equals

hashCode

public int hashCode()
オーバーライド:
クラス Texture 内の hashCode

write

public void write(JmeExporter e)
           throws java.io.IOException
定義:
インタフェース Savable 内の write
オーバーライド:
クラス Texture 内の write
例外:
java.io.IOException

read

public void read(JmeImporter e)
          throws java.io.IOException
定義:
インタフェース Savable 内の read
オーバーライド:
クラス Texture 内の read
例外:
java.io.IOException