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.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe 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 aVkFrameBoundaryEXTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionintbufferCount(int value) Sets the specified value to thebufferCountfield.static VkFrameBoundaryEXTcalloc()Returns a newVkFrameBoundaryEXTinstance allocated withmemCalloc.static VkFrameBoundaryEXT.Buffercalloc(int capacity) Returns a newVkFrameBoundaryEXT.Bufferinstance allocated withmemCalloc.static VkFrameBoundaryEXT.Buffercalloc(int capacity, MemoryStack stack) Returns a newVkFrameBoundaryEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkFrameBoundaryEXTcalloc(MemoryStack stack) Returns a newVkFrameBoundaryEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkFrameBoundaryEXTcreate()Returns a newVkFrameBoundaryEXTinstance allocated withBufferUtils.static VkFrameBoundaryEXT.Buffercreate(int capacity) Returns a newVkFrameBoundaryEXT.Bufferinstance allocated withBufferUtils.static VkFrameBoundaryEXTcreate(long address) Returns a newVkFrameBoundaryEXTinstance for the specified memory address.static VkFrameBoundaryEXT.Buffercreate(long address, int capacity) Create aVkFrameBoundaryEXT.Bufferinstance at the specified memory.static @Nullable VkFrameBoundaryEXTcreateSafe(long address) static @Nullable VkFrameBoundaryEXT.BuffercreateSafe(long address, int capacity) intflags()flags(int value) Sets the specified value to theflagsfield.longframeID()frameID(long value) Sets the specified value to theframeIDfield.intimageCount(int value) Sets the specified value to theimageCountfield.static VkFrameBoundaryEXTmalloc()Returns a newVkFrameBoundaryEXTinstance allocated withmemAlloc.static VkFrameBoundaryEXT.Buffermalloc(int capacity) Returns a newVkFrameBoundaryEXT.Bufferinstance allocated withmemAlloc.static VkFrameBoundaryEXT.Buffermalloc(int capacity, MemoryStack stack) Returns a newVkFrameBoundaryEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkFrameBoundaryEXTmalloc(MemoryStack stack) Returns a newVkFrameBoundaryEXTinstance allocated on the specifiedMemoryStack.static intnbufferCount(long struct) Unsafe version ofbufferCount().static voidnbufferCount(long struct, int value) Sets the specified value to thebufferCountfield of the specifiedstruct.static intnflags(long struct) Unsafe version offlags().static voidnflags(long struct, int value) Unsafe version offlags.static longnframeID(long struct) Unsafe version offrameID().static voidnframeID(long struct, long value) Unsafe version offrameID.static intnimageCount(long struct) Unsafe version ofimageCount().static voidnimageCount(long struct, int value) Sets the specified value to theimageCountfield of the specifiedstruct.static @Nullable LongBuffernpBuffers(long struct) Unsafe version ofpBuffers.static voidnpBuffers(long struct, @Nullable LongBuffer value) Unsafe version ofpBuffers.static @Nullable LongBuffernpImages(long struct) Unsafe version ofpImages.static voidnpImages(long struct, @Nullable LongBuffer value) Unsafe version ofpImages.static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static @Nullable ByteBuffernpTag(long struct) Unsafe version ofpTag.static voidnpTag(long struct, @Nullable ByteBuffer value) Unsafe version ofpTag.static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.static longntagName(long struct) Unsafe version oftagName().static voidntagName(long struct, long value) Unsafe version oftagName.static longntagSize(long struct) Unsafe version oftagSize().static voidntagSize(long struct, long value) Sets the specified value to thetagSizefield of the specifiedstruct.@Nullable LongBufferpBuffers()pBuffers(@Nullable LongBuffer value) Sets the address of the specifiedLongBufferto thepBuffersfield.@Nullable LongBufferpImages()pImages(@Nullable LongBuffer value) Sets the address of the specifiedLongBufferto thepImagesfield.longpNext()pNext(long value) Sets the specified value to thepNextfield.@Nullable ByteBufferpTag()pTag(@Nullable ByteBuffer value) Sets the address of the specifiedByteBufferto thepTagfield.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.intsizeof()Returnssizeof(struct).intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_FRAME_BOUNDARY_EXTvalue to thesTypefield.longtagName()tagName(long value) Sets the specified value to thetagNamefield.longtagSize()tagSize(long value) Sets the specified value to thetagSizefield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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 aVkFrameBoundaryEXTinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkFrameBoundaryEXT>
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
flags
public int flags()- Returns:
- the value of the
flagsfield.
-
frameID
public long frameID()- Returns:
- the value of the
frameIDfield.
-
imageCount
public int imageCount()- Returns:
- the value of the
imageCountfield.
-
pImages
- Returns:
- a
LongBufferview of the data pointed to by thepImagesfield.
-
bufferCount
public int bufferCount()- Returns:
- the value of the
bufferCountfield.
-
pBuffers
- Returns:
- a
LongBufferview of the data pointed to by thepBuffersfield.
-
tagName
public long tagName()- Returns:
- the value of the
tagNamefield.
-
tagSize
public long tagSize()- Returns:
- the value of the
tagSizefield.
-
pTag
- Returns:
- a
ByteBufferview of the data pointed to by thepTagfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_FRAME_BOUNDARY_EXTvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
flags
Sets the specified value to theflagsfield. -
frameID
Sets the specified value to theframeIDfield. -
imageCount
Sets the specified value to theimageCountfield. -
pImages
Sets the address of the specifiedLongBufferto thepImagesfield. -
bufferCount
Sets the specified value to thebufferCountfield. -
pBuffers
Sets the address of the specifiedLongBufferto thepBuffersfield. -
tagName
Sets the specified value to thetagNamefield. -
tagSize
Sets the specified value to thetagSizefield. -
pTag
Sets the address of the specifiedByteBufferto thepTagfield. -
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 newVkFrameBoundaryEXTinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkFrameBoundaryEXTinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkFrameBoundaryEXTinstance allocated withBufferUtils. -
create
Returns a newVkFrameBoundaryEXTinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkFrameBoundaryEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkFrameBoundaryEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkFrameBoundaryEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkFrameBoundaryEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkFrameBoundaryEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkFrameBoundaryEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkFrameBoundaryEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkFrameBoundaryEXT.Bufferinstance allocated on the specifiedMemoryStackand 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 theimageCountfield of the specifiedstruct. -
npImages
Unsafe version ofpImages. -
nbufferCount
public static void nbufferCount(long struct, int value) Sets the specified value to thebufferCountfield 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 thetagSizefield of the specifiedstruct. -
npTag
Unsafe version ofpTag.
-