Class VkSwapchainCreateInfoKHR
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkSwapchainCreateInfoKHR
- All Implemented Interfaces:
Addressable
Represents VkSwapchainCreateInfoKHR.
Layout
struct VkSwapchainCreateInfoKHR {
(int) VkStructureType sType;
const void* pNext;
((uint32_t) VkFlags) VkSwapchainCreateFlagsKHR flags;
(uint64_t) VkSurfaceKHR surface;
uint32_t minImageCount;
(int) VkFormat imageFormat;
(int) VkColorSpaceKHR imageColorSpace;
(struct VkExtent2D) VkExtent2D imageExtent;
uint32_t imageArrayLayers;
((uint32_t) VkFlags) VkImageUsageFlags imageUsage;
(int) VkSharingMode imageSharingMode;
uint32_t queueFamilyIndexCount;
const uint32_t* pQueueFamilyIndices;
(int) VkSurfaceTransformFlagBitsKHR preTransform;
(int) VkCompositeAlphaFlagBitsKHR compositeAlpha;
(int) VkPresentModeKHR presentMode;
(uint32_t) VkBool32 clipped;
(uint64_t) VkSwapchainKHR oldSwapchain;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructLayoutThe struct layout ofVkSwapchainCreateInfoKHR.static final MemoryLayoutThe memory layout ofclipped.static final MemoryLayoutThe memory layout ofcompositeAlpha.static final MemoryLayoutThe memory layout offlags.static final MemoryLayoutThe memory layout ofimageArrayLayers.static final MemoryLayoutThe memory layout ofimageColorSpace.static final MemoryLayoutThe memory layout ofimageExtent.static final MemoryLayoutThe memory layout ofimageFormat.static final MemoryLayoutThe memory layout ofimageSharingMode.static final MemoryLayoutThe memory layout ofimageUsage.static final MemoryLayoutThe memory layout ofminImageCount.static final MemoryLayoutThe memory layout ofoldSwapchain.static final MemoryLayoutThe memory layout ofpNext.static final MemoryLayoutThe memory layout ofpQueueFamilyIndices.static final MemoryLayoutThe memory layout ofpresentMode.static final MemoryLayoutThe memory layout ofpreTransform.static final MemoryLayoutThe memory layout ofqueueFamilyIndexCount.static final MemoryLayoutThe memory layout ofsType.static final MemoryLayoutThe memory layout ofsurface.static final longThe byte offset ofclipped.static final longThe byte offset ofcompositeAlpha.static final longThe byte offset offlags.static final longThe byte offset ofimageArrayLayers.static final longThe byte offset ofimageColorSpace.static final longThe byte offset ofimageExtent.static final longThe byte offset ofimageFormat.static final longThe byte offset ofimageSharingMode.static final longThe byte offset ofimageUsage.static final longThe byte offset ofminImageCount.static final longThe byte offset ofoldSwapchain.static final longThe byte offset ofpNext.static final longThe byte offset ofpQueueFamilyIndices.static final longThe byte offset ofpresentMode.static final longThe byte offset ofpreTransform.static final longThe byte offset ofqueueFamilyIndexCount.static final longThe byte offset ofsType.static final longThe byte offset ofsurface.static final VarHandlestatic final VarHandleTheVarHandleofcompositeAlphaof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandlestatic final VarHandleTheVarHandleofimageArrayLayersof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofimageColorSpaceof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofimageFormatof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofimageSharingModeof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandlestatic final VarHandleTheVarHandleofminImageCountof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofoldSwapchainof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandlestatic final VarHandleTheVarHandleofpQueueFamilyIndicesof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofpresentModeof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofpreTransformof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofqueueFamilyIndexCountof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandlestatic final VarHandle -
Constructor Summary
ConstructorsConstructorDescriptionVkSwapchainCreateInfoKHR(MemorySegment segment, long elementCount) CreatesVkSwapchainCreateInfoKHRwith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkSwapchainCreateInfoKHRalloc(SegmentAllocator allocator) Allocates aVkSwapchainCreateInfoKHRwith the given segment allocator.static VkSwapchainCreateInfoKHRalloc(SegmentAllocator allocator, long count) Allocates aVkSwapchainCreateInfoKHRwith the given segment allocator and count.asSlice(long index) Creates a slice ofVkSwapchainCreateInfoKHR.asSlice(long index, long count) Creates a slice ofVkSwapchainCreateInfoKHR.at(long index, Consumer<VkSwapchainCreateInfoKHR> func) VisitsVkSwapchainCreateInfoKHRbuffer at the given index.intclipped()Returnsclipped.clipped(int value) Setsclippedwith the given value.static intclipped(MemorySegment segment, long index) Returnsclippedat the given index.static voidclipped(MemorySegment segment, long index, int value) Setsclippedwith the given value at the given index.intclippedAt(long index) Returnsclippedat the given index.clippedAt(long index, int value) Setsclippedwith the given value at the given index.intReturnscompositeAlpha.compositeAlpha(int value) SetscompositeAlphawith the given value.static intcompositeAlpha(MemorySegment segment, long index) ReturnscompositeAlphaat the given index.static voidcompositeAlpha(MemorySegment segment, long index, int value) SetscompositeAlphawith the given value at the given index.intcompositeAlphaAt(long index) ReturnscompositeAlphaat the given index.compositeAlphaAt(long index, int value) SetscompositeAlphawith the given value at the given index.Copies from the given source.intflags()Returnsflags.flags(int value) Setsflagswith the given value.static intflags(MemorySegment segment, long index) Returnsflagsat the given index.static voidflags(MemorySegment segment, long index, int value) Setsflagswith the given value at the given index.intflagsAt(long index) Returnsflagsat the given index.flagsAt(long index, int value) Setsflagswith the given value at the given index.intReturnsimageArrayLayers.imageArrayLayers(int value) SetsimageArrayLayerswith the given value.static intimageArrayLayers(MemorySegment segment, long index) ReturnsimageArrayLayersat the given index.static voidimageArrayLayers(MemorySegment segment, long index, int value) SetsimageArrayLayerswith the given value at the given index.intimageArrayLayersAt(long index) ReturnsimageArrayLayersat the given index.imageArrayLayersAt(long index, int value) SetsimageArrayLayerswith the given value at the given index.intReturnsimageColorSpace.imageColorSpace(int value) SetsimageColorSpacewith the given value.static intimageColorSpace(MemorySegment segment, long index) ReturnsimageColorSpaceat the given index.static voidimageColorSpace(MemorySegment segment, long index, int value) SetsimageColorSpacewith the given value at the given index.intimageColorSpaceAt(long index) ReturnsimageColorSpaceat the given index.imageColorSpaceAt(long index, int value) SetsimageColorSpacewith the given value at the given index.ReturnsimageExtent.imageExtent(MemorySegment value) SetsimageExtentwith the given value.static MemorySegmentimageExtent(MemorySegment segment, long index) ReturnsimageExtentat the given index.static voidimageExtent(MemorySegment segment, long index, MemorySegment value) SetsimageExtentwith the given value at the given index.imageExtent(Consumer<VkExtent2D> func) AcceptsimageExtentwith the given function.imageExtentAt(long index) ReturnsimageExtentat the given index.imageExtentAt(long index, MemorySegment value) SetsimageExtentwith the given value at the given index.imageExtentAt(long index, Consumer<VkExtent2D> func) AcceptsimageExtentwith the given function.intReturnsimageFormat.imageFormat(int value) SetsimageFormatwith the given value.static intimageFormat(MemorySegment segment, long index) ReturnsimageFormatat the given index.static voidimageFormat(MemorySegment segment, long index, int value) SetsimageFormatwith the given value at the given index.intimageFormatAt(long index) ReturnsimageFormatat the given index.imageFormatAt(long index, int value) SetsimageFormatwith the given value at the given index.intReturnsimageSharingMode.imageSharingMode(int value) SetsimageSharingModewith the given value.static intimageSharingMode(MemorySegment segment, long index) ReturnsimageSharingModeat the given index.static voidimageSharingMode(MemorySegment segment, long index, int value) SetsimageSharingModewith the given value at the given index.intimageSharingModeAt(long index) ReturnsimageSharingModeat the given index.imageSharingModeAt(long index, int value) SetsimageSharingModewith the given value at the given index.intReturnsimageUsage.imageUsage(int value) SetsimageUsagewith the given value.static intimageUsage(MemorySegment segment, long index) ReturnsimageUsageat the given index.static voidimageUsage(MemorySegment segment, long index, int value) SetsimageUsagewith the given value at the given index.intimageUsageAt(long index) ReturnsimageUsageat the given index.imageUsageAt(long index, int value) SetsimageUsagewith the given value at the given index.intReturnsminImageCount.minImageCount(int value) SetsminImageCountwith the given value.static intminImageCount(MemorySegment segment, long index) ReturnsminImageCountat the given index.static voidminImageCount(MemorySegment segment, long index, int value) SetsminImageCountwith the given value at the given index.intminImageCountAt(long index) ReturnsminImageCountat the given index.minImageCountAt(long index, int value) SetsminImageCountwith the given value at the given index.static VkSwapchainCreateInfoKHRof(MemorySegment segment) CreatesVkSwapchainCreateInfoKHRwith the given segment.static VkSwapchainCreateInfoKHRofNative(MemorySegment segment) CreatesVkSwapchainCreateInfoKHRwith the given segment.static VkSwapchainCreateInfoKHRofNative(MemorySegment segment, long count) CreatesVkSwapchainCreateInfoKHRwith the given segment.longReturnsoldSwapchain.oldSwapchain(long value) SetsoldSwapchainwith the given value.static longoldSwapchain(MemorySegment segment, long index) ReturnsoldSwapchainat the given index.static voidoldSwapchain(MemorySegment segment, long index, long value) SetsoldSwapchainwith the given value at the given index.longoldSwapchainAt(long index) ReturnsoldSwapchainat the given index.oldSwapchainAt(long index, long value) SetsoldSwapchainwith the given value at the given index.pNext()ReturnspNext.pNext(MemorySegment value) SetspNextwith the given value.static MemorySegmentpNext(MemorySegment segment, long index) ReturnspNextat the given index.static voidpNext(MemorySegment segment, long index, MemorySegment value) SetspNextwith the given value at the given index.pNextAt(long index) ReturnspNextat the given index.pNextAt(long index, MemorySegment value) SetspNextwith the given value at the given index.ReturnspQueueFamilyIndices.pQueueFamilyIndices(MemorySegment value) SetspQueueFamilyIndiceswith the given value.static MemorySegmentpQueueFamilyIndices(MemorySegment segment, long index) ReturnspQueueFamilyIndicesat the given index.static voidpQueueFamilyIndices(MemorySegment segment, long index, MemorySegment value) SetspQueueFamilyIndiceswith the given value at the given index.pQueueFamilyIndicesAt(long index) ReturnspQueueFamilyIndicesat the given index.pQueueFamilyIndicesAt(long index, MemorySegment value) SetspQueueFamilyIndiceswith the given value at the given index.intReturnspresentMode.presentMode(int value) SetspresentModewith the given value.static intpresentMode(MemorySegment segment, long index) ReturnspresentModeat the given index.static voidpresentMode(MemorySegment segment, long index, int value) SetspresentModewith the given value at the given index.intpresentModeAt(long index) ReturnspresentModeat the given index.presentModeAt(long index, int value) SetspresentModewith the given value at the given index.intReturnspreTransform.preTransform(int value) SetspreTransformwith the given value.static intpreTransform(MemorySegment segment, long index) ReturnspreTransformat the given index.static voidpreTransform(MemorySegment segment, long index, int value) SetspreTransformwith the given value at the given index.intpreTransformAt(long index) ReturnspreTransformat the given index.preTransformAt(long index, int value) SetspreTransformwith the given value at the given index.intReturnsqueueFamilyIndexCount.queueFamilyIndexCount(int value) SetsqueueFamilyIndexCountwith the given value.static intqueueFamilyIndexCount(MemorySegment segment, long index) ReturnsqueueFamilyIndexCountat the given index.static voidqueueFamilyIndexCount(MemorySegment segment, long index, int value) SetsqueueFamilyIndexCountwith the given value at the given index.intqueueFamilyIndexCountAt(long index) ReturnsqueueFamilyIndexCountat the given index.queueFamilyIndexCountAt(long index, int value) SetsqueueFamilyIndexCountwith the given value at the given index.reinterpret(long count) Reinterprets this buffer with the given count.intsType()ReturnssType.sType(int value) SetssTypewith the given value.static intsType(MemorySegment segment, long index) ReturnssTypeat the given index.static voidsType(MemorySegment segment, long index, int value) SetssTypewith the given value at the given index.intsTypeAt(long index) ReturnssTypeat the given index.sTypeAt(long index, int value) SetssTypewith the given value at the given index.longsurface()Returnssurface.surface(long value) Setssurfacewith the given value.static longsurface(MemorySegment segment, long index) Returnssurfaceat the given index.static voidsurface(MemorySegment segment, long index, long value) Setssurfacewith the given value at the given index.longsurfaceAt(long index) Returnssurfaceat the given index.surfaceAt(long index, long value) Setssurfacewith the given value at the given index.Methods inherited from class GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkSwapchainCreateInfoKHR. -
OFFSET_sType
public static final long OFFSET_sTypeThe byte offset ofsType. -
LAYOUT_sType
The memory layout ofsType. -
VH_sType
-
OFFSET_pNext
public static final long OFFSET_pNextThe byte offset ofpNext. -
LAYOUT_pNext
The memory layout ofpNext. -
VH_pNext
-
OFFSET_flags
public static final long OFFSET_flagsThe byte offset offlags. -
LAYOUT_flags
The memory layout offlags. -
VH_flags
-
OFFSET_surface
public static final long OFFSET_surfaceThe byte offset ofsurface. -
LAYOUT_surface
The memory layout ofsurface. -
VH_surface
-
OFFSET_minImageCount
public static final long OFFSET_minImageCountThe byte offset ofminImageCount. -
LAYOUT_minImageCount
The memory layout ofminImageCount. -
VH_minImageCount
-
OFFSET_imageFormat
public static final long OFFSET_imageFormatThe byte offset ofimageFormat. -
LAYOUT_imageFormat
The memory layout ofimageFormat. -
VH_imageFormat
-
OFFSET_imageColorSpace
public static final long OFFSET_imageColorSpaceThe byte offset ofimageColorSpace. -
LAYOUT_imageColorSpace
The memory layout ofimageColorSpace. -
VH_imageColorSpace
-
OFFSET_imageExtent
public static final long OFFSET_imageExtentThe byte offset ofimageExtent. -
LAYOUT_imageExtent
The memory layout ofimageExtent. -
OFFSET_imageArrayLayers
public static final long OFFSET_imageArrayLayersThe byte offset ofimageArrayLayers. -
LAYOUT_imageArrayLayers
The memory layout ofimageArrayLayers. -
VH_imageArrayLayers
-
OFFSET_imageUsage
public static final long OFFSET_imageUsageThe byte offset ofimageUsage. -
LAYOUT_imageUsage
The memory layout ofimageUsage. -
VH_imageUsage
-
OFFSET_imageSharingMode
public static final long OFFSET_imageSharingModeThe byte offset ofimageSharingMode. -
LAYOUT_imageSharingMode
The memory layout ofimageSharingMode. -
VH_imageSharingMode
-
OFFSET_queueFamilyIndexCount
public static final long OFFSET_queueFamilyIndexCountThe byte offset ofqueueFamilyIndexCount. -
LAYOUT_queueFamilyIndexCount
The memory layout ofqueueFamilyIndexCount. -
VH_queueFamilyIndexCount
-
OFFSET_pQueueFamilyIndices
public static final long OFFSET_pQueueFamilyIndicesThe byte offset ofpQueueFamilyIndices. -
LAYOUT_pQueueFamilyIndices
The memory layout ofpQueueFamilyIndices. -
VH_pQueueFamilyIndices
-
OFFSET_preTransform
public static final long OFFSET_preTransformThe byte offset ofpreTransform. -
LAYOUT_preTransform
The memory layout ofpreTransform. -
VH_preTransform
-
OFFSET_compositeAlpha
public static final long OFFSET_compositeAlphaThe byte offset ofcompositeAlpha. -
LAYOUT_compositeAlpha
The memory layout ofcompositeAlpha. -
VH_compositeAlpha
-
OFFSET_presentMode
public static final long OFFSET_presentModeThe byte offset ofpresentMode. -
LAYOUT_presentMode
The memory layout ofpresentMode. -
VH_presentMode
-
OFFSET_clipped
public static final long OFFSET_clippedThe byte offset ofclipped. -
LAYOUT_clipped
The memory layout ofclipped. -
VH_clipped
-
OFFSET_oldSwapchain
public static final long OFFSET_oldSwapchainThe byte offset ofoldSwapchain. -
LAYOUT_oldSwapchain
The memory layout ofoldSwapchain. -
VH_oldSwapchain
-
-
Constructor Details
-
VkSwapchainCreateInfoKHR
CreatesVkSwapchainCreateInfoKHRwith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkSwapchainCreateInfoKHRwith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkSwapchainCreateInfoKHRwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkSwapchainCreateInfoKHRwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segmentcount- the count of the buffer- Returns:
- the created instance or
nullif the segment isNULL
-
alloc
Allocates aVkSwapchainCreateInfoKHRwith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkSwapchainCreateInfoKHR
-
alloc
Allocates aVkSwapchainCreateInfoKHRwith the given segment allocator and count.- Parameters:
allocator- the segment allocatorcount- the count- Returns:
- the allocated
VkSwapchainCreateInfoKHR
-
copyFrom
Copies from the given source.- Parameters:
src- the source- Returns:
this
-
reinterpret
Reinterprets this buffer with the given count.- Parameters:
count- the new count- Returns:
- the reinterpreted buffer
-
sType
ReturnssTypeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
sTypeat the given index
-
sType
public int sType()ReturnssType.- Returns:
sType
-
sType
SetssTypewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
sType
SetssTypewith the given value.- Parameters:
value- the value- Returns:
this
-
pNext
ReturnspNextat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pNextat the given index
-
pNext
-
pNext
SetspNextwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pNext
SetspNextwith the given value.- Parameters:
value- the value- Returns:
this
-
flags
Returnsflagsat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
flagsat the given index
-
flags
public int flags()Returnsflags.- Returns:
flags
-
flags
Setsflagswith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
flags
Setsflagswith the given value.- Parameters:
value- the value- Returns:
this
-
surface
Returnssurfaceat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
surfaceat the given index
-
surface
public long surface()Returnssurface.- Returns:
surface
-
surface
Setssurfacewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
surface
Setssurfacewith the given value.- Parameters:
value- the value- Returns:
this
-
minImageCount
ReturnsminImageCountat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
minImageCountat the given index
-
minImageCount
public int minImageCount()ReturnsminImageCount.- Returns:
minImageCount
-
minImageCount
SetsminImageCountwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
minImageCount
SetsminImageCountwith the given value.- Parameters:
value- the value- Returns:
this
-
imageFormat
ReturnsimageFormatat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
imageFormatat the given index
-
imageFormat
public int imageFormat()ReturnsimageFormat.- Returns:
imageFormat
-
imageFormat
SetsimageFormatwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
imageFormat
SetsimageFormatwith the given value.- Parameters:
value- the value- Returns:
this
-
imageColorSpace
ReturnsimageColorSpaceat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
imageColorSpaceat the given index
-
imageColorSpace
public int imageColorSpace()ReturnsimageColorSpace.- Returns:
imageColorSpace
-
imageColorSpace
SetsimageColorSpacewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
imageColorSpace
SetsimageColorSpacewith the given value.- Parameters:
value- the value- Returns:
this
-
imageExtent
ReturnsimageExtentat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
imageExtentat the given index
-
imageExtent
-
imageExtent
SetsimageExtentwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
imageExtent
SetsimageExtentwith the given value.- Parameters:
value- the value- Returns:
this
-
imageExtent
AcceptsimageExtentwith the given function.- Parameters:
func- the function- Returns:
this
-
imageArrayLayers
ReturnsimageArrayLayersat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
imageArrayLayersat the given index
-
imageArrayLayers
public int imageArrayLayers()ReturnsimageArrayLayers.- Returns:
imageArrayLayers
-
imageArrayLayers
SetsimageArrayLayerswith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
imageArrayLayers
SetsimageArrayLayerswith the given value.- Parameters:
value- the value- Returns:
this
-
imageUsage
ReturnsimageUsageat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
imageUsageat the given index
-
imageUsage
public int imageUsage()ReturnsimageUsage.- Returns:
imageUsage
-
imageUsage
SetsimageUsagewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
imageUsage
SetsimageUsagewith the given value.- Parameters:
value- the value- Returns:
this
-
imageSharingMode
ReturnsimageSharingModeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
imageSharingModeat the given index
-
imageSharingMode
public int imageSharingMode()ReturnsimageSharingMode.- Returns:
imageSharingMode
-
imageSharingMode
SetsimageSharingModewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
imageSharingMode
SetsimageSharingModewith the given value.- Parameters:
value- the value- Returns:
this
-
queueFamilyIndexCount
ReturnsqueueFamilyIndexCountat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
queueFamilyIndexCountat the given index
-
queueFamilyIndexCount
public int queueFamilyIndexCount()ReturnsqueueFamilyIndexCount.- Returns:
queueFamilyIndexCount
-
queueFamilyIndexCount
SetsqueueFamilyIndexCountwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
queueFamilyIndexCount
SetsqueueFamilyIndexCountwith the given value.- Parameters:
value- the value- Returns:
this
-
pQueueFamilyIndices
ReturnspQueueFamilyIndicesat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pQueueFamilyIndicesat the given index
-
pQueueFamilyIndices
ReturnspQueueFamilyIndices.- Returns:
pQueueFamilyIndices
-
pQueueFamilyIndices
SetspQueueFamilyIndiceswith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pQueueFamilyIndices
SetspQueueFamilyIndiceswith the given value.- Parameters:
value- the value- Returns:
this
-
preTransform
ReturnspreTransformat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
preTransformat the given index
-
preTransform
public int preTransform()ReturnspreTransform.- Returns:
preTransform
-
preTransform
SetspreTransformwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
preTransform
SetspreTransformwith the given value.- Parameters:
value- the value- Returns:
this
-
compositeAlpha
ReturnscompositeAlphaat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
compositeAlphaat the given index
-
compositeAlpha
public int compositeAlpha()ReturnscompositeAlpha.- Returns:
compositeAlpha
-
compositeAlpha
SetscompositeAlphawith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
compositeAlpha
SetscompositeAlphawith the given value.- Parameters:
value- the value- Returns:
this
-
presentMode
ReturnspresentModeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
presentModeat the given index
-
presentMode
public int presentMode()ReturnspresentMode.- Returns:
presentMode
-
presentMode
SetspresentModewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
presentMode
SetspresentModewith the given value.- Parameters:
value- the value- Returns:
this
-
clipped
Returnsclippedat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
clippedat the given index
-
clipped
public int clipped()Returnsclipped.- Returns:
clipped
-
clipped
Setsclippedwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
clipped
Setsclippedwith the given value.- Parameters:
value- the value- Returns:
this
-
oldSwapchain
ReturnsoldSwapchainat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
oldSwapchainat the given index
-
oldSwapchain
public long oldSwapchain()ReturnsoldSwapchain.- Returns:
oldSwapchain
-
oldSwapchain
SetsoldSwapchainwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
oldSwapchain
SetsoldSwapchainwith the given value.- Parameters:
value- the value- Returns:
this
-
asSlice
Creates a slice ofVkSwapchainCreateInfoKHR.- Parameters:
index- the index of the struct buffer- Returns:
- the slice of
VkSwapchainCreateInfoKHR
-
asSlice
Creates a slice ofVkSwapchainCreateInfoKHR.- Parameters:
index- the index of the struct buffercount- the count- Returns:
- the slice of
VkSwapchainCreateInfoKHR
-
at
VisitsVkSwapchainCreateInfoKHRbuffer at the given index.- Parameters:
index- the index of this bufferfunc- the function to run with the slice of this buffer- Returns:
this
-
sTypeAt
public int sTypeAt(long index) ReturnssTypeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
sTypeat the given index
-
sTypeAt
SetssTypewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pNextAt
ReturnspNextat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pNextat the given index
-
pNextAt
SetspNextwith 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) Returnsflagsat the given index.- Parameters:
index- the index of the struct buffer- Returns:
flagsat the given index
-
flagsAt
Setsflagswith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
surfaceAt
public long surfaceAt(long index) Returnssurfaceat the given index.- Parameters:
index- the index of the struct buffer- Returns:
surfaceat the given index
-
surfaceAt
Setssurfacewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
minImageCountAt
public int minImageCountAt(long index) ReturnsminImageCountat the given index.- Parameters:
index- the index of the struct buffer- Returns:
minImageCountat the given index
-
minImageCountAt
SetsminImageCountwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
imageFormatAt
public int imageFormatAt(long index) ReturnsimageFormatat the given index.- Parameters:
index- the index of the struct buffer- Returns:
imageFormatat the given index
-
imageFormatAt
SetsimageFormatwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
imageColorSpaceAt
public int imageColorSpaceAt(long index) ReturnsimageColorSpaceat the given index.- Parameters:
index- the index of the struct buffer- Returns:
imageColorSpaceat the given index
-
imageColorSpaceAt
SetsimageColorSpacewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
imageExtentAt
ReturnsimageExtentat the given index.- Parameters:
index- the index of the struct buffer- Returns:
imageExtentat the given index
-
imageExtentAt
SetsimageExtentwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
imageExtentAt
AcceptsimageExtentwith the given function.- Parameters:
index- the index of the struct bufferfunc- the function- Returns:
this
-
imageArrayLayersAt
public int imageArrayLayersAt(long index) ReturnsimageArrayLayersat the given index.- Parameters:
index- the index of the struct buffer- Returns:
imageArrayLayersat the given index
-
imageArrayLayersAt
SetsimageArrayLayerswith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
imageUsageAt
public int imageUsageAt(long index) ReturnsimageUsageat the given index.- Parameters:
index- the index of the struct buffer- Returns:
imageUsageat the given index
-
imageUsageAt
SetsimageUsagewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
imageSharingModeAt
public int imageSharingModeAt(long index) ReturnsimageSharingModeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
imageSharingModeat the given index
-
imageSharingModeAt
SetsimageSharingModewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
queueFamilyIndexCountAt
public int queueFamilyIndexCountAt(long index) ReturnsqueueFamilyIndexCountat the given index.- Parameters:
index- the index of the struct buffer- Returns:
queueFamilyIndexCountat the given index
-
queueFamilyIndexCountAt
SetsqueueFamilyIndexCountwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pQueueFamilyIndicesAt
ReturnspQueueFamilyIndicesat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pQueueFamilyIndicesat the given index
-
pQueueFamilyIndicesAt
SetspQueueFamilyIndiceswith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
preTransformAt
public int preTransformAt(long index) ReturnspreTransformat the given index.- Parameters:
index- the index of the struct buffer- Returns:
preTransformat the given index
-
preTransformAt
SetspreTransformwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
compositeAlphaAt
public int compositeAlphaAt(long index) ReturnscompositeAlphaat the given index.- Parameters:
index- the index of the struct buffer- Returns:
compositeAlphaat the given index
-
compositeAlphaAt
SetscompositeAlphawith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
presentModeAt
public int presentModeAt(long index) ReturnspresentModeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
presentModeat the given index
-
presentModeAt
SetspresentModewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
clippedAt
public int clippedAt(long index) Returnsclippedat the given index.- Parameters:
index- the index of the struct buffer- Returns:
clippedat the given index
-
clippedAt
Setsclippedwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
oldSwapchainAt
public long oldSwapchainAt(long index) ReturnsoldSwapchainat the given index.- Parameters:
index- the index of the struct buffer- Returns:
oldSwapchainat the given index
-
oldSwapchainAt
SetsoldSwapchainwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-