Class GLRenderer

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class GLRenderer extends Renderer

Renders a GSK rendernode tree with OpenGL.

See Renderer.

Since:
4.2
  • Constructor Details

    • GLRenderer

      public GLRenderer(MemorySegment address)
      Create a GLRenderer instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • GLRenderer

      public GLRenderer()
      Create a new GLRenderer.
  • Method Details

    • getType

      public static @Nullable Type getType()
      Get the GType of the GLRenderer class.
      Returns:
      the GType
    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • asParent

      protected GLRenderer asParent()
      Return this instance as if it were its parent type. Comparable to the Java super keyword, but ensures the parent typeclass is also used in native code.
      Overrides:
      asParent in class Renderer
      Returns:
      the instance as if it were its parent type
    • builder

      public static GLRenderer.Builder<? extends GLRenderer.Builder> builder()
      A GLRenderer.Builder object constructs a GLRenderer with the specified properties. Use the various set...() methods to set properties, and finish construction with GLRenderer.Builder.build().
      Returns:
      the builder object