Class GlslDoubleConstantNode
java.lang.Object
io.github.ocelot.glslprocessor.api.node.constant.GlslDoubleConstantNode
- All Implemented Interfaces:
GlslConstantNode,GlslNode
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.ocelot.glslprocessor.api.node.constant.GlslConstantNode
floatValue, intValue, stream, unsignedIntValue, visit
-
Constructor Details
-
GlslDoubleConstantNode
@Internal public GlslDoubleConstantNode(double value)
-
-
Method Details
-
numberValue
- Specified by:
numberValuein interfaceGlslConstantNode
-
doubleValue
public double doubleValue()- Specified by:
doubleValuein interfaceGlslConstantNode
-
booleanValue
public boolean booleanValue()- Specified by:
booleanValuein interfaceGlslConstantNode
-
isNumber
public boolean isNumber()- Specified by:
isNumberin interfaceGlslConstantNode
-
set
- Specified by:
setin interfaceGlslConstantNode
-
set
public void set(boolean value) - Specified by:
setin interfaceGlslConstantNode
-
toString
-
getNodeType
- Specified by:
getNodeTypein interfaceGlslNode- Returns:
- The type of node this class represents
-
equals
-
hashCode
public int hashCode()
-