Class VkCommandBufferInheritanceRenderingInfo.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkCommandBufferInheritanceRenderingInfo
overrungl.vulkan.struct.VkCommandBufferInheritanceRenderingInfo.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkCommandBufferInheritanceRenderingInfo
public static final class VkCommandBufferInheritanceRenderingInfo.Buffer
extends VkCommandBufferInheritanceRenderingInfo
A buffer of
VkCommandBufferInheritanceRenderingInfo
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.struct.VkCommandBufferInheritanceRenderingInfo
VkCommandBufferInheritanceRenderingInfo.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.struct.VkCommandBufferInheritanceRenderingInfo
LAYOUT, LAYOUT_colorAttachmentCount, LAYOUT_depthAttachmentFormat, LAYOUT_flags, LAYOUT_pColorAttachmentFormats, LAYOUT_pNext, LAYOUT_rasterizationSamples, LAYOUT_stencilAttachmentFormat, LAYOUT_sType, LAYOUT_viewMask, OFFSET_colorAttachmentCount, OFFSET_depthAttachmentFormat, OFFSET_flags, OFFSET_pColorAttachmentFormats, OFFSET_pNext, OFFSET_rasterizationSamples, OFFSET_stencilAttachmentFormat, OFFSET_sType, OFFSET_viewMask, VH_colorAttachmentCount, VH_depthAttachmentFormat, VH_flags, VH_pColorAttachmentFormats, VH_pNext, VH_rasterizationSamples, VH_stencilAttachmentFormat, VH_sType, VH_viewMask
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkCommandBufferInheritanceRenderingInfo.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkCommandBufferInheritanceRenderingInfo
.asSlice
(long index, long count) Creates a slice ofVkCommandBufferInheritanceRenderingInfo
.int
colorAttachmentCountAt
(long index) ReturnscolorAttachmentCount
at the given index.colorAttachmentCountAt
(long index, int value) SetscolorAttachmentCount
with the given value at the given index.int
depthAttachmentFormatAt
(long index) ReturnsdepthAttachmentFormat
at the given index.depthAttachmentFormatAt
(long index, int value) SetsdepthAttachmentFormat
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.pColorAttachmentFormatsAt
(long index) ReturnspColorAttachmentFormats
at the given index.pColorAttachmentFormatsAt
(long index, MemorySegment value) SetspColorAttachmentFormats
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.int
rasterizationSamplesAt
(long index) ReturnsrasterizationSamples
at the given index.rasterizationSamplesAt
(long index, int value) SetsrasterizationSamples
with the given value at the given index.int
stencilAttachmentFormatAt
(long index) ReturnsstencilAttachmentFormat
at the given index.stencilAttachmentFormatAt
(long index, int value) SetsstencilAttachmentFormat
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
viewMaskAt
(long index) ReturnsviewMask
at the given index.viewMaskAt
(long index, int value) SetsviewMask
with the given value at the given index.Methods inherited from class overrungl.vulkan.struct.VkCommandBufferInheritanceRenderingInfo
alloc, alloc, asBuffer, colorAttachmentCount, colorAttachmentCount, colorAttachmentCount, colorAttachmentCount, copyFrom, depthAttachmentFormat, depthAttachmentFormat, depthAttachmentFormat, depthAttachmentFormat, flags, flags, flags, flags, of, ofNative, ofNative, pColorAttachmentFormats, pColorAttachmentFormats, pColorAttachmentFormats, pColorAttachmentFormats, pNext, pNext, pNext, pNext, rasterizationSamples, rasterizationSamples, rasterizationSamples, rasterizationSamples, stencilAttachmentFormat, stencilAttachmentFormat, stencilAttachmentFormat, stencilAttachmentFormat, sType, sType, sType, sType, viewMask, viewMask, viewMask, viewMask
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkCommandBufferInheritanceRenderingInfo.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 ofVkCommandBufferInheritanceRenderingInfo
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkCommandBufferInheritanceRenderingInfo
-
asSlice
Creates a slice ofVkCommandBufferInheritanceRenderingInfo
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkCommandBufferInheritanceRenderingInfo
-
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
-
viewMaskAt
public int viewMaskAt(long index) ReturnsviewMask
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
viewMask
at the given index
-
viewMaskAt
SetsviewMask
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
colorAttachmentCountAt
public int colorAttachmentCountAt(long index) ReturnscolorAttachmentCount
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
colorAttachmentCount
at the given index
-
colorAttachmentCountAt
SetscolorAttachmentCount
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pColorAttachmentFormatsAt
ReturnspColorAttachmentFormats
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pColorAttachmentFormats
at the given index
-
pColorAttachmentFormatsAt
public VkCommandBufferInheritanceRenderingInfo.Buffer pColorAttachmentFormatsAt(long index, MemorySegment value) SetspColorAttachmentFormats
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
depthAttachmentFormatAt
public int depthAttachmentFormatAt(long index) ReturnsdepthAttachmentFormat
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
depthAttachmentFormat
at the given index
-
depthAttachmentFormatAt
public VkCommandBufferInheritanceRenderingInfo.Buffer depthAttachmentFormatAt(long index, int value) SetsdepthAttachmentFormat
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
stencilAttachmentFormatAt
public int stencilAttachmentFormatAt(long index) ReturnsstencilAttachmentFormat
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
stencilAttachmentFormat
at the given index
-
stencilAttachmentFormatAt
public VkCommandBufferInheritanceRenderingInfo.Buffer stencilAttachmentFormatAt(long index, int value) SetsstencilAttachmentFormat
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
rasterizationSamplesAt
public int rasterizationSamplesAt(long index) ReturnsrasterizationSamples
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
rasterizationSamples
at the given index
-
rasterizationSamplesAt
SetsrasterizationSamples
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-