Package org.lwjgl.vulkan
Class VkVideoEncodeH265QpKHR
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class VkVideoEncodeH265QpKHR
extends Struct<VkVideoEncodeH265QpKHR>
implements NativeResource
struct VkVideoEncodeH265QpKHR {
int32_t qpI;
int32_t qpP;
int32_t qpB;
}
-
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 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
ConstructorsConstructorDescriptionVkVideoEncodeH265QpKHR
(ByteBuffer container) Creates aVkVideoEncodeH265QpKHR
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkVideoEncodeH265QpKHR
calloc()
Returns a newVkVideoEncodeH265QpKHR
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkVideoEncodeH265QpKHR.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkVideoEncodeH265QpKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkVideoEncodeH265QpKHR
calloc
(MemoryStack stack) Returns a newVkVideoEncodeH265QpKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkVideoEncodeH265QpKHR
create()
Returns a newVkVideoEncodeH265QpKHR
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkVideoEncodeH265QpKHR.Buffer
instance allocated withBufferUtils
.static VkVideoEncodeH265QpKHR
create
(long address) Returns a newVkVideoEncodeH265QpKHR
instance for the specified memory address.create
(long address, int capacity) Create aVkVideoEncodeH265QpKHR.Buffer
instance at the specified memory.static @Nullable VkVideoEncodeH265QpKHR
createSafe
(long address) static @Nullable VkVideoEncodeH265QpKHR.Buffer
createSafe
(long address, int capacity) static VkVideoEncodeH265QpKHR
malloc()
Returns a newVkVideoEncodeH265QpKHR
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkVideoEncodeH265QpKHR.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkVideoEncodeH265QpKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkVideoEncodeH265QpKHR
malloc
(MemoryStack stack) Returns a newVkVideoEncodeH265QpKHR
instance allocated on the specifiedMemoryStack
.static int
nqpB
(long struct) Unsafe version ofqpB()
.static void
nqpB
(long struct, int value) Unsafe version ofqpB
.static int
nqpI
(long struct) Unsafe version ofqpI()
.static void
nqpI
(long struct, int value) Unsafe version ofqpI
.static int
nqpP
(long struct) Unsafe version ofqpP()
.static void
nqpP
(long struct, int value) Unsafe version ofqpP
.int
qpB()
qpB
(int value) Sets the specified value to theqpB
field.int
qpI()
qpI
(int value) Sets the specified value to theqpI
field.int
qpP()
qpP
(int value) Sets the specified value to theqpP
field.set
(int qpI, int qpP, int qpB) 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. -
QPI
public static final int QPIThe struct member offsets. -
QPP
public static final int QPPThe struct member offsets. -
QPB
public static final int QPBThe struct member offsets.
-
-
Constructor Details
-
VkVideoEncodeH265QpKHR
Creates aVkVideoEncodeH265QpKHR
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<VkVideoEncodeH265QpKHR>
-
qpI
public int qpI()- Returns:
- the value of the
qpI
field.
-
qpP
public int qpP()- Returns:
- the value of the
qpP
field.
-
qpB
public int qpB()- Returns:
- the value of the
qpB
field.
-
qpI
Sets the specified value to theqpI
field. -
qpP
Sets the specified value to theqpP
field. -
qpB
Sets the specified value to theqpB
field. -
set
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 newVkVideoEncodeH265QpKHR
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkVideoEncodeH265QpKHR
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkVideoEncodeH265QpKHR
instance allocated withBufferUtils
. -
create
Returns a newVkVideoEncodeH265QpKHR
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkVideoEncodeH265QpKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkVideoEncodeH265QpKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkVideoEncodeH265QpKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkVideoEncodeH265QpKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newVkVideoEncodeH265QpKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkVideoEncodeH265QpKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newVkVideoEncodeH265QpKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newVkVideoEncodeH265QpKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nqpI
public static int nqpI(long struct) Unsafe version ofqpI()
. -
nqpP
public static int nqpP(long struct) Unsafe version ofqpP()
. -
nqpB
public static int nqpB(long struct) Unsafe version ofqpB()
. -
nqpI
public static void nqpI(long struct, int value) Unsafe version ofqpI
. -
nqpP
public static void nqpP(long struct, int value) Unsafe version ofqpP
. -
nqpB
public static void nqpB(long struct, int value) Unsafe version ofqpB
.
-