Class NglRenderer

All Implemented Interfaces:
Proxy

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

A GL based renderer.

See Renderer.

  • Constructor Details

    • NglRenderer

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

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

    • getType

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

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

      protected NglRenderer 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 NglRenderer.Builder<? extends NglRenderer.Builder> builder()
      A NglRenderer.Builder object constructs a NglRenderer with the specified properties. Use the various set...() methods to set properties, and finish construction with NglRenderer.Builder.build().
      Returns:
      the builder object