Class GLShaderNode

All Implemented Interfaces:
PointerInterface

public class GLShaderNode extends RenderNode
A render node using a GL shader when drawing its children nodes.

https://docs.gtk.org/gsk4/class.GLShaderNode.html

  • Constructor Details

  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getArgs

      public Bytes getArgs()
      Gets args for the node.
      Returns:
      A `GBytes` with the uniform arguments
    • getChild

      public RenderNode getChild(int idx)
      Gets one of the children.
      Parameters:
      idx - the position of the child to get
      Returns:
      the @idx'th child of @node
    • getNChildren

      public int getNChildren()
      Returns the number of children
      Returns:
      The number of children
    • getShader

      public GLShader getShader()
      Gets shader code for the node.
      Returns:
      the `GskGLShader` shader
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()