public class VkPresentTimesInfoGOOGLE
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
swapchainCount must be the same value as VkPresentInfoKHR::swapchainCount, where VkPresentInfoKHR is included in the pNext chain of this VkPresentTimesInfoGOOGLE structure.sType must be STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLEpTimes is not NULL, pTimes must be a valid pointer to an array of swapchainCount VkPresentTimeGOOGLE structuresswapchainCount must be greater than 0sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.swapchainCount – the number of swapchains being presented to by this command.pTimes – NULL or a pointer to an array of VkPresentTimeGOOGLE elements with swapchainCount entries. If not NULL, each element of pTimes contains the earliest time to present the image corresponding to the entry in the VkPresentInfoKHR::pImageIndices array.
struct VkPresentTimesInfoGOOGLE {
VkStructureType sType;
void const * pNext;
uint32_t swapchainCount;
VkPresentTimeGOOGLE const * pTimes;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPresentTimesInfoGOOGLE.Buffer
An array of
VkPresentTimesInfoGOOGLE structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
PTIMES
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
SWAPCHAINCOUNT
The struct member offsets.
|
| Constructor and Description |
|---|
VkPresentTimesInfoGOOGLE(java.nio.ByteBuffer container)
Creates a
VkPresentTimesInfoGOOGLE instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPresentTimesInfoGOOGLE |
calloc()
Returns a new
VkPresentTimesInfoGOOGLE instance allocated with memCalloc. |
static VkPresentTimesInfoGOOGLE.Buffer |
calloc(int capacity)
Returns a new
VkPresentTimesInfoGOOGLE.Buffer instance allocated with memCalloc. |
static VkPresentTimesInfoGOOGLE |
callocStack()
Returns a new
VkPresentTimesInfoGOOGLE instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPresentTimesInfoGOOGLE.Buffer |
callocStack(int capacity)
Returns a new
VkPresentTimesInfoGOOGLE.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPresentTimesInfoGOOGLE.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPresentTimesInfoGOOGLE.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPresentTimesInfoGOOGLE |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPresentTimesInfoGOOGLE instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPresentTimesInfoGOOGLE |
create()
Returns a new
VkPresentTimesInfoGOOGLE instance allocated with BufferUtils. |
static VkPresentTimesInfoGOOGLE.Buffer |
create(int capacity)
Returns a new
VkPresentTimesInfoGOOGLE.Buffer instance allocated with BufferUtils. |
static VkPresentTimesInfoGOOGLE |
create(long address)
Returns a new
VkPresentTimesInfoGOOGLE instance for the specified memory address. |
static VkPresentTimesInfoGOOGLE.Buffer |
create(long address,
int capacity)
Create a
VkPresentTimesInfoGOOGLE.Buffer instance at the specified memory. |
static VkPresentTimesInfoGOOGLE |
createSafe(long address)
|
static VkPresentTimesInfoGOOGLE.Buffer |
createSafe(long address,
int capacity)
|
static VkPresentTimesInfoGOOGLE |
malloc()
Returns a new
VkPresentTimesInfoGOOGLE instance allocated with memAlloc. |
static VkPresentTimesInfoGOOGLE.Buffer |
malloc(int capacity)
Returns a new
VkPresentTimesInfoGOOGLE.Buffer instance allocated with memAlloc. |
static VkPresentTimesInfoGOOGLE |
mallocStack()
Returns a new
VkPresentTimesInfoGOOGLE instance allocated on the thread-local MemoryStack. |
static VkPresentTimesInfoGOOGLE.Buffer |
mallocStack(int capacity)
Returns a new
VkPresentTimesInfoGOOGLE.Buffer instance allocated on the thread-local MemoryStack. |
static VkPresentTimesInfoGOOGLE.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPresentTimesInfoGOOGLE.Buffer instance allocated on the specified MemoryStack. |
static VkPresentTimesInfoGOOGLE |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPresentTimesInfoGOOGLE instance allocated on the specified MemoryStack. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static VkPresentTimeGOOGLE.Buffer |
npTimes(long struct)
Unsafe version of
pTimes(). |
static void |
npTimes(long struct,
VkPresentTimeGOOGLE.Buffer value)
Unsafe version of
pTimes. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static int |
nswapchainCount(long struct)
Unsafe version of
swapchainCount(). |
static void |
nswapchainCount(long struct,
int value)
Sets the specified value to the
swapchainCount field of the specified struct. |
long |
pNext()
Returns the value of the
pNext field. |
VkPresentTimesInfoGOOGLE |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPresentTimeGOOGLE.Buffer |
pTimes()
Returns a
VkPresentTimeGOOGLE.Buffer view of the struct array pointed to by the pTimes field. |
VkPresentTimesInfoGOOGLE |
pTimes(VkPresentTimeGOOGLE.Buffer value)
Sets the address of the specified
VkPresentTimeGOOGLE.Buffer to the pTimes field. |
VkPresentTimesInfoGOOGLE |
set(int sType,
long pNext,
int swapchainCount,
VkPresentTimeGOOGLE.Buffer pTimes)
Initializes this struct with the specified values.
|
VkPresentTimesInfoGOOGLE |
set(VkPresentTimesInfoGOOGLE src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPresentTimesInfoGOOGLE |
sType(int value)
Sets the specified value to the
sType field. |
int |
swapchainCount()
Returns the value of the
swapchainCount field. |
VkPresentTimesInfoGOOGLE |
swapchainCount(int value)
Sets the specified value to the
swapchainCount field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int SWAPCHAINCOUNT
public static final int PTIMES
public VkPresentTimesInfoGOOGLE(java.nio.ByteBuffer container)
VkPresentTimesInfoGOOGLE instance at the current position of the specified ByteBuffer 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int swapchainCount()
swapchainCount field.@Nullable public VkPresentTimeGOOGLE.Buffer pTimes()
VkPresentTimeGOOGLE.Buffer view of the struct array pointed to by the pTimes field.public VkPresentTimesInfoGOOGLE sType(int value)
sType field.public VkPresentTimesInfoGOOGLE pNext(long value)
pNext field.public VkPresentTimesInfoGOOGLE swapchainCount(int value)
swapchainCount field.public VkPresentTimesInfoGOOGLE pTimes(@Nullable VkPresentTimeGOOGLE.Buffer value)
VkPresentTimeGOOGLE.Buffer to the pTimes field.public VkPresentTimesInfoGOOGLE set(int sType, long pNext, int swapchainCount, @Nullable VkPresentTimeGOOGLE.Buffer pTimes)
public VkPresentTimesInfoGOOGLE set(VkPresentTimesInfoGOOGLE src)
src - the source structpublic static VkPresentTimesInfoGOOGLE malloc()
VkPresentTimesInfoGOOGLE instance allocated with memAlloc. The instance must be explicitly freed.public static VkPresentTimesInfoGOOGLE calloc()
VkPresentTimesInfoGOOGLE instance allocated with memCalloc. The instance must be explicitly freed.public static VkPresentTimesInfoGOOGLE create()
VkPresentTimesInfoGOOGLE instance allocated with BufferUtils.public static VkPresentTimesInfoGOOGLE create(long address)
VkPresentTimesInfoGOOGLE instance for the specified memory address.@Nullable public static VkPresentTimesInfoGOOGLE createSafe(long address)
public static VkPresentTimesInfoGOOGLE.Buffer malloc(int capacity)
VkPresentTimesInfoGOOGLE.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPresentTimesInfoGOOGLE.Buffer calloc(int capacity)
VkPresentTimesInfoGOOGLE.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPresentTimesInfoGOOGLE.Buffer create(int capacity)
VkPresentTimesInfoGOOGLE.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPresentTimesInfoGOOGLE.Buffer create(long address, int capacity)
VkPresentTimesInfoGOOGLE.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPresentTimesInfoGOOGLE.Buffer createSafe(long address, int capacity)
public static VkPresentTimesInfoGOOGLE mallocStack()
VkPresentTimesInfoGOOGLE instance allocated on the thread-local MemoryStack.public static VkPresentTimesInfoGOOGLE callocStack()
VkPresentTimesInfoGOOGLE instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPresentTimesInfoGOOGLE mallocStack(org.lwjgl.system.MemoryStack stack)
VkPresentTimesInfoGOOGLE instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPresentTimesInfoGOOGLE callocStack(org.lwjgl.system.MemoryStack stack)
VkPresentTimesInfoGOOGLE instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPresentTimesInfoGOOGLE.Buffer mallocStack(int capacity)
VkPresentTimesInfoGOOGLE.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPresentTimesInfoGOOGLE.Buffer callocStack(int capacity)
VkPresentTimesInfoGOOGLE.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPresentTimesInfoGOOGLE.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPresentTimesInfoGOOGLE.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPresentTimesInfoGOOGLE.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPresentTimesInfoGOOGLE.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nswapchainCount(long struct)
swapchainCount().@Nullable public static VkPresentTimeGOOGLE.Buffer npTimes(long struct)
pTimes().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nswapchainCount(long struct,
int value)
swapchainCount field of the specified struct.public static void npTimes(long struct,
@Nullable
VkPresentTimeGOOGLE.Buffer value)
pTimes.Copyright LWJGL. All Rights Reserved. License terms.