Package org.lwjgl.vulkan
Class VkFrameBoundaryEXT
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
struct VkFrameBoundaryEXT {
VkStructureType sType;
void const * pNext;
VkFrameBoundaryFlagsEXT flags;
uint64_t frameID;
uint32_t imageCount;
VkImage const * pImages;
uint32_t bufferCount;
VkBuffer const * pBuffers;
uint64_t tagName;
size_t tagSize;
void const * pTag;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionVkFrameBoundaryEXT
(ByteBuffer container) Creates aVkFrameBoundaryEXT
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionint
bufferCount
(int value) Sets the specified value to thebufferCount
field.static VkFrameBoundaryEXT
calloc()
Returns a newVkFrameBoundaryEXT
instance allocated withmemCalloc
.static VkFrameBoundaryEXT.Buffer
calloc
(int capacity) Returns a newVkFrameBoundaryEXT.Buffer
instance allocated withmemCalloc
.static VkFrameBoundaryEXT.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newVkFrameBoundaryEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkFrameBoundaryEXT
calloc
(MemoryStack stack) Returns a newVkFrameBoundaryEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkFrameBoundaryEXT
create()
Returns a newVkFrameBoundaryEXT
instance allocated withBufferUtils
.static VkFrameBoundaryEXT.Buffer
create
(int capacity) Returns a newVkFrameBoundaryEXT.Buffer
instance allocated withBufferUtils
.static VkFrameBoundaryEXT
create
(long address) Returns a newVkFrameBoundaryEXT
instance for the specified memory address.static VkFrameBoundaryEXT.Buffer
create
(long address, int capacity) Create aVkFrameBoundaryEXT.Buffer
instance at the specified memory.static @Nullable VkFrameBoundaryEXT
createSafe
(long address) static @Nullable VkFrameBoundaryEXT.Buffer
createSafe
(long address, int capacity) int
flags()
flags
(int value) Sets the specified value to theflags
field.long
frameID()
frameID
(long value) Sets the specified value to theframeID
field.int
imageCount
(int value) Sets the specified value to theimageCount
field.static VkFrameBoundaryEXT
malloc()
Returns a newVkFrameBoundaryEXT
instance allocated withmemAlloc
.static VkFrameBoundaryEXT.Buffer
malloc
(int capacity) Returns a newVkFrameBoundaryEXT.Buffer
instance allocated withmemAlloc
.static VkFrameBoundaryEXT.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newVkFrameBoundaryEXT.Buffer
instance allocated on the specifiedMemoryStack
.static VkFrameBoundaryEXT
malloc
(MemoryStack stack) Returns a newVkFrameBoundaryEXT
instance allocated on the specifiedMemoryStack
.static int
nbufferCount
(long struct) Unsafe version ofbufferCount()
.static void
nbufferCount
(long struct, int value) Sets the specified value to thebufferCount
field of the specifiedstruct
.static int
nflags
(long struct) Unsafe version offlags()
.static void
nflags
(long struct, int value) Unsafe version offlags
.static long
nframeID
(long struct) Unsafe version offrameID()
.static void
nframeID
(long struct, long value) Unsafe version offrameID
.static int
nimageCount
(long struct) Unsafe version ofimageCount()
.static void
nimageCount
(long struct, int value) Sets the specified value to theimageCount
field of the specifiedstruct
.static @Nullable LongBuffer
npBuffers
(long struct) Unsafe version ofpBuffers
.static void
npBuffers
(long struct, @Nullable LongBuffer value) Unsafe version ofpBuffers
.static @Nullable LongBuffer
npImages
(long struct) Unsafe version ofpImages
.static void
npImages
(long struct, @Nullable LongBuffer value) Unsafe version ofpImages
.static long
npNext
(long struct) Unsafe version ofpNext()
.static void
npNext
(long struct, long value) Unsafe version ofpNext
.static @Nullable ByteBuffer
npTag
(long struct) Unsafe version ofpTag
.static void
npTag
(long struct, @Nullable ByteBuffer value) Unsafe version ofpTag
.static int
nsType
(long struct) Unsafe version ofsType()
.static void
nsType
(long struct, int value) Unsafe version ofsType
.static long
ntagName
(long struct) Unsafe version oftagName()
.static void
ntagName
(long struct, long value) Unsafe version oftagName
.static long
ntagSize
(long struct) Unsafe version oftagSize()
.static void
ntagSize
(long struct, long value) Sets the specified value to thetagSize
field of the specifiedstruct
.@Nullable LongBuffer
pBuffers()
pBuffers
(@Nullable LongBuffer value) Sets the address of the specifiedLongBuffer
to thepBuffers
field.@Nullable LongBuffer
pImages()
pImages
(@Nullable LongBuffer value) Sets the address of the specifiedLongBuffer
to thepImages
field.long
pNext()
pNext
(long value) Sets the specified value to thepNext
field.@Nullable ByteBuffer
pTag()
pTag
(@Nullable ByteBuffer value) Sets the address of the specifiedByteBuffer
to thepTag
field.set
(int sType, long pNext, int flags, long frameID, int imageCount, @Nullable LongBuffer pImages, int bufferCount, @Nullable LongBuffer pBuffers, long tagName, long tagSize, @Nullable ByteBuffer pTag) Initializes this struct with the specified values.set
(VkFrameBoundaryEXT src) Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_FRAME_BOUNDARY_EXT
value to thesType
field.long
tagName()
tagName
(long value) Sets the specified value to thetagName
field.long
tagSize()
tagSize
(long value) Sets the specified value to thetagSize
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
STYPE
public static final int STYPEThe struct member offsets. -
PNEXT
public static final int PNEXTThe struct member offsets. -
FLAGS
public static final int FLAGSThe struct member offsets. -
FRAMEID
public static final int FRAMEIDThe struct member offsets. -
IMAGECOUNT
public static final int IMAGECOUNTThe struct member offsets. -
PIMAGES
public static final int PIMAGESThe struct member offsets. -
BUFFERCOUNT
public static final int BUFFERCOUNTThe struct member offsets. -
PBUFFERS
public static final int PBUFFERSThe struct member offsets. -
TAGNAME
public static final int TAGNAMEThe struct member offsets. -
TAGSIZE
public static final int TAGSIZEThe struct member offsets. -
PTAG
public static final int PTAGThe struct member offsets.
-
-
Constructor Details
-
VkFrameBoundaryEXT
Creates aVkFrameBoundaryEXT
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<VkFrameBoundaryEXT>
-
sType
public int sType()- Returns:
- the value of the
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
flags
public int flags()- Returns:
- the value of the
flags
field.
-
frameID
public long frameID()- Returns:
- the value of the
frameID
field.
-
imageCount
public int imageCount()- Returns:
- the value of the
imageCount
field.
-
pImages
- Returns:
- a
LongBuffer
view of the data pointed to by thepImages
field.
-
bufferCount
public int bufferCount()- Returns:
- the value of the
bufferCount
field.
-
pBuffers
- Returns:
- a
LongBuffer
view of the data pointed to by thepBuffers
field.
-
tagName
public long tagName()- Returns:
- the value of the
tagName
field.
-
tagSize
public long tagSize()- Returns:
- the value of the
tagSize
field.
-
pTag
- Returns:
- a
ByteBuffer
view of the data pointed to by thepTag
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_FRAME_BOUNDARY_EXT
value to thesType
field. -
pNext
Sets the specified value to thepNext
field. -
flags
Sets the specified value to theflags
field. -
frameID
Sets the specified value to theframeID
field. -
imageCount
Sets the specified value to theimageCount
field. -
pImages
Sets the address of the specifiedLongBuffer
to thepImages
field. -
bufferCount
Sets the specified value to thebufferCount
field. -
pBuffers
Sets the address of the specifiedLongBuffer
to thepBuffers
field. -
tagName
Sets the specified value to thetagName
field. -
tagSize
Sets the specified value to thetagSize
field. -
pTag
Sets the address of the specifiedByteBuffer
to thepTag
field. -
set
public VkFrameBoundaryEXT set(int sType, long pNext, int flags, long frameID, int imageCount, @Nullable LongBuffer pImages, int bufferCount, @Nullable LongBuffer pBuffers, long tagName, long tagSize, @Nullable ByteBuffer pTag) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newVkFrameBoundaryEXT
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkFrameBoundaryEXT
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkFrameBoundaryEXT
instance allocated withBufferUtils
. -
create
Returns a newVkFrameBoundaryEXT
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkFrameBoundaryEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkFrameBoundaryEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkFrameBoundaryEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkFrameBoundaryEXT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newVkFrameBoundaryEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkFrameBoundaryEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newVkFrameBoundaryEXT.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newVkFrameBoundaryEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nsType
public static int nsType(long struct) Unsafe version ofsType()
. -
npNext
public static long npNext(long struct) Unsafe version ofpNext()
. -
nflags
public static int nflags(long struct) Unsafe version offlags()
. -
nframeID
public static long nframeID(long struct) Unsafe version offrameID()
. -
nimageCount
public static int nimageCount(long struct) Unsafe version ofimageCount()
. -
npImages
Unsafe version ofpImages
. -
nbufferCount
public static int nbufferCount(long struct) Unsafe version ofbufferCount()
. -
npBuffers
Unsafe version ofpBuffers
. -
ntagName
public static long ntagName(long struct) Unsafe version oftagName()
. -
ntagSize
public static long ntagSize(long struct) Unsafe version oftagSize()
. -
npTag
Unsafe version ofpTag
. -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType
. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext
. -
nflags
public static void nflags(long struct, int value) Unsafe version offlags
. -
nframeID
public static void nframeID(long struct, long value) Unsafe version offrameID
. -
nimageCount
public static void nimageCount(long struct, int value) Sets the specified value to theimageCount
field of the specifiedstruct
. -
npImages
Unsafe version ofpImages
. -
nbufferCount
public static void nbufferCount(long struct, int value) Sets the specified value to thebufferCount
field of the specifiedstruct
. -
npBuffers
Unsafe version ofpBuffers
. -
ntagName
public static void ntagName(long struct, long value) Unsafe version oftagName
. -
ntagSize
public static void ntagSize(long struct, long value) Sets the specified value to thetagSize
field of the specifiedstruct
. -
npTag
Unsafe version ofpTag
.
-