Class VkCommandBufferInheritanceViewportScissorInfoNV.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.nv.struct.VkCommandBufferInheritanceViewportScissorInfoNV
overrungl.vulkan.nv.struct.VkCommandBufferInheritanceViewportScissorInfoNV.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkCommandBufferInheritanceViewportScissorInfoNV
public static final class VkCommandBufferInheritanceViewportScissorInfoNV.Buffer
extends VkCommandBufferInheritanceViewportScissorInfoNV
A buffer of
VkCommandBufferInheritanceViewportScissorInfoNV
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.nv.struct.VkCommandBufferInheritanceViewportScissorInfoNV
VkCommandBufferInheritanceViewportScissorInfoNV.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.nv.struct.VkCommandBufferInheritanceViewportScissorInfoNV
LAYOUT, LAYOUT_pNext, LAYOUT_pViewportDepths, LAYOUT_sType, LAYOUT_viewportDepthCount, LAYOUT_viewportScissor2D, OFFSET_pNext, OFFSET_pViewportDepths, OFFSET_sType, OFFSET_viewportDepthCount, OFFSET_viewportScissor2D, VH_pNext, VH_pViewportDepths, VH_sType, VH_viewportDepthCount, VH_viewportScissor2D
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkCommandBufferInheritanceViewportScissorInfoNV.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkCommandBufferInheritanceViewportScissorInfoNV
.asSlice
(long index, long count) Creates a slice ofVkCommandBufferInheritanceViewportScissorInfoNV
.long
Estimates the element count of this group type buffer.pNextAt
(long index) ReturnspNext
at the given index.pNextAt
(long index, MemorySegment value) SetspNext
with the given value at the given index.pViewportDepthsAt
(long index) ReturnspViewportDepths
at the given index.pViewportDepthsAt
(long index, MemorySegment value) SetspViewportDepths
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
viewportDepthCountAt
(long index) ReturnsviewportDepthCount
at the given index.viewportDepthCountAt
(long index, int value) SetsviewportDepthCount
with the given value at the given index.int
viewportScissor2DAt
(long index) ReturnsviewportScissor2D
at the given index.viewportScissor2DAt
(long index, int value) SetsviewportScissor2D
with the given value at the given index.Methods inherited from class overrungl.vulkan.nv.struct.VkCommandBufferInheritanceViewportScissorInfoNV
alloc, alloc, asBuffer, copyFrom, of, ofNative, ofNative, pNext, pNext, pNext, pNext, pViewportDepths, pViewportDepths, pViewportDepths, pViewportDepths, sType, sType, sType, sType, viewportDepthCount, viewportDepthCount, viewportDepthCount, viewportDepthCount, viewportScissor2D, viewportScissor2D, viewportScissor2D, viewportScissor2D
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkCommandBufferInheritanceViewportScissorInfoNV.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 ofVkCommandBufferInheritanceViewportScissorInfoNV
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkCommandBufferInheritanceViewportScissorInfoNV
-
asSlice
Creates a slice ofVkCommandBufferInheritanceViewportScissorInfoNV
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkCommandBufferInheritanceViewportScissorInfoNV
-
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
public VkCommandBufferInheritanceViewportScissorInfoNV.Buffer pNextAt(long index, MemorySegment value) SetspNext
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
viewportScissor2DAt
public int viewportScissor2DAt(long index) ReturnsviewportScissor2D
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
viewportScissor2D
at the given index
-
viewportScissor2DAt
public VkCommandBufferInheritanceViewportScissorInfoNV.Buffer viewportScissor2DAt(long index, int value) SetsviewportScissor2D
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
viewportDepthCountAt
public int viewportDepthCountAt(long index) ReturnsviewportDepthCount
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
viewportDepthCount
at the given index
-
viewportDepthCountAt
public VkCommandBufferInheritanceViewportScissorInfoNV.Buffer viewportDepthCountAt(long index, int value) SetsviewportDepthCount
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pViewportDepthsAt
ReturnspViewportDepths
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pViewportDepths
at the given index
-
pViewportDepthsAt
public VkCommandBufferInheritanceViewportScissorInfoNV.Buffer pViewportDepthsAt(long index, MemorySegment value) SetspViewportDepths
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-