Class VkAcquireNextImageInfoKHR.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkAcquireNextImageInfoKHR
overrungl.vulkan.khr.struct.VkAcquireNextImageInfoKHR.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkAcquireNextImageInfoKHR
A buffer of
VkAcquireNextImageInfoKHR
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.khr.struct.VkAcquireNextImageInfoKHR
VkAcquireNextImageInfoKHR.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.khr.struct.VkAcquireNextImageInfoKHR
LAYOUT, LAYOUT_deviceMask, LAYOUT_fence, LAYOUT_pNext, LAYOUT_semaphore, LAYOUT_sType, LAYOUT_swapchain, LAYOUT_timeout, OFFSET_deviceMask, OFFSET_fence, OFFSET_pNext, OFFSET_semaphore, OFFSET_sType, OFFSET_swapchain, OFFSET_timeout, VH_deviceMask, VH_fence, VH_pNext, VH_semaphore, VH_sType, VH_swapchain, VH_timeout
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkAcquireNextImageInfoKHR.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkAcquireNextImageInfoKHR
.asSlice
(long index, long count) Creates a slice ofVkAcquireNextImageInfoKHR
.int
deviceMaskAt
(long index) ReturnsdeviceMask
at the given index.deviceMaskAt
(long index, int value) SetsdeviceMask
with the given value at the given index.long
Estimates the element count of this group type buffer.long
fenceAt
(long index) Returnsfence
at the given index.fenceAt
(long index, long value) Setsfence
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.long
semaphoreAt
(long index) Returnssemaphore
at the given index.semaphoreAt
(long index, long value) Setssemaphore
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.long
swapchainAt
(long index) Returnsswapchain
at the given index.swapchainAt
(long index, long value) Setsswapchain
with the given value at the given index.long
timeoutAt
(long index) Returnstimeout
at the given index.timeoutAt
(long index, long value) Setstimeout
with the given value at the given index.Methods inherited from class overrungl.vulkan.khr.struct.VkAcquireNextImageInfoKHR
alloc, alloc, asBuffer, copyFrom, deviceMask, deviceMask, deviceMask, deviceMask, fence, fence, fence, fence, of, ofNative, ofNative, pNext, pNext, pNext, pNext, semaphore, semaphore, semaphore, semaphore, sType, sType, sType, sType, swapchain, swapchain, swapchain, swapchain, timeout, timeout, timeout, timeout
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkAcquireNextImageInfoKHR.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 ofVkAcquireNextImageInfoKHR
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkAcquireNextImageInfoKHR
-
asSlice
Creates a slice ofVkAcquireNextImageInfoKHR
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkAcquireNextImageInfoKHR
-
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
-
swapchainAt
public long swapchainAt(long index) Returnsswapchain
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
swapchain
at the given index
-
swapchainAt
Setsswapchain
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
timeoutAt
public long timeoutAt(long index) Returnstimeout
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
timeout
at the given index
-
timeoutAt
Setstimeout
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
semaphoreAt
public long semaphoreAt(long index) Returnssemaphore
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
semaphore
at the given index
-
semaphoreAt
Setssemaphore
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
fenceAt
public long fenceAt(long index) Returnsfence
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
fence
at the given index
-
fenceAt
Setsfence
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
deviceMaskAt
public int deviceMaskAt(long index) ReturnsdeviceMask
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
deviceMask
at the given index
-
deviceMaskAt
SetsdeviceMask
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-