Class SDL_GPUBlitInfo

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class SDL_GPUBlitInfo extends Struct<SDL_GPUBlitInfo> implements NativeResource
struct SDL_GPUBlitInfo {
    SDL_GPUBlitRegion source;
    SDL_GPUBlitRegion destination;
    SDL_GPULoadOp load_op;
    SDL_FColor clear_color;
    SDL_FlipMode flip_mode;
    SDL_GPUFilter filter;
    bool cycle;
    Uint8 padding1;
    Uint8 padding2;
    Uint8 padding3;
}
  • Field Details

    • SIZEOF

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

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

      public static final int SOURCE
      The struct member offsets.
    • DESTINATION

      public static final int DESTINATION
      The struct member offsets.
    • LOAD_OP

      public static final int LOAD_OP
      The struct member offsets.
    • CLEAR_COLOR

      public static final int CLEAR_COLOR
      The struct member offsets.
    • FLIP_MODE

      public static final int FLIP_MODE
      The struct member offsets.
    • FILTER

      public static final int FILTER
      The struct member offsets.
    • CYCLE

      public static final int CYCLE
      The struct member offsets.
    • PADDING1

      public static final int PADDING1
      The struct member offsets.
    • PADDING2

      public static final int PADDING2
      The struct member offsets.
    • PADDING3

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

    • SDL_GPUBlitInfo

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