Class VkVideoSessionCreateInfoKHR.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkVideoSessionCreateInfoKHR
overrungl.vulkan.khr.struct.VkVideoSessionCreateInfoKHR.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkVideoSessionCreateInfoKHR
A buffer of
VkVideoSessionCreateInfoKHR
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.khr.struct.VkVideoSessionCreateInfoKHR
VkVideoSessionCreateInfoKHR.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.khr.struct.VkVideoSessionCreateInfoKHR
LAYOUT, LAYOUT_flags, LAYOUT_maxActiveReferencePictures, LAYOUT_maxCodedExtent, LAYOUT_maxDpbSlots, LAYOUT_pictureFormat, LAYOUT_pNext, LAYOUT_pStdHeaderVersion, LAYOUT_pVideoProfile, LAYOUT_queueFamilyIndex, LAYOUT_referencePictureFormat, LAYOUT_sType, OFFSET_flags, OFFSET_maxActiveReferencePictures, OFFSET_maxCodedExtent, OFFSET_maxDpbSlots, OFFSET_pictureFormat, OFFSET_pNext, OFFSET_pStdHeaderVersion, OFFSET_pVideoProfile, OFFSET_queueFamilyIndex, OFFSET_referencePictureFormat, OFFSET_sType, VH_flags, VH_maxActiveReferencePictures, VH_maxDpbSlots, VH_pictureFormat, VH_pNext, VH_pStdHeaderVersion, VH_pVideoProfile, VH_queueFamilyIndex, VH_referencePictureFormat, VH_sType
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkVideoSessionCreateInfoKHR.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkVideoSessionCreateInfoKHR
.asSlice
(long index, long count) Creates a slice ofVkVideoSessionCreateInfoKHR
.long
Estimates the element count of this group type buffer.int
flagsAt
(long index) Returnsflags
at the given index.flagsAt
(long index, int value) Setsflags
with the given value at the given index.int
maxActiveReferencePicturesAt
(long index) ReturnsmaxActiveReferencePictures
at the given index.maxActiveReferencePicturesAt
(long index, int value) SetsmaxActiveReferencePictures
with the given value at the given index.maxCodedExtentAt
(long index) ReturnsmaxCodedExtent
at the given index.maxCodedExtentAt
(long index, MemorySegment value) SetsmaxCodedExtent
with the given value at the given index.int
maxDpbSlotsAt
(long index) ReturnsmaxDpbSlots
at the given index.maxDpbSlotsAt
(long index, int value) SetsmaxDpbSlots
with the given value at the given index.int
pictureFormatAt
(long index) ReturnspictureFormat
at the given index.pictureFormatAt
(long index, int value) SetspictureFormat
with the given value at the given index.pNextAt
(long index) ReturnspNext
at the given index.pNextAt
(long index, MemorySegment value) SetspNext
with the given value at the given index.pStdHeaderVersionAt
(long index) ReturnspStdHeaderVersion
at the given index.pStdHeaderVersionAt
(long index, MemorySegment value) SetspStdHeaderVersion
with the given value at the given index.pVideoProfileAt
(long index) ReturnspVideoProfile
at the given index.pVideoProfileAt
(long index, MemorySegment value) SetspVideoProfile
with the given value at the given index.int
queueFamilyIndexAt
(long index) ReturnsqueueFamilyIndex
at the given index.queueFamilyIndexAt
(long index, int value) SetsqueueFamilyIndex
with the given value at the given index.int
referencePictureFormatAt
(long index) ReturnsreferencePictureFormat
at the given index.referencePictureFormatAt
(long index, int value) SetsreferencePictureFormat
with the given value at the given index.int
sTypeAt
(long index) ReturnssType
at the given index.sTypeAt
(long index, int value) SetssType
with the given value at the given index.Methods inherited from class overrungl.vulkan.khr.struct.VkVideoSessionCreateInfoKHR
alloc, alloc, asBuffer, copyFrom, flags, flags, flags, flags, maxActiveReferencePictures, maxActiveReferencePictures, maxActiveReferencePictures, maxActiveReferencePictures, maxCodedExtent, maxCodedExtent, maxCodedExtent, maxCodedExtent, maxDpbSlots, maxDpbSlots, maxDpbSlots, maxDpbSlots, of, ofNative, ofNative, pictureFormat, pictureFormat, pictureFormat, pictureFormat, pNext, pNext, pNext, pNext, pStdHeaderVersion, pStdHeaderVersion, pStdHeaderVersion, pStdHeaderVersion, pVideoProfile, pVideoProfile, pVideoProfile, pVideoProfile, queueFamilyIndex, queueFamilyIndex, queueFamilyIndex, queueFamilyIndex, referencePictureFormat, referencePictureFormat, referencePictureFormat, referencePictureFormat, sType, sType, sType, sType
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkVideoSessionCreateInfoKHR.Buffer
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count
-
-
Method Details
-
estimateCount
public long estimateCount()Description copied from class:GroupType
Estimates the element count of this group type buffer.- Overrides:
estimateCount
in classGroupType
- Returns:
- the estimated element count of the group type buffer
-
asSlice
Creates a slice ofVkVideoSessionCreateInfoKHR
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkVideoSessionCreateInfoKHR
-
asSlice
Creates a slice ofVkVideoSessionCreateInfoKHR
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkVideoSessionCreateInfoKHR
-
sTypeAt
public int sTypeAt(long index) ReturnssType
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
sType
at the given index
-
sTypeAt
SetssType
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pNextAt
ReturnspNext
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pNext
at the given index
-
pNextAt
SetspNext
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
queueFamilyIndexAt
public int queueFamilyIndexAt(long index) ReturnsqueueFamilyIndex
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
queueFamilyIndex
at the given index
-
queueFamilyIndexAt
SetsqueueFamilyIndex
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
flagsAt
public int flagsAt(long index) Returnsflags
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
flags
at the given index
-
flagsAt
Setsflags
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pVideoProfileAt
ReturnspVideoProfile
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pVideoProfile
at the given index
-
pVideoProfileAt
SetspVideoProfile
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pictureFormatAt
public int pictureFormatAt(long index) ReturnspictureFormat
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pictureFormat
at the given index
-
pictureFormatAt
SetspictureFormat
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
maxCodedExtentAt
ReturnsmaxCodedExtent
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
maxCodedExtent
at the given index
-
maxCodedExtentAt
SetsmaxCodedExtent
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
referencePictureFormatAt
public int referencePictureFormatAt(long index) ReturnsreferencePictureFormat
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
referencePictureFormat
at the given index
-
referencePictureFormatAt
SetsreferencePictureFormat
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
maxDpbSlotsAt
public int maxDpbSlotsAt(long index) ReturnsmaxDpbSlots
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
maxDpbSlots
at the given index
-
maxDpbSlotsAt
SetsmaxDpbSlots
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
maxActiveReferencePicturesAt
public int maxActiveReferencePicturesAt(long index) ReturnsmaxActiveReferencePictures
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
maxActiveReferencePictures
at the given index
-
maxActiveReferencePicturesAt
SetsmaxActiveReferencePictures
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pStdHeaderVersionAt
ReturnspStdHeaderVersion
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pStdHeaderVersion
at the given index
-
pStdHeaderVersionAt
SetspStdHeaderVersion
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-