Package org.lwjgl.vulkan
Class VkVideoEncodeH265FrameSizeKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkVideoEncodeH265FrameSizeKHR>
org.lwjgl.vulkan.VkVideoEncodeH265FrameSizeKHR
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class VkVideoEncodeH265FrameSizeKHR
extends Struct<VkVideoEncodeH265FrameSizeKHR>
implements NativeResource
struct VkVideoEncodeH265FrameSizeKHR {
uint32_t frameISize;
uint32_t framePSize;
uint32_t frameBSize;
}-
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
ConstructorsConstructorDescriptionVkVideoEncodeH265FrameSizeKHR(ByteBuffer container) Creates aVkVideoEncodeH265FrameSizeKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkVideoEncodeH265FrameSizeKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkVideoEncodeH265FrameSizeKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkVideoEncodeH265FrameSizeKHRinstance allocated withBufferUtils.create(int capacity) Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkVideoEncodeH265FrameSizeKHRinstance for the specified memory address.create(long address, int capacity) Create aVkVideoEncodeH265FrameSizeKHR.Bufferinstance at the specified memory.static @Nullable VkVideoEncodeH265FrameSizeKHRcreateSafe(long address) static @Nullable VkVideoEncodeH265FrameSizeKHR.BuffercreateSafe(long address, int capacity) intframeBSize(int value) Sets the specified value to theframeBSizefield.intframeISize(int value) Sets the specified value to theframeISizefield.intframePSize(int value) Sets the specified value to theframePSizefield.malloc()Returns a newVkVideoEncodeH265FrameSizeKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkVideoEncodeH265FrameSizeKHRinstance allocated on the specifiedMemoryStack.static intnframeBSize(long struct) Unsafe version offrameBSize().static voidnframeBSize(long struct, int value) Unsafe version offrameBSize.static intnframeISize(long struct) Unsafe version offrameISize().static voidnframeISize(long struct, int value) Unsafe version offrameISize.static intnframePSize(long struct) Unsafe version offramePSize().static voidnframePSize(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.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. -
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
-
VkVideoEncodeH265FrameSizeKHR
Creates aVkVideoEncodeH265FrameSizeKHRinstance 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<VkVideoEncodeH265FrameSizeKHR>
-
frameISize
public int frameISize()- Returns:
- the value of the
frameISizefield.
-
framePSize
public int framePSize()- Returns:
- the value of the
framePSizefield.
-
frameBSize
public int frameBSize()- Returns:
- the value of the
frameBSizefield.
-
frameISize
Sets the specified value to theframeISizefield. -
framePSize
Sets the specified value to theframePSizefield. -
frameBSize
Sets the specified value to theframeBSizefield. -
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 newVkVideoEncodeH265FrameSizeKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkVideoEncodeH265FrameSizeKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkVideoEncodeH265FrameSizeKHRinstance allocated withBufferUtils. -
create
Returns a newVkVideoEncodeH265FrameSizeKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkVideoEncodeH265FrameSizeKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkVideoEncodeH265FrameSizeKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkVideoEncodeH265FrameSizeKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated on the specifiedMemoryStackand 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.
-