|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.texture.Texture
com.jme3.texture.Texture2D
public class Texture2D
入れ子のクラスの概要 |
---|
クラス 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 |
コンストラクタの詳細 |
---|
public Texture2D()
public Texture2D(Image img)
img
- The image to use.public Texture2D(int width, int height, Image.Format format)
width
- height
- format
- FrameBuffer
public Texture2D(int width, int height, int numSamples, Image.Format format)
width
- height
- format
- numSamples
- FrameBuffer
メソッドの詳細 |
---|
public Texture createSimpleClone()
Texture
内の createSimpleClone
public Texture createSimpleClone(Texture rVal)
Texture
の記述:
Texture
内の createSimpleClone
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 nullpublic 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 nullpublic 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
java.lang.IllegalArgumentException
- if axis is nullpublic Texture.Type getType()
Texture
内の getType
public boolean equals(java.lang.Object other)
Texture
内の equals
public int hashCode()
Texture
内の hashCode
public void write(JmeExporter e) throws java.io.IOException
Savable
内の write
Texture
内の write
java.io.IOException
public void read(JmeImporter e) throws java.io.IOException
Savable
内の read
Texture
内の read
java.io.IOException
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |