Class VkRenderPassCreateInfo.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkRenderPassCreateInfo
overrungl.vulkan.struct.VkRenderPassCreateInfo.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkRenderPassCreateInfo
A buffer of
VkRenderPassCreateInfo
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.struct.VkRenderPassCreateInfo
VkRenderPassCreateInfo.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.struct.VkRenderPassCreateInfo
LAYOUT, LAYOUT_attachmentCount, LAYOUT_dependencyCount, LAYOUT_flags, LAYOUT_pAttachments, LAYOUT_pDependencies, LAYOUT_pNext, LAYOUT_pSubpasses, LAYOUT_sType, LAYOUT_subpassCount, OFFSET_attachmentCount, OFFSET_dependencyCount, OFFSET_flags, OFFSET_pAttachments, OFFSET_pDependencies, OFFSET_pNext, OFFSET_pSubpasses, OFFSET_sType, OFFSET_subpassCount, VH_attachmentCount, VH_dependencyCount, VH_flags, VH_pAttachments, VH_pDependencies, VH_pNext, VH_pSubpasses, VH_sType, VH_subpassCount
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkRenderPassCreateInfo.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkRenderPassCreateInfo
.asSlice
(long index, long count) Creates a slice ofVkRenderPassCreateInfo
.int
attachmentCountAt
(long index) ReturnsattachmentCount
at the given index.attachmentCountAt
(long index, int value) SetsattachmentCount
with the given value at the given index.int
dependencyCountAt
(long index) ReturnsdependencyCount
at the given index.dependencyCountAt
(long index, int value) SetsdependencyCount
with the given value at the given index.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.pAttachmentsAt
(long index) ReturnspAttachments
at the given index.pAttachmentsAt
(long index, MemorySegment value) SetspAttachments
with the given value at the given index.pDependenciesAt
(long index) ReturnspDependencies
at the given index.pDependenciesAt
(long index, MemorySegment value) SetspDependencies
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.pSubpassesAt
(long index) ReturnspSubpasses
at the given index.pSubpassesAt
(long index, MemorySegment value) SetspSubpasses
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.int
subpassCountAt
(long index) ReturnssubpassCount
at the given index.subpassCountAt
(long index, int value) SetssubpassCount
with the given value at the given index.Methods inherited from class overrungl.vulkan.struct.VkRenderPassCreateInfo
alloc, alloc, asBuffer, attachmentCount, attachmentCount, attachmentCount, attachmentCount, copyFrom, dependencyCount, dependencyCount, dependencyCount, dependencyCount, flags, flags, flags, flags, of, ofNative, ofNative, pAttachments, pAttachments, pAttachments, pAttachments, pDependencies, pDependencies, pDependencies, pDependencies, pNext, pNext, pNext, pNext, pSubpasses, pSubpasses, pSubpasses, pSubpasses, sType, sType, sType, sType, subpassCount, subpassCount, subpassCount, subpassCount
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkRenderPassCreateInfo.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 ofVkRenderPassCreateInfo
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkRenderPassCreateInfo
-
asSlice
Creates a slice ofVkRenderPassCreateInfo
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkRenderPassCreateInfo
-
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
-
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
-
attachmentCountAt
public int attachmentCountAt(long index) ReturnsattachmentCount
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
attachmentCount
at the given index
-
attachmentCountAt
SetsattachmentCount
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pAttachmentsAt
ReturnspAttachments
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pAttachments
at the given index
-
pAttachmentsAt
SetspAttachments
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
subpassCountAt
public int subpassCountAt(long index) ReturnssubpassCount
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
subpassCount
at the given index
-
subpassCountAt
SetssubpassCount
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pSubpassesAt
ReturnspSubpasses
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pSubpasses
at the given index
-
pSubpassesAt
SetspSubpasses
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
dependencyCountAt
public int dependencyCountAt(long index) ReturnsdependencyCount
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
dependencyCount
at the given index
-
dependencyCountAt
SetsdependencyCount
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pDependenciesAt
ReturnspDependencies
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pDependencies
at the given index
-
pDependenciesAt
SetspDependencies
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-