Interface GlslConstantNode

All Superinterfaces:
GlslNode
All Known Implementing Classes:
GlslBoolConstantNode, GlslDoubleConstantNode, GlslFloatConstantNode, GlslIntConstantNode

public interface GlslConstantNode extends GlslNode
Since:
1.0.0
  • Method Details

    • numberValue

      Number numberValue()
    • doubleValue

      default double doubleValue()
    • floatValue

      default float floatValue()
    • intValue

      default int intValue()
    • unsignedIntValue

      default long unsignedIntValue()
    • booleanValue

      boolean booleanValue()
    • isNumber

      boolean isNumber()
    • set

      void set(Number value)
    • set

      void set(boolean value)
    • visit

      default void visit(GlslNodeVisitor visitor)
      Description copied from interface: GlslNode
      Visits this node.
      Specified by:
      visit in interface GlslNode
      Parameters:
      visitor - The visitor visiting this node
    • stream

      default Stream<GlslNode> stream()
      Specified by:
      stream in interface GlslNode