Package org.freedesktop.wayland.raw
Class wl_subsurface_interface
java.lang.Object
org.freedesktop.wayland.raw.wl_subsurface_interface
struct wl_subsurface_interface {
void (*destroy)(struct wl_client *, struct wl_resource *);
void (*set_position)(struct wl_client *, struct wl_resource *, int32_t, int32_t);
void (*place_above)(struct wl_client *, struct wl_resource *, struct wl_resource *);
void (*place_below)(struct wl_client *, struct wl_resource *, struct wl_resource *);
void (*set_sync)(struct wl_client *, struct wl_resource *);
void (*set_desync)(struct wl_client *, struct wl_resource *);
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
void (*destroy)(struct wl_client *, struct wl_resource *)
static class
void (*place_above)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static class
void (*place_below)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static class
void (*set_desync)(struct wl_client *, struct wl_resource *)
static class
void (*set_position)(struct wl_client *, struct wl_resource *, int32_t, int32_t)
static class
void (*set_sync)(struct wl_client *, struct wl_resource *)
-
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegment
allocate
(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()
usingallocator
static MemorySegment
allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCount
usingallocator
.static MemorySegment
asSlice
(MemorySegment array, long index) Obtains a slice ofarrayParam
which selects the array element atindex
.static MemorySegment
destroy
(MemorySegment struct) Getter for field:void (*destroy)(struct wl_client *, struct wl_resource *)
static void
destroy
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*destroy)(struct wl_client *, struct wl_resource *)
static final AddressLayout
Layout for field:void (*destroy)(struct wl_client *, struct wl_resource *)
static final long
Offset for field:void (*destroy)(struct wl_client *, struct wl_resource *)
static final GroupLayout
layout()
The layout of this structstatic MemorySegment
place_above
(MemorySegment struct) Getter for field:void (*place_above)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static void
place_above
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*place_above)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static final AddressLayout
Layout for field:void (*place_above)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static final long
Offset for field:void (*place_above)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static MemorySegment
place_below
(MemorySegment struct) Getter for field:void (*place_below)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static void
place_below
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*place_below)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static final AddressLayout
Layout for field:void (*place_below)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static final long
Offset for field:void (*place_below)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static MemorySegment
reinterpret
(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any).static MemorySegment
reinterpret
(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any).static MemorySegment
set_desync
(MemorySegment struct) Getter for field:void (*set_desync)(struct wl_client *, struct wl_resource *)
static void
set_desync
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_desync)(struct wl_client *, struct wl_resource *)
static final AddressLayout
Layout for field:void (*set_desync)(struct wl_client *, struct wl_resource *)
static final long
Offset for field:void (*set_desync)(struct wl_client *, struct wl_resource *)
static MemorySegment
set_position
(MemorySegment struct) Getter for field:void (*set_position)(struct wl_client *, struct wl_resource *, int32_t, int32_t)
static void
set_position
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_position)(struct wl_client *, struct wl_resource *, int32_t, int32_t)
static final AddressLayout
Layout for field:void (*set_position)(struct wl_client *, struct wl_resource *, int32_t, int32_t)
static final long
Offset for field:void (*set_position)(struct wl_client *, struct wl_resource *, int32_t, int32_t)
static MemorySegment
set_sync
(MemorySegment struct) Getter for field:void (*set_sync)(struct wl_client *, struct wl_resource *)
static void
set_sync
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_sync)(struct wl_client *, struct wl_resource *)
static final AddressLayout
Layout for field:void (*set_sync)(struct wl_client *, struct wl_resource *)
static final long
Offset for field:void (*set_sync)(struct wl_client *, struct wl_resource *)
static long
sizeof()
The size (in bytes) of this struct
-
Method Details
-
layout
The layout of this struct -
destroy$layout
Layout for field:void (*destroy)(struct wl_client *, struct wl_resource *)
-
destroy$offset
public static final long destroy$offset()Offset for field:void (*destroy)(struct wl_client *, struct wl_resource *)
-
destroy
Getter for field:void (*destroy)(struct wl_client *, struct wl_resource *)
-
destroy
Setter for field:void (*destroy)(struct wl_client *, struct wl_resource *)
-
set_position$layout
Layout for field:void (*set_position)(struct wl_client *, struct wl_resource *, int32_t, int32_t)
-
set_position$offset
public static final long set_position$offset()Offset for field:void (*set_position)(struct wl_client *, struct wl_resource *, int32_t, int32_t)
-
set_position
Getter for field:void (*set_position)(struct wl_client *, struct wl_resource *, int32_t, int32_t)
-
set_position
Setter for field:void (*set_position)(struct wl_client *, struct wl_resource *, int32_t, int32_t)
-
place_above$layout
Layout for field:void (*place_above)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
place_above$offset
public static final long place_above$offset()Offset for field:void (*place_above)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
place_above
Getter for field:void (*place_above)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
place_above
Setter for field:void (*place_above)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
place_below$layout
Layout for field:void (*place_below)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
place_below$offset
public static final long place_below$offset()Offset for field:void (*place_below)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
place_below
Getter for field:void (*place_below)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
place_below
Setter for field:void (*place_below)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
set_sync$layout
Layout for field:void (*set_sync)(struct wl_client *, struct wl_resource *)
-
set_sync$offset
public static final long set_sync$offset()Offset for field:void (*set_sync)(struct wl_client *, struct wl_resource *)
-
set_sync
Getter for field:void (*set_sync)(struct wl_client *, struct wl_resource *)
-
set_sync
Setter for field:void (*set_sync)(struct wl_client *, struct wl_resource *)
-
set_desync$layout
Layout for field:void (*set_desync)(struct wl_client *, struct wl_resource *)
-
set_desync$offset
public static final long set_desync$offset()Offset for field:void (*set_desync)(struct wl_client *, struct wl_resource *)
-
set_desync
Getter for field:void (*set_desync)(struct wl_client *, struct wl_resource *)
-
set_desync
Setter for field:void (*set_desync)(struct wl_client *, struct wl_resource *)
-
asSlice
Obtains a slice ofarrayParam
which selects the array element atindex
. The returned segment has addressarrayParam.address() + index * layout().byteSize()
-
sizeof
public static long sizeof()The size (in bytes) of this struct -
allocate
Allocate a segment of sizelayout().byteSize()
usingallocator
-
allocateArray
Allocate an array of sizeelementCount
usingallocator
. The returned segment has sizeelementCount * layout().byteSize()
. -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any). The returned segment has sizelayout().byteSize()
-
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any). The returned segment has sizeelementCount * layout().byteSize()
-