Class VkFramebufferCreateInfo
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkFramebufferCreateInfo
- All Implemented Interfaces:
Addressable
- Direct Known Subclasses:
VkFramebufferCreateInfo.Buffer
public sealed class VkFramebufferCreateInfo
extends GroupType
permits VkFramebufferCreateInfo.Buffer
Layout
struct VkFramebufferCreateInfo {
(int) VkStructureType sType;
const void* pNext;
((uint32_t) VkFlags) VkFramebufferCreateFlags flags;
(uint64_t) VkRenderPass renderPass;
uint32_t attachmentCount;
const VkImageView* pAttachments;
uint32_t width;
uint32_t height;
uint32_t layers;
};
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkFramebufferCreateInfo
.static final MemoryLayout
The memory layout ofattachmentCount
.static final MemoryLayout
The memory layout offlags
.static final MemoryLayout
The memory layout ofheight
.static final MemoryLayout
The memory layout oflayers
.static final MemoryLayout
The memory layout ofpAttachments
.static final MemoryLayout
The memory layout ofpNext
.static final MemoryLayout
The memory layout ofrenderPass
.static final MemoryLayout
The memory layout ofsType
.static final MemoryLayout
The memory layout ofwidth
.static final long
The byte offset ofattachmentCount
.static final long
The byte offset offlags
.static final long
The byte offset ofheight
.static final long
The byte offset oflayers
.static final long
The byte offset ofpAttachments
.static final long
The byte offset ofpNext
.static final long
The byte offset ofrenderPass
.static final long
The byte offset ofsType
.static final long
The byte offset ofwidth
.static final VarHandle
TheVarHandle
ofattachmentCount
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
static final VarHandle
static final VarHandle
TheVarHandle
ofpAttachments
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
static final VarHandle
static final VarHandle
-
Constructor Summary
ConstructorsConstructorDescriptionVkFramebufferCreateInfo
(MemorySegment segment) CreatesVkFramebufferCreateInfo
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkFramebufferCreateInfo
alloc
(SegmentAllocator allocator) Allocates aVkFramebufferCreateInfo
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkFramebufferCreateInfo
with the given segment allocator and count.asBuffer()
Converts this instance to a buffer.int
ReturnsattachmentCount
.attachmentCount
(int value) SetsattachmentCount
with the given value.static int
attachmentCount
(MemorySegment segment, long index) ReturnsattachmentCount
at the given index.static void
attachmentCount
(MemorySegment segment, long index, int value) SetsattachmentCount
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
height()
Returnsheight
.height
(int value) Setsheight
with the given value.static int
height
(MemorySegment segment, long index) Returnsheight
at the given index.static void
height
(MemorySegment segment, long index, int value) Setsheight
with the given value at the given index.int
layers()
Returnslayers
.layers
(int value) Setslayers
with the given value.static int
layers
(MemorySegment segment, long index) Returnslayers
at the given index.static void
layers
(MemorySegment segment, long index, int value) Setslayers
with the given value at the given index.of
(MemorySegment segment) CreatesVkFramebufferCreateInfo
with the given segment.static VkFramebufferCreateInfo
ofNative
(MemorySegment segment) CreatesVkFramebufferCreateInfo
with the given segment.ofNative
(MemorySegment segment, long count) CreatesVkFramebufferCreateInfo
with the given segment.ReturnspAttachments
.pAttachments
(MemorySegment value) SetspAttachments
with the given value.static MemorySegment
pAttachments
(MemorySegment segment, long index) ReturnspAttachments
at the given index.static void
pAttachments
(MemorySegment segment, long index, MemorySegment value) SetspAttachments
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.long
ReturnsrenderPass
.renderPass
(long value) SetsrenderPass
with the given value.static long
renderPass
(MemorySegment segment, long index) ReturnsrenderPass
at the given index.static void
renderPass
(MemorySegment segment, long index, long value) SetsrenderPass
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.int
width()
Returnswidth
.width
(int value) Setswidth
with the given value.static int
width
(MemorySegment segment, long index) Returnswidth
at the given index.static void
width
(MemorySegment segment, long index, int value) Setswidth
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 ofVkFramebufferCreateInfo
. -
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_renderPass
public static final long OFFSET_renderPassThe byte offset ofrenderPass
. -
LAYOUT_renderPass
The memory layout ofrenderPass
. -
VH_renderPass
-
OFFSET_attachmentCount
public static final long OFFSET_attachmentCountThe byte offset ofattachmentCount
. -
LAYOUT_attachmentCount
The memory layout ofattachmentCount
. -
VH_attachmentCount
-
OFFSET_pAttachments
public static final long OFFSET_pAttachmentsThe byte offset ofpAttachments
. -
LAYOUT_pAttachments
The memory layout ofpAttachments
. -
VH_pAttachments
-
OFFSET_width
public static final long OFFSET_widthThe byte offset ofwidth
. -
LAYOUT_width
The memory layout ofwidth
. -
VH_width
-
OFFSET_height
public static final long OFFSET_heightThe byte offset ofheight
. -
LAYOUT_height
The memory layout ofheight
. -
VH_height
-
OFFSET_layers
public static final long OFFSET_layersThe byte offset oflayers
. -
LAYOUT_layers
The memory layout oflayers
. -
VH_layers
-
-
Constructor Details
-
VkFramebufferCreateInfo
CreatesVkFramebufferCreateInfo
with the given segment.- Parameters:
segment
- the memory segment
-
-
Method Details
-
of
CreatesVkFramebufferCreateInfo
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkFramebufferCreateInfo
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
VkFramebufferCreateInfo
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 aVkFramebufferCreateInfo
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkFramebufferCreateInfo
-
alloc
Allocates aVkFramebufferCreateInfo
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- the count- Returns:
- the allocated
VkFramebufferCreateInfo
-
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
-
renderPass
ReturnsrenderPass
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
renderPass
at the given index
-
renderPass
public long renderPass()ReturnsrenderPass
.- Returns:
renderPass
-
renderPass
SetsrenderPass
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
renderPass
SetsrenderPass
with the given value.- Parameters:
value
- the value- Returns:
this
-
attachmentCount
ReturnsattachmentCount
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
attachmentCount
at the given index
-
attachmentCount
public int attachmentCount()ReturnsattachmentCount
.- Returns:
attachmentCount
-
attachmentCount
SetsattachmentCount
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
attachmentCount
SetsattachmentCount
with the given value.- Parameters:
value
- the value- Returns:
this
-
pAttachments
ReturnspAttachments
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pAttachments
at the given index
-
pAttachments
-
pAttachments
SetspAttachments
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pAttachments
SetspAttachments
with the given value.- Parameters:
value
- the value- Returns:
this
-
width
Returnswidth
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
width
at the given index
-
width
public int width()Returnswidth
.- Returns:
width
-
width
Setswidth
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
width
Setswidth
with the given value.- Parameters:
value
- the value- Returns:
this
-
height
Returnsheight
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
height
at the given index
-
height
public int height()Returnsheight
.- Returns:
height
-
height
Setsheight
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
height
Setsheight
with the given value.- Parameters:
value
- the value- Returns:
this
-
layers
Returnslayers
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
layers
at the given index
-
layers
public int layers()Returnslayers
.- Returns:
layers
-
layers
Setslayers
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
layers
Setslayers
with the given value.- Parameters:
value
- the value- Returns:
this
-