Class ExrContextCreateInfo

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class ExrContextCreateInfo extends Struct<ExrContextCreateInfo> implements NativeResource
struct ExrContextCreateInfo {
    uint32_t api_version;
    ExrAllocator const * allocator;
    ExrErrorCallback error_callback;
    void * error_userdata;
    uint32_t flags;
    uint32_t max_threads;
}
  • Field Details

    • SIZEOF

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

      public static final int ALIGNOF
      The struct alignment in bytes.
    • API_VERSION

      public static final int API_VERSION
      The struct member offsets.
    • ALLOCATOR

      public static final int ALLOCATOR
      The struct member offsets.
    • ERROR_CALLBACK

      public static final int ERROR_CALLBACK
      The struct member offsets.
    • ERROR_USERDATA

      public static final int ERROR_USERDATA
      The struct member offsets.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
    • MAX_THREADS

      public static final int MAX_THREADS
      The struct member offsets.
  • Constructor Details

    • ExrContextCreateInfo

      public ExrContextCreateInfo(ByteBuffer container)
      Creates a ExrContextCreateInfo 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.

  • Method Details