Class VkSwapchainCreateInfoKHR
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkSwapchainCreateInfoKHR
- All Implemented Interfaces:
Addressable
- Direct Known Subclasses:
VkSwapchainCreateInfoKHR.Buffer
public sealed class VkSwapchainCreateInfoKHR
extends GroupType
permits VkSwapchainCreateInfoKHR.Buffer
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;
};
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkSwapchainCreateInfoKHR
.static final MemoryLayout
The memory layout ofclipped
.static final MemoryLayout
The memory layout ofcompositeAlpha
.static final MemoryLayout
The memory layout offlags
.static final MemoryLayout
The memory layout ofimageArrayLayers
.static final MemoryLayout
The memory layout ofimageColorSpace
.static final MemoryLayout
The memory layout ofimageExtent
.static final MemoryLayout
The memory layout ofimageFormat
.static final MemoryLayout
The memory layout ofimageSharingMode
.static final MemoryLayout
The memory layout ofimageUsage
.static final MemoryLayout
The memory layout ofminImageCount
.static final MemoryLayout
The memory layout ofoldSwapchain
.static final MemoryLayout
The memory layout ofpNext
.static final MemoryLayout
The memory layout ofpQueueFamilyIndices
.static final MemoryLayout
The memory layout ofpresentMode
.static final MemoryLayout
The memory layout ofpreTransform
.static final MemoryLayout
The memory layout ofqueueFamilyIndexCount
.static final MemoryLayout
The memory layout ofsType
.static final MemoryLayout
The memory layout ofsurface
.static final long
The byte offset ofclipped
.static final long
The byte offset ofcompositeAlpha
.static final long
The byte offset offlags
.static final long
The byte offset ofimageArrayLayers
.static final long
The byte offset ofimageColorSpace
.static final long
The byte offset ofimageExtent
.static final long
The byte offset ofimageFormat
.static final long
The byte offset ofimageSharingMode
.static final long
The byte offset ofimageUsage
.static final long
The byte offset ofminImageCount
.static final long
The byte offset ofoldSwapchain
.static final long
The byte offset ofpNext
.static final long
The byte offset ofpQueueFamilyIndices
.static final long
The byte offset ofpresentMode
.static final long
The byte offset ofpreTransform
.static final long
The byte offset ofqueueFamilyIndexCount
.static final long
The byte offset ofsType
.static final long
The byte offset ofsurface
.static final VarHandle
static final VarHandle
TheVarHandle
ofcompositeAlpha
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
TheVarHandle
ofimageArrayLayers
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofimageColorSpace
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofimageFormat
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofimageSharingMode
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
TheVarHandle
ofminImageCount
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofoldSwapchain
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
TheVarHandle
ofpQueueFamilyIndices
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofpresentMode
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofpreTransform
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofqueueFamilyIndexCount
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
-
Constructor Summary
ConstructorsConstructorDescriptionVkSwapchainCreateInfoKHR
(MemorySegment segment) CreatesVkSwapchainCreateInfoKHR
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkSwapchainCreateInfoKHR
alloc
(SegmentAllocator allocator) Allocates aVkSwapchainCreateInfoKHR
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkSwapchainCreateInfoKHR
with the given segment allocator and count.asBuffer()
Converts this instance to a buffer.int
clipped()
Returnsclipped
.clipped
(int value) Setsclipped
with the given value.static int
clipped
(MemorySegment segment, long index) Returnsclipped
at the given index.static void
clipped
(MemorySegment segment, long index, int value) Setsclipped
with the given value at the given index.int
ReturnscompositeAlpha
.compositeAlpha
(int value) SetscompositeAlpha
with the given value.static int
compositeAlpha
(MemorySegment segment, long index) ReturnscompositeAlpha
at the given index.static void
compositeAlpha
(MemorySegment segment, long index, int value) SetscompositeAlpha
with the given value at the given index.Copies from the given source.int
flags()
Returnsflags
.flags
(int value) Setsflags
with the given value.static int
flags
(MemorySegment segment, long index) Returnsflags
at the given index.static void
flags
(MemorySegment segment, long index, int value) Setsflags
with the given value at the given index.int
ReturnsimageArrayLayers
.imageArrayLayers
(int value) SetsimageArrayLayers
with the given value.static int
imageArrayLayers
(MemorySegment segment, long index) ReturnsimageArrayLayers
at the given index.static void
imageArrayLayers
(MemorySegment segment, long index, int value) SetsimageArrayLayers
with the given value at the given index.int
ReturnsimageColorSpace
.imageColorSpace
(int value) SetsimageColorSpace
with the given value.static int
imageColorSpace
(MemorySegment segment, long index) ReturnsimageColorSpace
at the given index.static void
imageColorSpace
(MemorySegment segment, long index, int value) SetsimageColorSpace
with the given value at the given index.ReturnsimageExtent
.imageExtent
(MemorySegment value) SetsimageExtent
with the given value.static MemorySegment
imageExtent
(MemorySegment segment, long index) ReturnsimageExtent
at the given index.static void
imageExtent
(MemorySegment segment, long index, MemorySegment value) SetsimageExtent
with the given value at the given index.int
ReturnsimageFormat
.imageFormat
(int value) SetsimageFormat
with the given value.static int
imageFormat
(MemorySegment segment, long index) ReturnsimageFormat
at the given index.static void
imageFormat
(MemorySegment segment, long index, int value) SetsimageFormat
with the given value at the given index.int
ReturnsimageSharingMode
.imageSharingMode
(int value) SetsimageSharingMode
with the given value.static int
imageSharingMode
(MemorySegment segment, long index) ReturnsimageSharingMode
at the given index.static void
imageSharingMode
(MemorySegment segment, long index, int value) SetsimageSharingMode
with the given value at the given index.int
ReturnsimageUsage
.imageUsage
(int value) SetsimageUsage
with the given value.static int
imageUsage
(MemorySegment segment, long index) ReturnsimageUsage
at the given index.static void
imageUsage
(MemorySegment segment, long index, int value) SetsimageUsage
with the given value at the given index.int
ReturnsminImageCount
.minImageCount
(int value) SetsminImageCount
with the given value.static int
minImageCount
(MemorySegment segment, long index) ReturnsminImageCount
at the given index.static void
minImageCount
(MemorySegment segment, long index, int value) SetsminImageCount
with the given value at the given index.of
(MemorySegment segment) CreatesVkSwapchainCreateInfoKHR
with the given segment.static VkSwapchainCreateInfoKHR
ofNative
(MemorySegment segment) CreatesVkSwapchainCreateInfoKHR
with the given segment.ofNative
(MemorySegment segment, long count) CreatesVkSwapchainCreateInfoKHR
with the given segment.long
ReturnsoldSwapchain
.oldSwapchain
(long value) SetsoldSwapchain
with the given value.static long
oldSwapchain
(MemorySegment segment, long index) ReturnsoldSwapchain
at the given index.static void
oldSwapchain
(MemorySegment segment, long index, long value) SetsoldSwapchain
with the given value at the given index.pNext()
ReturnspNext
.pNext
(MemorySegment value) SetspNext
with the given value.static MemorySegment
pNext
(MemorySegment segment, long index) ReturnspNext
at the given index.static void
pNext
(MemorySegment segment, long index, MemorySegment value) SetspNext
with the given value at the given index.ReturnspQueueFamilyIndices
.pQueueFamilyIndices
(MemorySegment value) SetspQueueFamilyIndices
with the given value.static MemorySegment
pQueueFamilyIndices
(MemorySegment segment, long index) ReturnspQueueFamilyIndices
at the given index.static void
pQueueFamilyIndices
(MemorySegment segment, long index, MemorySegment value) SetspQueueFamilyIndices
with the given value at the given index.int
ReturnspresentMode
.presentMode
(int value) SetspresentMode
with the given value.static int
presentMode
(MemorySegment segment, long index) ReturnspresentMode
at the given index.static void
presentMode
(MemorySegment segment, long index, int value) SetspresentMode
with the given value at the given index.int
ReturnspreTransform
.preTransform
(int value) SetspreTransform
with the given value.static int
preTransform
(MemorySegment segment, long index) ReturnspreTransform
at the given index.static void
preTransform
(MemorySegment segment, long index, int value) SetspreTransform
with the given value at the given index.int
ReturnsqueueFamilyIndexCount
.queueFamilyIndexCount
(int value) SetsqueueFamilyIndexCount
with the given value.static int
queueFamilyIndexCount
(MemorySegment segment, long index) ReturnsqueueFamilyIndexCount
at the given index.static void
queueFamilyIndexCount
(MemorySegment segment, long index, int value) SetsqueueFamilyIndexCount
with the given value at the given index.int
sType()
ReturnssType
.sType
(int value) SetssType
with the given value.static int
sType
(MemorySegment segment, long index) ReturnssType
at the given index.static void
sType
(MemorySegment segment, long index, int value) SetssType
with the given value at the given index.long
surface()
Returnssurface
.surface
(long value) Setssurface
with the given value.static long
surface
(MemorySegment segment, long index) Returnssurface
at the given index.static void
surface
(MemorySegment segment, long index, long value) Setssurface
with the given value at the given index.Methods inherited from class overrungl.struct.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
CreatesVkSwapchainCreateInfoKHR
with the given segment.- Parameters:
segment
- the memory segment
-
-
Method Details
-
of
CreatesVkSwapchainCreateInfoKHR
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkSwapchainCreateInfoKHR
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkSwapchainCreateInfoKHR
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segmentcount
- the count of the buffer- Returns:
- the created instance or
null
if the segment isNULL
-
alloc
Allocates aVkSwapchainCreateInfoKHR
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkSwapchainCreateInfoKHR
-
alloc
Allocates aVkSwapchainCreateInfoKHR
with 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
-
asBuffer
Converts this instance to a buffer.- Returns:
- the buffer
-
sType
ReturnssType
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
sType
at the given index
-
sType
public int sType()ReturnssType
.- Returns:
sType
-
sType
SetssType
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
sType
SetssType
with the given value.- Parameters:
value
- the value- Returns:
this
-
pNext
ReturnspNext
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pNext
at the given index
-
pNext
-
pNext
SetspNext
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pNext
SetspNext
with the given value.- Parameters:
value
- the value- Returns:
this
-
flags
Returnsflags
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
flags
at the given index
-
flags
public int flags()Returnsflags
.- Returns:
flags
-
flags
Setsflags
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
flags
Setsflags
with the given value.- Parameters:
value
- the value- Returns:
this
-
surface
Returnssurface
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
surface
at the given index
-
surface
public long surface()Returnssurface
.- Returns:
surface
-
surface
Setssurface
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
surface
Setssurface
with the given value.- Parameters:
value
- the value- Returns:
this
-
minImageCount
ReturnsminImageCount
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
minImageCount
at the given index
-
minImageCount
public int minImageCount()ReturnsminImageCount
.- Returns:
minImageCount
-
minImageCount
SetsminImageCount
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
minImageCount
SetsminImageCount
with the given value.- Parameters:
value
- the value- Returns:
this
-
imageFormat
ReturnsimageFormat
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
imageFormat
at the given index
-
imageFormat
public int imageFormat()ReturnsimageFormat
.- Returns:
imageFormat
-
imageFormat
SetsimageFormat
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
imageFormat
SetsimageFormat
with the given value.- Parameters:
value
- the value- Returns:
this
-
imageColorSpace
ReturnsimageColorSpace
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
imageColorSpace
at the given index
-
imageColorSpace
public int imageColorSpace()ReturnsimageColorSpace
.- Returns:
imageColorSpace
-
imageColorSpace
SetsimageColorSpace
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
imageColorSpace
SetsimageColorSpace
with the given value.- Parameters:
value
- the value- Returns:
this
-
imageExtent
ReturnsimageExtent
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
imageExtent
at the given index
-
imageExtent
-
imageExtent
SetsimageExtent
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
imageExtent
SetsimageExtent
with the given value.- Parameters:
value
- the value- Returns:
this
-
imageArrayLayers
ReturnsimageArrayLayers
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
imageArrayLayers
at the given index
-
imageArrayLayers
public int imageArrayLayers()ReturnsimageArrayLayers
.- Returns:
imageArrayLayers
-
imageArrayLayers
SetsimageArrayLayers
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
imageArrayLayers
SetsimageArrayLayers
with the given value.- Parameters:
value
- the value- Returns:
this
-
imageUsage
ReturnsimageUsage
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
imageUsage
at the given index
-
imageUsage
public int imageUsage()ReturnsimageUsage
.- Returns:
imageUsage
-
imageUsage
SetsimageUsage
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
imageUsage
SetsimageUsage
with the given value.- Parameters:
value
- the value- Returns:
this
-
imageSharingMode
ReturnsimageSharingMode
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
imageSharingMode
at the given index
-
imageSharingMode
public int imageSharingMode()ReturnsimageSharingMode
.- Returns:
imageSharingMode
-
imageSharingMode
SetsimageSharingMode
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
imageSharingMode
SetsimageSharingMode
with the given value.- Parameters:
value
- the value- Returns:
this
-
queueFamilyIndexCount
ReturnsqueueFamilyIndexCount
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
queueFamilyIndexCount
at the given index
-
queueFamilyIndexCount
public int queueFamilyIndexCount()ReturnsqueueFamilyIndexCount
.- Returns:
queueFamilyIndexCount
-
queueFamilyIndexCount
SetsqueueFamilyIndexCount
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
queueFamilyIndexCount
SetsqueueFamilyIndexCount
with the given value.- Parameters:
value
- the value- Returns:
this
-
pQueueFamilyIndices
ReturnspQueueFamilyIndices
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pQueueFamilyIndices
at the given index
-
pQueueFamilyIndices
ReturnspQueueFamilyIndices
.- Returns:
pQueueFamilyIndices
-
pQueueFamilyIndices
SetspQueueFamilyIndices
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pQueueFamilyIndices
SetspQueueFamilyIndices
with the given value.- Parameters:
value
- the value- Returns:
this
-
preTransform
ReturnspreTransform
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
preTransform
at the given index
-
preTransform
public int preTransform()ReturnspreTransform
.- Returns:
preTransform
-
preTransform
SetspreTransform
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
preTransform
SetspreTransform
with the given value.- Parameters:
value
- the value- Returns:
this
-
compositeAlpha
ReturnscompositeAlpha
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
compositeAlpha
at the given index
-
compositeAlpha
public int compositeAlpha()ReturnscompositeAlpha
.- Returns:
compositeAlpha
-
compositeAlpha
SetscompositeAlpha
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
compositeAlpha
SetscompositeAlpha
with the given value.- Parameters:
value
- the value- Returns:
this
-
presentMode
ReturnspresentMode
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
presentMode
at the given index
-
presentMode
public int presentMode()ReturnspresentMode
.- Returns:
presentMode
-
presentMode
SetspresentMode
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
presentMode
SetspresentMode
with the given value.- Parameters:
value
- the value- Returns:
this
-
clipped
Returnsclipped
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
clipped
at the given index
-
clipped
public int clipped()Returnsclipped
.- Returns:
clipped
-
clipped
Setsclipped
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
clipped
Setsclipped
with the given value.- Parameters:
value
- the value- Returns:
this
-
oldSwapchain
ReturnsoldSwapchain
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
oldSwapchain
at the given index
-
oldSwapchain
public long oldSwapchain()ReturnsoldSwapchain
.- Returns:
oldSwapchain
-
oldSwapchain
SetsoldSwapchain
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
oldSwapchain
SetsoldSwapchain
with the given value.- Parameters:
value
- the value- Returns:
this
-