Package org.lwjgl.vulkan
Class VkVideoEncodeH264FrameSizeKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkVideoEncodeH264FrameSizeKHR>
org.lwjgl.vulkan.VkVideoEncodeH264FrameSizeKHR
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class VkVideoEncodeH264FrameSizeKHR
extends Struct<VkVideoEncodeH264FrameSizeKHR>
implements NativeResource
struct VkVideoEncodeH264FrameSizeKHR {
uint32_t frameISize;
uint32_t framePSize;
uint32_t frameBSize;
}
-
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
ConstructorsConstructorDescriptionVkVideoEncodeH264FrameSizeKHR
(ByteBuffer container) Creates aVkVideoEncodeH264FrameSizeKHR
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newVkVideoEncodeH264FrameSizeKHR
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkVideoEncodeH264FrameSizeKHR.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkVideoEncodeH264FrameSizeKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newVkVideoEncodeH264FrameSizeKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newVkVideoEncodeH264FrameSizeKHR
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkVideoEncodeH264FrameSizeKHR.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newVkVideoEncodeH264FrameSizeKHR
instance for the specified memory address.create
(long address, int capacity) Create aVkVideoEncodeH264FrameSizeKHR.Buffer
instance at the specified memory.static @Nullable VkVideoEncodeH264FrameSizeKHR
createSafe
(long address) static @Nullable VkVideoEncodeH264FrameSizeKHR.Buffer
createSafe
(long address, int capacity) int
frameBSize
(int value) Sets the specified value to theframeBSize
field.int
frameISize
(int value) Sets the specified value to theframeISize
field.int
framePSize
(int value) Sets the specified value to theframePSize
field.malloc()
Returns a newVkVideoEncodeH264FrameSizeKHR
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkVideoEncodeH264FrameSizeKHR.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkVideoEncodeH264FrameSizeKHR.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newVkVideoEncodeH264FrameSizeKHR
instance allocated on the specifiedMemoryStack
.static int
nframeBSize
(long struct) Unsafe version offrameBSize()
.static void
nframeBSize
(long struct, int value) Unsafe version offrameBSize
.static int
nframeISize
(long struct) Unsafe version offrameISize()
.static void
nframeISize
(long struct, int value) Unsafe version offrameISize
.static int
nframePSize
(long struct) Unsafe version offramePSize()
.static void
nframePSize
(long struct, int value) Unsafe version offramePSize
.set
(int frameISize, int framePSize, int frameBSize) 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. -
FRAMEISIZE
public static final int FRAMEISIZEThe struct member offsets. -
FRAMEPSIZE
public static final int FRAMEPSIZEThe struct member offsets. -
FRAMEBSIZE
public static final int FRAMEBSIZEThe struct member offsets.
-
-
Constructor Details
-
VkVideoEncodeH264FrameSizeKHR
Creates aVkVideoEncodeH264FrameSizeKHR
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<VkVideoEncodeH264FrameSizeKHR>
-
frameISize
public int frameISize()- Returns:
- the value of the
frameISize
field.
-
framePSize
public int framePSize()- Returns:
- the value of the
framePSize
field.
-
frameBSize
public int frameBSize()- Returns:
- the value of the
frameBSize
field.
-
frameISize
Sets the specified value to theframeISize
field. -
framePSize
Sets the specified value to theframePSize
field. -
frameBSize
Sets the specified value to theframeBSize
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 newVkVideoEncodeH264FrameSizeKHR
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkVideoEncodeH264FrameSizeKHR
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkVideoEncodeH264FrameSizeKHR
instance allocated withBufferUtils
. -
create
Returns a newVkVideoEncodeH264FrameSizeKHR
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkVideoEncodeH264FrameSizeKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkVideoEncodeH264FrameSizeKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkVideoEncodeH264FrameSizeKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkVideoEncodeH264FrameSizeKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newVkVideoEncodeH264FrameSizeKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkVideoEncodeH264FrameSizeKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newVkVideoEncodeH264FrameSizeKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newVkVideoEncodeH264FrameSizeKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nframeISize
public static int nframeISize(long struct) Unsafe version offrameISize()
. -
nframePSize
public static int nframePSize(long struct) Unsafe version offramePSize()
. -
nframeBSize
public static int nframeBSize(long struct) Unsafe version offrameBSize()
. -
nframeISize
public static void nframeISize(long struct, int value) Unsafe version offrameISize
. -
nframePSize
public static void nframePSize(long struct, int value) Unsafe version offramePSize
. -
nframeBSize
public static void nframeBSize(long struct, int value) Unsafe version offrameBSize
.
-