Package org.lwjgl.stb

Class STBRPContext

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer


    public class STBRPContext
    extends Struct
    The opaque stbrp_context struct.
    • Field Detail

      • SIZEOF

        public static final int SIZEOF
        The struct size in bytes.
    • Constructor Detail

      • STBRPContext

        public STBRPContext(java.nio.ByteBuffer container)
        Creates a STBRPContext instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.