Package org.lwjgl.vulkan
Class VkVideoEncodeH264NaluSliceEXT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkVideoEncodeH264NaluSliceEXT,VkVideoEncodeH264NaluSliceEXT.Buffer>
-
- org.lwjgl.vulkan.VkVideoEncodeH264NaluSliceEXT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkVideoEncodeH264NaluSliceEXT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkVideoEncodeH264NaluSliceEXT
public static class VkVideoEncodeH264NaluSliceEXT.Buffer extends org.lwjgl.system.StructBuffer<VkVideoEncodeH264NaluSliceEXT,VkVideoEncodeH264NaluSliceEXT.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkVideoEncodeH264NaluSliceEXTstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkVideoEncodeH264NaluSliceEXT.Bufferinstance 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 byVkVideoEncodeH264NaluSliceEXT.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
sType
public int sType()
- Returns:
- the value of the
VkVideoEncodeH264NaluSliceEXT.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkVideoEncodeH264NaluSliceEXT.pNext()field.
-
mbCount
public int mbCount()
- Returns:
- the value of the
VkVideoEncodeH264NaluSliceEXT.mbCount()field.
-
pReferenceFinalLists
@Nullable public VkVideoEncodeH264ReferenceListsEXT pReferenceFinalLists()
- Returns:
- a
VkVideoEncodeH264ReferenceListsEXTview of the struct pointed to by theVkVideoEncodeH264NaluSliceEXT.pReferenceFinalLists()field.
-
pSliceHeaderStd
public StdVideoEncodeH264SliceHeader pSliceHeaderStd()
- Returns:
- a
StdVideoEncodeH264SliceHeaderview of the struct pointed to by theVkVideoEncodeH264NaluSliceEXT.pSliceHeaderStd()field.
-
sType
public VkVideoEncodeH264NaluSliceEXT.Buffer sType(int value)
Sets the specified value to theVkVideoEncodeH264NaluSliceEXT.sType()field.
-
sType$Default
public VkVideoEncodeH264NaluSliceEXT.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H264_NALU_SLICE_EXTvalue to theVkVideoEncodeH264NaluSliceEXT.sType()field.
-
pNext
public VkVideoEncodeH264NaluSliceEXT.Buffer pNext(long value)
Sets the specified value to theVkVideoEncodeH264NaluSliceEXT.pNext()field.
-
mbCount
public VkVideoEncodeH264NaluSliceEXT.Buffer mbCount(int value)
Sets the specified value to theVkVideoEncodeH264NaluSliceEXT.mbCount()field.
-
pReferenceFinalLists
public VkVideoEncodeH264NaluSliceEXT.Buffer pReferenceFinalLists(@Nullable VkVideoEncodeH264ReferenceListsEXT value)
Sets the address of the specifiedVkVideoEncodeH264ReferenceListsEXTto theVkVideoEncodeH264NaluSliceEXT.pReferenceFinalLists()field.
-
pSliceHeaderStd
public VkVideoEncodeH264NaluSliceEXT.Buffer pSliceHeaderStd(StdVideoEncodeH264SliceHeader value)
Sets the address of the specifiedStdVideoEncodeH264SliceHeaderto theVkVideoEncodeH264NaluSliceEXT.pSliceHeaderStd()field.
-
-