Package org.lwjgl.vulkan
Class VkVideoEncodeH264QpKHR
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class VkVideoEncodeH264QpKHR
extends Struct<VkVideoEncodeH264QpKHR>
implements NativeResource
struct VkVideoEncodeH264QpKHR {
int32_t qpI;
int32_t qpP;
int32_t qpB;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkVideoEncodeH264QpKHR(ByteBuffer container) Creates aVkVideoEncodeH264QpKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkVideoEncodeH264QpKHRcalloc()Returns a newVkVideoEncodeH264QpKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkVideoEncodeH264QpKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkVideoEncodeH264QpKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH264QpKHRcalloc(MemoryStack stack) Returns a newVkVideoEncodeH264QpKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH264QpKHRcreate()Returns a newVkVideoEncodeH264QpKHRinstance allocated withBufferUtils.create(int capacity) Returns a newVkVideoEncodeH264QpKHR.Bufferinstance allocated withBufferUtils.static VkVideoEncodeH264QpKHRcreate(long address) Returns a newVkVideoEncodeH264QpKHRinstance for the specified memory address.create(long address, int capacity) Create aVkVideoEncodeH264QpKHR.Bufferinstance at the specified memory.static @Nullable VkVideoEncodeH264QpKHRcreateSafe(long address) static @Nullable VkVideoEncodeH264QpKHR.BuffercreateSafe(long address, int capacity) static VkVideoEncodeH264QpKHRmalloc()Returns a newVkVideoEncodeH264QpKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkVideoEncodeH264QpKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkVideoEncodeH264QpKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoEncodeH264QpKHRmalloc(MemoryStack stack) Returns a newVkVideoEncodeH264QpKHRinstance allocated on the specifiedMemoryStack.static intnqpB(long struct) Unsafe version ofqpB().static voidnqpB(long struct, int value) Unsafe version ofqpB.static intnqpI(long struct) Unsafe version ofqpI().static voidnqpI(long struct, int value) Unsafe version ofqpI.static intnqpP(long struct) Unsafe version ofqpP().static voidnqpP(long struct, int value) Unsafe version ofqpP.intqpB()qpB(int value) Sets the specified value to theqpBfield.intqpI()qpI(int value) Sets the specified value to theqpIfield.intqpP()qpP(int value) Sets the specified value to theqpPfield.set(int qpI, int qpP, int qpB) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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
-
VkVideoEncodeH264QpKHR
Creates aVkVideoEncodeH264QpKHRinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkVideoEncodeH264QpKHR>
-
qpI
public int qpI()- Returns:
- the value of the
qpIfield.
-
qpP
public int qpP()- Returns:
- the value of the
qpPfield.
-
qpB
public int qpB()- Returns:
- the value of the
qpBfield.
-
qpI
Sets the specified value to theqpIfield. -
qpP
Sets the specified value to theqpPfield. -
qpB
Sets the specified value to theqpBfield. -
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 newVkVideoEncodeH264QpKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkVideoEncodeH264QpKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkVideoEncodeH264QpKHRinstance allocated withBufferUtils. -
create
Returns a newVkVideoEncodeH264QpKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkVideoEncodeH264QpKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkVideoEncodeH264QpKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkVideoEncodeH264QpKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkVideoEncodeH264QpKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkVideoEncodeH264QpKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkVideoEncodeH264QpKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkVideoEncodeH264QpKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkVideoEncodeH264QpKHR.Bufferinstance allocated on the specifiedMemoryStackand 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.
-