Package org.lwjgl.vulkan.video
Class StdVideoVP9SegmentationFlags
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoVP9SegmentationFlags>
org.lwjgl.vulkan.video.StdVideoVP9SegmentationFlags
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class StdVideoVP9SegmentationFlags
extends Struct<StdVideoVP9SegmentationFlags>
implements NativeResource
struct StdVideoVP9SegmentationFlags {
uint32_t segmentation_update_map : 1;
uint32_t segmentation_temporal_update : 1;
uint32_t segmentation_update_data : 1;
uint32_t segmentation_abs_or_delta_update : 1;
uint32_t reserved : 28;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoVP9SegmentationFlags
(ByteBuffer container) Creates aStdVideoVP9SegmentationFlags
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoVP9SegmentationFlags
calloc()
Returns a newStdVideoVP9SegmentationFlags
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoVP9SegmentationFlags.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoVP9SegmentationFlags.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoVP9SegmentationFlags
calloc
(MemoryStack stack) Returns a newStdVideoVP9SegmentationFlags
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoVP9SegmentationFlags
create()
Returns a newStdVideoVP9SegmentationFlags
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoVP9SegmentationFlags.Buffer
instance allocated withBufferUtils
.static StdVideoVP9SegmentationFlags
create
(long address) Returns a newStdVideoVP9SegmentationFlags
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoVP9SegmentationFlags.Buffer
instance at the specified memory.static @Nullable StdVideoVP9SegmentationFlags
createSafe
(long address) static @Nullable StdVideoVP9SegmentationFlags.Buffer
createSafe
(long address, int capacity) static StdVideoVP9SegmentationFlags
malloc()
Returns a newStdVideoVP9SegmentationFlags
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoVP9SegmentationFlags.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoVP9SegmentationFlags.Buffer
instance allocated on the specifiedMemoryStack
.static StdVideoVP9SegmentationFlags
malloc
(MemoryStack stack) Returns a newStdVideoVP9SegmentationFlags
instance allocated on the specifiedMemoryStack
.static int
nbitfield0
(long struct) static void
nbitfield0
(long struct, int value) static int
nbitfield1
(long struct) static void
nbitfield1
(long struct, int value) static int
nreserved
(long struct) static void
nreserved
(long struct, int value) static int
nsegmentation_abs_or_delta_update
(long struct) Unsafe version ofsegmentation_abs_or_delta_update()
.static void
nsegmentation_abs_or_delta_update
(long struct, int value) Unsafe version ofsegmentation_abs_or_delta_update
.static int
nsegmentation_temporal_update
(long struct) Unsafe version ofsegmentation_temporal_update()
.static void
nsegmentation_temporal_update
(long struct, int value) Unsafe version ofsegmentation_temporal_update
.static int
nsegmentation_update_data
(long struct) Unsafe version ofsegmentation_update_data()
.static void
nsegmentation_update_data
(long struct, int value) Unsafe version ofsegmentation_update_data
.static int
nsegmentation_update_map
(long struct) Unsafe version ofsegmentation_update_map()
.static void
nsegmentation_update_map
(long struct, int value) Unsafe version ofsegmentation_update_map
.boolean
segmentation_abs_or_delta_update
(boolean value) Sets the specified value to thesegmentation_abs_or_delta_update
field.boolean
segmentation_temporal_update
(boolean value) Sets the specified value to thesegmentation_temporal_update
field.boolean
segmentation_update_data
(boolean value) Sets the specified value to thesegmentation_update_data
field.boolean
segmentation_update_map
(boolean value) Sets the specified value to thesegmentation_update_map
field.set
(boolean segmentation_update_map, boolean segmentation_temporal_update, boolean segmentation_update_data, boolean segmentation_abs_or_delta_update) Initializes this struct with the specified values.Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
BITFIELD0
public static final int BITFIELD0The struct member offsets. -
BITFIELD1
public static final int BITFIELD1The struct member offsets.
-
-
Constructor Details
-
StdVideoVP9SegmentationFlags
Creates aStdVideoVP9SegmentationFlags
instance at the current position of the specifiedByteBuffer
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
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<StdVideoVP9SegmentationFlags>
-
segmentation_update_map
public boolean segmentation_update_map()- Returns:
- the value of the
segmentation_update_map
field.
-
segmentation_temporal_update
public boolean segmentation_temporal_update()- Returns:
- the value of the
segmentation_temporal_update
field.
-
segmentation_update_data
public boolean segmentation_update_data()- Returns:
- the value of the
segmentation_update_data
field.
-
segmentation_abs_or_delta_update
public boolean segmentation_abs_or_delta_update()- Returns:
- the value of the
segmentation_abs_or_delta_update
field.
-
segmentation_update_map
Sets the specified value to thesegmentation_update_map
field. -
segmentation_temporal_update
Sets the specified value to thesegmentation_temporal_update
field. -
segmentation_update_data
Sets the specified value to thesegmentation_update_data
field. -
segmentation_abs_or_delta_update
Sets the specified value to thesegmentation_abs_or_delta_update
field. -
set
public StdVideoVP9SegmentationFlags set(boolean segmentation_update_map, boolean segmentation_temporal_update, boolean segmentation_update_data, boolean segmentation_abs_or_delta_update) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newStdVideoVP9SegmentationFlags
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoVP9SegmentationFlags
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoVP9SegmentationFlags
instance allocated withBufferUtils
. -
create
Returns a newStdVideoVP9SegmentationFlags
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoVP9SegmentationFlags.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoVP9SegmentationFlags.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoVP9SegmentationFlags.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoVP9SegmentationFlags.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoVP9SegmentationFlags
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoVP9SegmentationFlags
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoVP9SegmentationFlags.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoVP9SegmentationFlags.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nbitfield0
public static int nbitfield0(long struct) -
nsegmentation_update_map
public static int nsegmentation_update_map(long struct) Unsafe version ofsegmentation_update_map()
. -
nsegmentation_temporal_update
public static int nsegmentation_temporal_update(long struct) Unsafe version ofsegmentation_temporal_update()
. -
nsegmentation_update_data
public static int nsegmentation_update_data(long struct) Unsafe version ofsegmentation_update_data()
. -
nsegmentation_abs_or_delta_update
public static int nsegmentation_abs_or_delta_update(long struct) Unsafe version ofsegmentation_abs_or_delta_update()
. -
nbitfield1
public static int nbitfield1(long struct) -
nreserved
public static int nreserved(long struct) -
nbitfield0
public static void nbitfield0(long struct, int value) -
nsegmentation_update_map
public static void nsegmentation_update_map(long struct, int value) Unsafe version ofsegmentation_update_map
. -
nsegmentation_temporal_update
public static void nsegmentation_temporal_update(long struct, int value) Unsafe version ofsegmentation_temporal_update
. -
nsegmentation_update_data
public static void nsegmentation_update_data(long struct, int value) Unsafe version ofsegmentation_update_data
. -
nsegmentation_abs_or_delta_update
public static void nsegmentation_abs_or_delta_update(long struct, int value) Unsafe version ofsegmentation_abs_or_delta_update
. -
nbitfield1
public static void nbitfield1(long struct, int value) -
nreserved
public static void nreserved(long struct, int value)
-