com.jme3.shader
クラス Shader.ShaderSource
java.lang.Object
com.jme3.renderer.GLObject
com.jme3.shader.Shader.ShaderSource
- すべての実装されたインタフェース:
- Savable, java.lang.Cloneable
- 含まれているクラス:
- Shader
public static class Shader.ShaderSource
- extends GLObject
- implements Savable
Shader source describes a shader object in OpenGL. Each shader source
is assigned a certain pipeline which it controls (described by it's type).
クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Shader.ShaderSource
public Shader.ShaderSource(Shader.ShaderType type)
Shader.ShaderSource
public Shader.ShaderSource()
write
public void write(JmeExporter ex)
throws java.io.IOException
- 定義:
- インタフェース
Savable
内の write
- 例外:
java.io.IOException
read
public void read(JmeImporter im)
throws java.io.IOException
- 定義:
- インタフェース
Savable
内の read
- 例外:
java.io.IOException
setName
public void setName(java.lang.String name)
getName
public java.lang.String getName()
getType
public Shader.ShaderType getType()
setSource
public void setSource(java.lang.String source)
setDefines
public void setDefines(java.lang.String defines)
getSource
public java.lang.String getSource()
getDefines
public java.lang.String getDefines()
isUsable
public boolean isUsable()
setUsable
public void setUsable(boolean usable)
toString
public java.lang.String toString()
- オーバーライド:
- クラス
GLObject
内の toString
resetObject
public void resetObject()
- クラス
GLObject
の記述:
- Called when the GL context is restarted to reset all IDs. Prevents
"white textures" on display restart.
- 定義:
- クラス
GLObject
内の resetObject
deleteObject
public void deleteObject(Renderer r)
- クラス
GLObject
の記述:
- Deletes the GL object from the GPU when it is no longer used. Called
automatically by the GL object manager.
- 定義:
- クラス
GLObject
内の deleteObject
- パラメータ:
r
- The renderer to be used to delete the object
createDestructableClone
public GLObject createDestructableClone()
- クラス
GLObject
の記述:
- Creates a shallow clone of this GL Object. The deleteObject method
should be functional for this object.
- 定義:
- クラス
GLObject
内の createDestructableClone