public class VkRefreshCycleDurationGOOGLE
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
refreshDuration – the number of nanoseconds from the start of one refresh cycle to the next.
struct VkRefreshCycleDurationGOOGLE {
uint64_t refreshDuration;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkRefreshCycleDurationGOOGLE.Buffer
An array of
VkRefreshCycleDurationGOOGLE structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
REFRESHDURATION
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
VkRefreshCycleDurationGOOGLE(java.nio.ByteBuffer container)
Creates a
VkRefreshCycleDurationGOOGLE instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkRefreshCycleDurationGOOGLE |
calloc()
Returns a new
VkRefreshCycleDurationGOOGLE instance allocated with memCalloc. |
static VkRefreshCycleDurationGOOGLE.Buffer |
calloc(int capacity)
Returns a new
VkRefreshCycleDurationGOOGLE.Buffer instance allocated with memCalloc. |
static VkRefreshCycleDurationGOOGLE |
callocStack()
Returns a new
VkRefreshCycleDurationGOOGLE instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkRefreshCycleDurationGOOGLE.Buffer |
callocStack(int capacity)
Returns a new
VkRefreshCycleDurationGOOGLE.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkRefreshCycleDurationGOOGLE.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkRefreshCycleDurationGOOGLE.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkRefreshCycleDurationGOOGLE |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkRefreshCycleDurationGOOGLE instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkRefreshCycleDurationGOOGLE |
create()
Returns a new
VkRefreshCycleDurationGOOGLE instance allocated with BufferUtils. |
static VkRefreshCycleDurationGOOGLE.Buffer |
create(int capacity)
Returns a new
VkRefreshCycleDurationGOOGLE.Buffer instance allocated with BufferUtils. |
static VkRefreshCycleDurationGOOGLE |
create(long address)
Returns a new
VkRefreshCycleDurationGOOGLE instance for the specified memory address. |
static VkRefreshCycleDurationGOOGLE.Buffer |
create(long address,
int capacity)
Create a
VkRefreshCycleDurationGOOGLE.Buffer instance at the specified memory. |
static VkRefreshCycleDurationGOOGLE |
createSafe(long address)
|
static VkRefreshCycleDurationGOOGLE.Buffer |
createSafe(long address,
int capacity)
|
static VkRefreshCycleDurationGOOGLE |
malloc()
Returns a new
VkRefreshCycleDurationGOOGLE instance allocated with memAlloc. |
static VkRefreshCycleDurationGOOGLE.Buffer |
malloc(int capacity)
Returns a new
VkRefreshCycleDurationGOOGLE.Buffer instance allocated with memAlloc. |
static VkRefreshCycleDurationGOOGLE |
mallocStack()
Returns a new
VkRefreshCycleDurationGOOGLE instance allocated on the thread-local MemoryStack. |
static VkRefreshCycleDurationGOOGLE.Buffer |
mallocStack(int capacity)
Returns a new
VkRefreshCycleDurationGOOGLE.Buffer instance allocated on the thread-local MemoryStack. |
static VkRefreshCycleDurationGOOGLE.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkRefreshCycleDurationGOOGLE.Buffer instance allocated on the specified MemoryStack. |
static VkRefreshCycleDurationGOOGLE |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkRefreshCycleDurationGOOGLE instance allocated on the specified MemoryStack. |
static long |
nrefreshDuration(long struct)
Unsafe version of
refreshDuration(). |
long |
refreshDuration()
Returns the value of the
refreshDuration field. |
int |
sizeof() |
public static final int SIZEOF
public static final int ALIGNOF
public static final int REFRESHDURATION
public VkRefreshCycleDurationGOOGLE(java.nio.ByteBuffer container)
VkRefreshCycleDurationGOOGLE 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 long refreshDuration()
refreshDuration field.public static VkRefreshCycleDurationGOOGLE malloc()
VkRefreshCycleDurationGOOGLE instance allocated with memAlloc. The instance must be explicitly freed.public static VkRefreshCycleDurationGOOGLE calloc()
VkRefreshCycleDurationGOOGLE instance allocated with memCalloc. The instance must be explicitly freed.public static VkRefreshCycleDurationGOOGLE create()
VkRefreshCycleDurationGOOGLE instance allocated with BufferUtils.public static VkRefreshCycleDurationGOOGLE create(long address)
VkRefreshCycleDurationGOOGLE instance for the specified memory address.@Nullable public static VkRefreshCycleDurationGOOGLE createSafe(long address)
public static VkRefreshCycleDurationGOOGLE.Buffer malloc(int capacity)
VkRefreshCycleDurationGOOGLE.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkRefreshCycleDurationGOOGLE.Buffer calloc(int capacity)
VkRefreshCycleDurationGOOGLE.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkRefreshCycleDurationGOOGLE.Buffer create(int capacity)
VkRefreshCycleDurationGOOGLE.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkRefreshCycleDurationGOOGLE.Buffer create(long address, int capacity)
VkRefreshCycleDurationGOOGLE.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkRefreshCycleDurationGOOGLE.Buffer createSafe(long address, int capacity)
public static VkRefreshCycleDurationGOOGLE mallocStack()
VkRefreshCycleDurationGOOGLE instance allocated on the thread-local MemoryStack.public static VkRefreshCycleDurationGOOGLE callocStack()
VkRefreshCycleDurationGOOGLE instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkRefreshCycleDurationGOOGLE mallocStack(org.lwjgl.system.MemoryStack stack)
VkRefreshCycleDurationGOOGLE instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkRefreshCycleDurationGOOGLE callocStack(org.lwjgl.system.MemoryStack stack)
VkRefreshCycleDurationGOOGLE instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkRefreshCycleDurationGOOGLE.Buffer mallocStack(int capacity)
VkRefreshCycleDurationGOOGLE.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkRefreshCycleDurationGOOGLE.Buffer callocStack(int capacity)
VkRefreshCycleDurationGOOGLE.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkRefreshCycleDurationGOOGLE.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkRefreshCycleDurationGOOGLE.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkRefreshCycleDurationGOOGLE.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkRefreshCycleDurationGOOGLE.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 long nrefreshDuration(long struct)
refreshDuration().Copyright LWJGL. All Rights Reserved. License terms.