de.grogra.imp3d.glsl.material.channel
Class Result
java.lang.Object
de.grogra.imp3d.glsl.material.channel.Result
public class Result
- extends java.lang.Object
Result of all GLSLChanelMap Shaders. Holds String representation and type of
a Shaders result.
- Author:
- Konni Hartmann
Constructor Summary |
Result(java.lang.String value,
int rtType)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ET_BOOL
public static final int ET_BOOL
- See Also:
- Constant Field Values
ET_FLOAT
public static final int ET_FLOAT
- See Also:
- Constant Field Values
ET_UNKNOWN
public static final int ET_UNKNOWN
- See Also:
- Constant Field Values
ET_VEC2
public static final int ET_VEC2
- See Also:
- Constant Field Values
ET_VEC3
public static final int ET_VEC3
- See Also:
- Constant Field Values
ET_VEC4
public static final int ET_VEC4
- See Also:
- Constant Field Values
Result
public Result(java.lang.String value,
int rtType)
convert
public java.lang.String convert(int tarType)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
getReturnType
public int getReturnType()
getTypeString
public static java.lang.String getTypeString(int TYPE)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
reduce
public java.lang.String reduce(int tarType)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object