Class VkCopyImageToImageInfo.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkCopyImageToImageInfo
overrungl.vulkan.struct.VkCopyImageToImageInfo.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkCopyImageToImageInfo
A buffer of
VkCopyImageToImageInfo
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.struct.VkCopyImageToImageInfo
VkCopyImageToImageInfo.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.struct.VkCopyImageToImageInfo
LAYOUT, LAYOUT_dstImage, LAYOUT_dstImageLayout, LAYOUT_flags, LAYOUT_pNext, LAYOUT_pRegions, LAYOUT_regionCount, LAYOUT_srcImage, LAYOUT_srcImageLayout, LAYOUT_sType, OFFSET_dstImage, OFFSET_dstImageLayout, OFFSET_flags, OFFSET_pNext, OFFSET_pRegions, OFFSET_regionCount, OFFSET_srcImage, OFFSET_srcImageLayout, OFFSET_sType, VH_dstImage, VH_dstImageLayout, VH_flags, VH_pNext, VH_pRegions, VH_regionCount, VH_srcImage, VH_srcImageLayout, VH_sType
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkCopyImageToImageInfo.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkCopyImageToImageInfo
.asSlice
(long index, long count) Creates a slice ofVkCopyImageToImageInfo
.long
dstImageAt
(long index) ReturnsdstImage
at the given index.dstImageAt
(long index, long value) SetsdstImage
with the given value at the given index.int
dstImageLayoutAt
(long index) ReturnsdstImageLayout
at the given index.dstImageLayoutAt
(long index, int value) SetsdstImageLayout
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.pNextAt
(long index) ReturnspNext
at the given index.pNextAt
(long index, MemorySegment value) SetspNext
with the given value at the given index.pRegionsAt
(long index) ReturnspRegions
at the given index.pRegionsAt
(long index, MemorySegment value) SetspRegions
with the given value at the given index.int
regionCountAt
(long index) ReturnsregionCount
at the given index.regionCountAt
(long index, int value) SetsregionCount
with the given value at the given index.long
srcImageAt
(long index) ReturnssrcImage
at the given index.srcImageAt
(long index, long value) SetssrcImage
with the given value at the given index.int
srcImageLayoutAt
(long index) ReturnssrcImageLayout
at the given index.srcImageLayoutAt
(long index, int value) SetssrcImageLayout
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.struct.VkCopyImageToImageInfo
alloc, alloc, asBuffer, copyFrom, dstImage, dstImage, dstImage, dstImage, dstImageLayout, dstImageLayout, dstImageLayout, dstImageLayout, flags, flags, flags, flags, of, ofNative, ofNative, pNext, pNext, pNext, pNext, pRegions, pRegions, pRegions, pRegions, regionCount, regionCount, regionCount, regionCount, srcImage, srcImage, srcImage, srcImage, srcImageLayout, srcImageLayout, srcImageLayout, srcImageLayout, sType, sType, sType, sType
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkCopyImageToImageInfo.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 ofVkCopyImageToImageInfo
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkCopyImageToImageInfo
-
asSlice
Creates a slice ofVkCopyImageToImageInfo
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkCopyImageToImageInfo
-
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
-
srcImageAt
public long srcImageAt(long index) ReturnssrcImage
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
srcImage
at the given index
-
srcImageAt
SetssrcImage
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
srcImageLayoutAt
public int srcImageLayoutAt(long index) ReturnssrcImageLayout
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
srcImageLayout
at the given index
-
srcImageLayoutAt
SetssrcImageLayout
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
dstImageAt
public long dstImageAt(long index) ReturnsdstImage
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
dstImage
at the given index
-
dstImageAt
SetsdstImage
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
dstImageLayoutAt
public int dstImageLayoutAt(long index) ReturnsdstImageLayout
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
dstImageLayout
at the given index
-
dstImageLayoutAt
SetsdstImageLayout
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
regionCountAt
public int regionCountAt(long index) ReturnsregionCount
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
regionCount
at the given index
-
regionCountAt
SetsregionCount
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pRegionsAt
ReturnspRegions
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pRegions
at the given index
-
pRegionsAt
SetspRegions
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-