Package io.github.libsdl4j.api.surface
Class SDL_Surface_internal
- java.lang.Object
-
- com.sun.jna.Structure
-
- io.github.libsdl4j.api.surface.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 internalStructure
co-located with its parent Pointer-likeSDL_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
.
-
-
Field Summary
Fields Modifier and Type Field Description SDL_Rect
clipRect
Clipping informationint
flags
Read-onlySDL_PixelFormat
format
Read-onlyint
h
Read-onlycom.sun.jna.Pointer
listBlitmap
List of BlitMap that hold a reference to this surfaceint
locked
Information needed for surfaces requiring lockscom.sun.jna.Pointer
map
Info for fast blit mapping to other surfacesint
pitch
Read-onlycom.sun.jna.Pointer
pixels
Read-writeint
refcount
Reference count -- used when freeing surfacecom.sun.jna.Pointer
userdata
Application data associated with the surfaceint
w
Read-only
-
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
-
format
public SDL_PixelFormat format
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 surfaceRead-write
-
locked
public int locked
Information needed for surfaces requiring locksRead-only
-
listBlitmap
public com.sun.jna.Pointer listBlitmap
List of BlitMap that hold a reference to this surfacePrivate
-
clipRect
public SDL_Rect clipRect
Clipping informationRead-only
-
map
public com.sun.jna.Pointer map
Info for fast blit mapping to other surfacesPrivate
-
refcount
public int refcount
Reference count -- used when freeing surfaceRead-mostly
-
-