com.jme3.shader
クラス Uniform

java.lang.Object
  上位を拡張 com.jme3.shader.ShaderVariable
      上位を拡張 com.jme3.shader.Uniform
すべての実装されたインタフェース:
Savable

public class Uniform
extends ShaderVariable


コンストラクタの概要
Uniform()
           
 
メソッドの概要
 void clearSetByCurrentMaterial()
           
 void clearUpdateNeeded()
           
 void clearValue()
           
 UniformBinding getBinding()
           
 java.lang.Object getValue()
           
 VarType getVarType()
           
 boolean isSetByCurrentMaterial()
           
 boolean isUpdateNeeded()
           
 void read(JmeImporter im)
           
 void reset()
           
 void setBinding(UniformBinding binding)
           
 void setValue(VarType type, java.lang.Object value)
           
 void setVector4InArray(float x, float y, float z, float w, int index)
           
 void setVector4Length(int length)
           
 java.lang.String toString()
           
 void write(JmeExporter ex)
           
 
クラス com.jme3.shader.ShaderVariable から継承されたメソッド
getLocation, getName, setLocation, setName
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

Uniform

public Uniform()
メソッドの詳細

write

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

read

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

toString

public java.lang.String toString()
オーバーライド:
クラス java.lang.Object 内の toString

setBinding

public void setBinding(UniformBinding binding)

getBinding

public UniformBinding getBinding()

getVarType

public VarType getVarType()

getValue

public java.lang.Object getValue()

isSetByCurrentMaterial

public boolean isSetByCurrentMaterial()

clearSetByCurrentMaterial

public void clearSetByCurrentMaterial()

clearValue

public void clearValue()

setValue

public void setValue(VarType type,
                     java.lang.Object value)

setVector4Length

public void setVector4Length(int length)

setVector4InArray

public void setVector4InArray(float x,
                              float y,
                              float z,
                              float w,
                              int index)

isUpdateNeeded

public boolean isUpdateNeeded()

clearUpdateNeeded

public void clearUpdateNeeded()

reset

public void reset()