Class TextureNode

All Implemented Interfaces:
PointerInterface

public class TextureNode extends RenderNode
A render node for a `GdkTexture`.

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

  • Constructor Details

    • TextureNode

      public TextureNode(PointerContainer pointer)
    • TextureNode

      public TextureNode(@Nonnull Texture texture, @Nonnull Rect bounds)
      Creates a `GskRenderNode` that will render the given
      @texture into the area given by @bounds.
      Parameters:
      texture - the `GdkTexture`
      bounds - the rectangle to render the texture into
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getTexture

      public Texture getTexture()
      Retrieves the `GdkTexture` used when creating this `GskRenderNode`.
      Returns:
      the `GdkTexture`
    • 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()