Class VulkanRenderer

All Implemented Interfaces:
Proxy

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

Renders a GSK rendernode tree with Vulkan.

This renderer will fail to realize if Vulkan is not supported.

  • Constructor Details

    • VulkanRenderer

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

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

    • getType

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

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

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