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 classvoid (*destroy)(struct wl_client *, struct wl_resource *)static classvoid (*place_above)(struct wl_client *, struct wl_resource *, struct wl_resource *)static classvoid (*place_below)(struct wl_client *, struct wl_resource *, struct wl_resource *)static classvoid (*set_desync)(struct wl_client *, struct wl_resource *)static classvoid (*set_position)(struct wl_client *, struct wl_resource *, int32_t, int32_t)static classvoid (*set_sync)(struct wl_client *, struct wl_resource *) -
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegmentallocate(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()usingallocatorstatic MemorySegmentallocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCountusingallocator.static MemorySegmentasSlice(MemorySegment array, long index) Obtains a slice ofarrayParamwhich selects the array element atindex.static MemorySegmentdestroy(MemorySegment struct) Getter for field:void (*destroy)(struct wl_client *, struct wl_resource *)static voiddestroy(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*destroy)(struct wl_client *, struct wl_resource *)static final AddressLayoutLayout for field:void (*destroy)(struct wl_client *, struct wl_resource *)static final longOffset for field:void (*destroy)(struct wl_client *, struct wl_resource *)static final GroupLayoutlayout()The layout of this structstatic MemorySegmentplace_above(MemorySegment struct) Getter for field:void (*place_above)(struct wl_client *, struct wl_resource *, struct wl_resource *)static voidplace_above(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*place_above)(struct wl_client *, struct wl_resource *, struct wl_resource *)static final AddressLayoutLayout for field:void (*place_above)(struct wl_client *, struct wl_resource *, struct wl_resource *)static final longOffset for field:void (*place_above)(struct wl_client *, struct wl_resource *, struct wl_resource *)static MemorySegmentplace_below(MemorySegment struct) Getter for field:void (*place_below)(struct wl_client *, struct wl_resource *, struct wl_resource *)static voidplace_below(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*place_below)(struct wl_client *, struct wl_resource *, struct wl_resource *)static final AddressLayoutLayout for field:void (*place_below)(struct wl_client *, struct wl_resource *, struct wl_resource *)static final longOffset for field:void (*place_below)(struct wl_client *, struct wl_resource *, struct wl_resource *)static MemorySegmentreinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentreinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentset_desync(MemorySegment struct) Getter for field:void (*set_desync)(struct wl_client *, struct wl_resource *)static voidset_desync(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_desync)(struct wl_client *, struct wl_resource *)static final AddressLayoutLayout for field:void (*set_desync)(struct wl_client *, struct wl_resource *)static final longOffset for field:void (*set_desync)(struct wl_client *, struct wl_resource *)static MemorySegmentset_position(MemorySegment struct) Getter for field:void (*set_position)(struct wl_client *, struct wl_resource *, int32_t, int32_t)static voidset_position(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_position)(struct wl_client *, struct wl_resource *, int32_t, int32_t)static final AddressLayoutLayout for field:void (*set_position)(struct wl_client *, struct wl_resource *, int32_t, int32_t)static final longOffset for field:void (*set_position)(struct wl_client *, struct wl_resource *, int32_t, int32_t)static MemorySegmentset_sync(MemorySegment struct) Getter for field:void (*set_sync)(struct wl_client *, struct wl_resource *)static voidset_sync(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_sync)(struct wl_client *, struct wl_resource *)static final AddressLayoutLayout for field:void (*set_sync)(struct wl_client *, struct wl_resource *)static final longOffset for field:void (*set_sync)(struct wl_client *, struct wl_resource *)static longsizeof()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 ofarrayParamwhich 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 sizeelementCountusingallocator. The returned segment has sizeelementCount * layout().byteSize(). -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizelayout().byteSize() -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizeelementCount * layout().byteSize()
-