Package org.lwjgl.sdl

Class SDL_GPUTextureTransferInfo

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class SDL_GPUTextureTransferInfo extends Struct<SDL_GPUTextureTransferInfo> implements NativeResource

 struct SDL_GPUTextureTransferInfo {
     SDL_GPUTransferBuffer * transfer_buffer;
     Uint32 offset;
     Uint32 pixels_per_row;
     Uint32 rows_per_layer;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int TRANSFER_BUFFER
      The struct member offsets.
    • OFFSET

      public static final int OFFSET
      The struct member offsets.
    • PIXELS_PER_ROW

      public static final int PIXELS_PER_ROW
      The struct member offsets.
    • ROWS_PER_LAYER

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

    • SDL_GPUTextureTransferInfo

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