Class SDL_Surface_internal


  • @FieldOrder({"flags","format","w","h","pitch","pixels","userdata","locked","listBlitmap","clipRect","map","refcount"})
    public final class SDL_Surface_internal
    extends com.sun.jna.Structure
    This is an internal Structure co-located with its parent Pointer-like SDL_Surface. It is used for reading fields from the parent pointer.

    Do not use it explicitly in your code.

    Implementation note: No-arg constructor is intentionally omitted as this structure will always be instantiated as part of an existing SDL_Surface.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.sun.jna.Structure

        com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue, com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
    • Field Summary

      Fields 
      Modifier and Type Field Description
      SDL_Rect clipRect
      Clipping information
      int flags
      Read-only
      SDL_PixelFormat format
      Read-only
      int h
      Read-only
      com.sun.jna.Pointer listBlitmap
      List of BlitMap that hold a reference to this surface
      int locked
      Information needed for surfaces requiring locks
      com.sun.jna.Pointer map
      Info for fast blit mapping to other surfaces
      int pitch
      Read-only
      com.sun.jna.Pointer pixels
      Read-write
      int refcount
      Reference count -- used when freeing surface
      com.sun.jna.Pointer userdata
      Application data associated with the surface
      int w
      Read-only
      • Fields inherited from class com.sun.jna.Structure

        ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
    • Constructor Summary

      Constructors 
      Constructor Description
      SDL_Surface_internal​(com.sun.jna.Pointer p)  
    • Method Summary

      • Methods inherited from class com.sun.jna.Structure

        allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
    • Field Detail

      • flags

        public int flags
        Read-only
      • w

        public int w
        Read-only
      • h

        public int h
        Read-only
      • pitch

        public int pitch
        Read-only
      • pixels

        public com.sun.jna.Pointer pixels
        Read-write
      • userdata

        public com.sun.jna.Pointer userdata
        Application data associated with the surface

        Read-write

      • locked

        public int locked
        Information needed for surfaces requiring locks

        Read-only

      • listBlitmap

        public com.sun.jna.Pointer listBlitmap
        List of BlitMap that hold a reference to this surface

        Private

      • clipRect

        public SDL_Rect clipRect
        Clipping information

        Read-only

      • map

        public com.sun.jna.Pointer map
        Info for fast blit mapping to other surfaces

        Private

      • refcount

        public int refcount
        Reference count -- used when freeing surface

        Read-mostly

    • Constructor Detail

      • SDL_Surface_internal

        public SDL_Surface_internal​(com.sun.jna.Pointer p)