Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkVideoEncodeH265SessionParametersGetInfoEXT

extends Struct<VkVideoEncodeH265SessionParametersGetInfoEXT>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure specifying parameters for retrieving encoded H.265 parameter set data.
Description

When this structure is specified in the pNext chain of the VkVideoEncodeSessionParametersGetInfoKHR structure passed to GetEncodedVideoSessionParametersKHR, the command will write encoded parameter data to the output buffer in the following order:

Valid Usage (Implicit)

Layout


struct VkVideoEncodeH265SessionParametersGetInfoEXT {
    VkStructureType sType;
    void const * pNext;
    VkBool32 writeStdVPS;
    VkBool32 writeStdSPS;
    VkBool32 writeStdPPS;
    uint32_t stdVPSId;
    uint32_t stdSPSId;
    uint32_t stdPPSId;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
PNEXT

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STDPPSID

The struct member offsets.

public static final int
STDSPSID

The struct member offsets.

public static final int
STDVPSID

The struct member offsets.

public static final int
STYPE

The struct member offsets.

public static final int
WRITESTDPPS

The struct member offsets.

public static final int
WRITESTDSPS

The struct member offsets.

public static final int
WRITESTDVPS

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkVideoEncodeH265SessionParametersGetInfoEXT(ByteBuffer container)

Creates a VkVideoEncodeH265SessionParametersGetInfoEXT instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkVideoEncodeH265SessionParametersGetInfoEXT
calloc()

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT instance allocated with memCalloc.

public static VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer instance allocated with memCalloc.

public static VkVideoEncodeH265SessionParametersGetInfoEXT
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected VkVideoEncodeH265SessionParametersGetInfoEXT
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkVideoEncodeH265SessionParametersGetInfoEXT
create()

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT instance allocated with BufferUtils.

public static VkVideoEncodeH265SessionParametersGetInfoEXT
create(long address)

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT instance for the specified memory address.

public static VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer instance allocated with BufferUtils.

public static VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer instance at the specified memory.

public static VkVideoEncodeH265SessionParametersGetInfoEXT
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public static VkVideoEncodeH265SessionParametersGetInfoEXT
malloc()

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT instance allocated with memAlloc.

public static VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer instance allocated with memAlloc.

public static VkVideoEncodeH265SessionParametersGetInfoEXT
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT instance allocated on the specified MemoryStack.

public static VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer instance allocated on the specified MemoryStack.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
nstdPPSId(long struct)

Unsafe version of stdPPSId.

public static void
nstdPPSId(long struct, int value)

Unsafe version of stdPPSId.

public static int
nstdSPSId(long struct)

Unsafe version of stdSPSId.

public static void
nstdSPSId(long struct, int value)

Unsafe version of stdSPSId.

public static int
nstdVPSId(long struct)

Unsafe version of stdVPSId.

public static void
nstdVPSId(long struct, int value)

Unsafe version of stdVPSId.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public static int
nwriteStdPPS(long struct)

Unsafe version of writeStdPPS.

public static void
nwriteStdPPS(long struct, int value)

Unsafe version of writeStdPPS.

public static int
nwriteStdSPS(long struct)

Unsafe version of writeStdSPS.

public static void
nwriteStdSPS(long struct, int value)

Unsafe version of writeStdSPS.

public static int
nwriteStdVPS(long struct)

Unsafe version of writeStdVPS.

public static void
nwriteStdVPS(long struct, int value)

Unsafe version of writeStdVPS.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkVideoEncodeH265SessionParametersGetInfoEXT
pNext(long value)

Sets the specified value to the pNext field.

public VkVideoEncodeH265SessionParametersGetInfoEXT
set(int sType, long pNext, boolean writeStdVPS, boolean writeStdSPS, boolean writeStdPPS, int stdVPSId, int stdSPSId, int stdPPSId)

Initializes this struct with the specified values.

public VkVideoEncodeH265SessionParametersGetInfoEXT

Returns:

this struct
set
(VkVideoEncodeH265SessionParametersGetInfoEXT
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
stdPPSId()

specifies the H.265 picture parameter set ID used to identify the retrieved H.265 picture parameter set when writeStdPPS is set to TRUE.

public VkVideoEncodeH265SessionParametersGetInfoEXT
stdPPSId(int value)

Sets the specified value to the stdPPSId field.

public int
stdSPSId()

specifies the H.265 sequence parameter set ID used to identify the retrieved H.265 sequence and/or picture parameter set(s) when writeStdSPS and/or writeStdPPS is set to TRUE.

public VkVideoEncodeH265SessionParametersGetInfoEXT
stdSPSId(int value)

Sets the specified value to the stdSPSId field.

public int
stdVPSId()

specifies the H.265 video parameter set ID used to identify the retrieved H.265 video, sequence, and/or picture parameter set(s).

public VkVideoEncodeH265SessionParametersGetInfoEXT
stdVPSId(int value)

Sets the specified value to the stdVPSId field.

public int
sType()

a VkStructureType value identifying this structure.

public VkVideoEncodeH265SessionParametersGetInfoEXT
sType(int value)

Sets the specified value to the sType field.

public VkVideoEncodeH265SessionParametersGetInfoEXT
public boolean
writeStdPPS()

indicates whether the encoded H.265 picture parameter set identified by the triplet constructed from stdVPSId, stdSPSId, and stdPPSId is requested to be retrieved.

public VkVideoEncodeH265SessionParametersGetInfoEXT
writeStdPPS(boolean value)

Sets the specified value to the writeStdPPS field.

public boolean
writeStdSPS()

indicates whether the encoded H.265 sequence parameter set identified by the pair constructed from stdVPSId and stdSPSId is requested to be retrieved.

public VkVideoEncodeH265SessionParametersGetInfoEXT
writeStdSPS(boolean value)

Sets the specified value to the writeStdSPS field.

public boolean
writeStdVPS()

indicates whether the encoded H.265 video parameter set identified by stdVPSId is requested to be retrieved.

public VkVideoEncodeH265SessionParametersGetInfoEXT
writeStdVPS(boolean value)

Sets the specified value to the writeStdVPS field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

PNEXTback to summary
public static final int PNEXT

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

STDPPSIDback to summary
public static final int STDPPSID

The struct member offsets.

STDSPSIDback to summary
public static final int STDSPSID

The struct member offsets.

STDVPSIDback to summary
public static final int STDVPSID

The struct member offsets.

STYPEback to summary
public static final int STYPE

The struct member offsets.

WRITESTDPPSback to summary
public static final int WRITESTDPPS

The struct member offsets.

WRITESTDSPSback to summary
public static final int WRITESTDSPS

The struct member offsets.

WRITESTDVPSback to summary
public static final int WRITESTDVPS

The struct member offsets.

Constructor Detail

VkVideoEncodeH265SessionParametersGetInfoEXTback to summary
protected VkVideoEncodeH265SessionParametersGetInfoEXT(long address, ByteBuffer container)
VkVideoEncodeH265SessionParametersGetInfoEXTback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT(ByteBuffer container)

Creates a VkVideoEncodeH265SessionParametersGetInfoEXT instance at the current position of the specified ByteBuffer 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 Detail

callocback to summary
public static VkVideoEncodeH265SessionParametersGetInfoEXT calloc()

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer calloc(int capacity)

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static VkVideoEncodeH265SessionParametersGetInfoEXT calloc(MemoryStack stack)

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer calloc(int capacity, MemoryStack stack)

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

createback to summary
protected VkVideoEncodeH265SessionParametersGetInfoEXT create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static VkVideoEncodeH265SessionParametersGetInfoEXT create()

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT instance allocated with BufferUtils.

createback to summary
public static VkVideoEncodeH265SessionParametersGetInfoEXT create(long address)

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT instance for the specified memory address.

createback to summary
public static VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer create(int capacity)

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer create(long address, int capacity)

Create a VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static VkVideoEncodeH265SessionParametersGetInfoEXT createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
mallocback to summary
public static VkVideoEncodeH265SessionParametersGetInfoEXT malloc()

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer malloc(int capacity)

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static VkVideoEncodeH265SessionParametersGetInfoEXT malloc(MemoryStack stack)

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer malloc(int capacity, MemoryStack stack)

Returns a new VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

npNextback to summary
public static long npNext(long struct)

Unsafe version of pNext.

npNextback to summary
public static void npNext(long struct, long value)

Unsafe version of pNext.

nstdPPSIdback to summary
public static int nstdPPSId(long struct)

Unsafe version of stdPPSId.

nstdPPSIdback to summary
public static void nstdPPSId(long struct, int value)

Unsafe version of stdPPSId.

nstdSPSIdback to summary
public static int nstdSPSId(long struct)

Unsafe version of stdSPSId.

nstdSPSIdback to summary
public static void nstdSPSId(long struct, int value)

Unsafe version of stdSPSId.

nstdVPSIdback to summary
public static int nstdVPSId(long struct)

Unsafe version of stdVPSId.

nstdVPSIdback to summary
public static void nstdVPSId(long struct, int value)

Unsafe version of stdVPSId.

nsTypeback to summary
public static int nsType(long struct)

Unsafe version of sType.

nsTypeback to summary
public static void nsType(long struct, int value)

Unsafe version of sType.

nwriteStdPPSback to summary
public static int nwriteStdPPS(long struct)

Unsafe version of writeStdPPS.

nwriteStdPPSback to summary
public static void nwriteStdPPS(long struct, int value)

Unsafe version of writeStdPPS.

nwriteStdSPSback to summary
public static int nwriteStdSPS(long struct)

Unsafe version of writeStdSPS.

nwriteStdSPSback to summary
public static void nwriteStdSPS(long struct, int value)

Unsafe version of writeStdSPS.

nwriteStdVPSback to summary
public static int nwriteStdVPS(long struct)

Unsafe version of writeStdVPS.

nwriteStdVPSback to summary
public static void nwriteStdVPS(long struct, int value)

Unsafe version of writeStdVPS.

pNextback to summary
public long pNext()

NULL or a pointer to a structure extending this structure.

Annotations
@NativeType:void const *
pNextback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT pNext(long value)

Sets the specified value to the pNext field.

setback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT set(int sType, long pNext, boolean writeStdVPS, boolean writeStdSPS, boolean writeStdPPS, int stdVPSId, int stdSPSId, int stdPPSId)

Initializes this struct with the specified values.

setback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT set(VkVideoEncodeH265SessionParametersGetInfoEXT src)

Copies the specified struct data to this struct.

Parameters
src:VkVideoEncodeH265SessionParametersGetInfoEXT

the source struct

Returns:VkVideoEncodeH265SessionParametersGetInfoEXT

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
stdPPSIdback to summary
public int stdPPSId()

specifies the H.265 picture parameter set ID used to identify the retrieved H.265 picture parameter set when writeStdPPS is set to TRUE.

Annotations
@NativeType:uint32_t
stdPPSIdback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT stdPPSId(int value)

Sets the specified value to the stdPPSId field.

stdSPSIdback to summary
public int stdSPSId()

specifies the H.265 sequence parameter set ID used to identify the retrieved H.265 sequence and/or picture parameter set(s) when writeStdSPS and/or writeStdPPS is set to TRUE.

Annotations
@NativeType:uint32_t
stdSPSIdback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT stdSPSId(int value)

Sets the specified value to the stdSPSId field.

stdVPSIdback to summary
public int stdVPSId()

specifies the H.265 video parameter set ID used to identify the retrieved H.265 video, sequence, and/or picture parameter set(s).

Annotations
@NativeType:uint32_t
stdVPSIdback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT stdVPSId(int value)

Sets the specified value to the stdVPSId field.

sTypeback to summary
public int sType()

a VkStructureType value identifying this structure.

Annotations
@NativeType:VkStructureType
sTypeback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT sType(int value)

Sets the specified value to the sType field.

sType$Defaultback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT sType$Default()

Sets the STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_GET_INFO_EXT value to the sType field.

writeStdPPSback to summary
public boolean writeStdPPS()

indicates whether the encoded H.265 picture parameter set identified by the triplet constructed from stdVPSId, stdSPSId, and stdPPSId is requested to be retrieved.

Annotations
@NativeType:VkBool32
writeStdPPSback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT writeStdPPS(boolean value)

Sets the specified value to the writeStdPPS field.

writeStdSPSback to summary
public boolean writeStdSPS()

indicates whether the encoded H.265 sequence parameter set identified by the pair constructed from stdVPSId and stdSPSId is requested to be retrieved.

Annotations
@NativeType:VkBool32
writeStdSPSback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT writeStdSPS(boolean value)

Sets the specified value to the writeStdSPS field.

writeStdVPSback to summary
public boolean writeStdVPS()

indicates whether the encoded H.265 video parameter set identified by stdVPSId is requested to be retrieved.

Annotations
@NativeType:VkBool32
writeStdVPSback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT writeStdVPS(boolean value)

Sets the specified value to the writeStdVPS field.

org.lwjgl.vulkan back to summary

public Class VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer

extends StructBuffer<VkVideoEncodeH265SessionParametersGetInfoEXT, VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of VkVideoEncodeH265SessionParametersGetInfoEXT structs.

Field Summary

Modifier and TypeField and Description
private static final VkVideoEncodeH265SessionParametersGetInfoEXT

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
protected VkVideoEncodeH265SessionParametersGetInfoEXT
public long
public VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer
pNext(long value)

Sets the specified value to the VkVideoEncodeH265SessionParametersGetInfoEXT#pNext field.

protected VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer
public int
public VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer
stdPPSId(int value)

Sets the specified value to the VkVideoEncodeH265SessionParametersGetInfoEXT#stdPPSId field.

public int
public VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer
stdSPSId(int value)

Sets the specified value to the VkVideoEncodeH265SessionParametersGetInfoEXT#stdSPSId field.

public int
public VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer
stdVPSId(int value)

Sets the specified value to the VkVideoEncodeH265SessionParametersGetInfoEXT#stdVPSId field.

public int
public VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer
sType(int value)

Sets the specified value to the VkVideoEncodeH265SessionParametersGetInfoEXT#sType field.

public VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer
public boolean
public VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer
writeStdPPS(boolean value)

Sets the specified value to the VkVideoEncodeH265SessionParametersGetInfoEXT#writeStdPPS field.

public boolean
public VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer
writeStdSPS(boolean value)

Sets the specified value to the VkVideoEncodeH265SessionParametersGetInfoEXT#writeStdSPS field.

public boolean
public VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer
writeStdVPS(boolean value)

Sets the specified value to the VkVideoEncodeH265SessionParametersGetInfoEXT#writeStdVPS field.

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final VkVideoEncodeH265SessionParametersGetInfoEXT ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer instance backed by the specified container.

Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkVideoEncodeH265SessionParametersGetInfoEXT#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

getElementFactoryback to summary
protected VkVideoEncodeH265SessionParametersGetInfoEXT getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
pNextback to summary
public long pNext()
Returns:long

the value of the VkVideoEncodeH265SessionParametersGetInfoEXT#pNext field.

Annotations
@NativeType:void const *
pNextback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer pNext(long value)

Sets the specified value to the VkVideoEncodeH265SessionParametersGetInfoEXT#pNext field.

selfback to summary
protected VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
stdPPSIdback to summary
public int stdPPSId()
Returns:int

the value of the VkVideoEncodeH265SessionParametersGetInfoEXT#stdPPSId field.

Annotations
@NativeType:uint32_t
stdPPSIdback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer stdPPSId(int value)

Sets the specified value to the VkVideoEncodeH265SessionParametersGetInfoEXT#stdPPSId field.

stdSPSIdback to summary
public int stdSPSId()
Returns:int

the value of the VkVideoEncodeH265SessionParametersGetInfoEXT#stdSPSId field.

Annotations
@NativeType:uint32_t
stdSPSIdback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer stdSPSId(int value)

Sets the specified value to the VkVideoEncodeH265SessionParametersGetInfoEXT#stdSPSId field.

stdVPSIdback to summary
public int stdVPSId()
Returns:int

the value of the VkVideoEncodeH265SessionParametersGetInfoEXT#stdVPSId field.

Annotations
@NativeType:uint32_t
stdVPSIdback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer stdVPSId(int value)

Sets the specified value to the VkVideoEncodeH265SessionParametersGetInfoEXT#stdVPSId field.

sTypeback to summary
public int sType()
Returns:int

the value of the VkVideoEncodeH265SessionParametersGetInfoEXT#sType field.

Annotations
@NativeType:VkStructureType
sTypeback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer sType(int value)

Sets the specified value to the VkVideoEncodeH265SessionParametersGetInfoEXT#sType field.

sType$Defaultback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer sType$Default()

Sets the STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_GET_INFO_EXT value to the VkVideoEncodeH265SessionParametersGetInfoEXT#sType field.

writeStdPPSback to summary
public boolean writeStdPPS()
Returns:boolean

the value of the VkVideoEncodeH265SessionParametersGetInfoEXT#writeStdPPS field.

Annotations
@NativeType:VkBool32
writeStdPPSback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer writeStdPPS(boolean value)

Sets the specified value to the VkVideoEncodeH265SessionParametersGetInfoEXT#writeStdPPS field.

writeStdSPSback to summary
public boolean writeStdSPS()
Returns:boolean

the value of the VkVideoEncodeH265SessionParametersGetInfoEXT#writeStdSPS field.

Annotations
@NativeType:VkBool32
writeStdSPSback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer writeStdSPS(boolean value)

Sets the specified value to the VkVideoEncodeH265SessionParametersGetInfoEXT#writeStdSPS field.

writeStdVPSback to summary
public boolean writeStdVPS()
Returns:boolean

the value of the VkVideoEncodeH265SessionParametersGetInfoEXT#writeStdVPS field.

Annotations
@NativeType:VkBool32
writeStdVPSback to summary
public VkVideoEncodeH265SessionParametersGetInfoEXT.Buffer writeStdVPS(boolean value)

Sets the specified value to the VkVideoEncodeH265SessionParametersGetInfoEXT#writeStdVPS field.