public class VkDisplayEventInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXTpNext must be NULLdisplayEvent must be a valid VkDisplayEventTypeEXT valuesType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.displayEvent – a VkDisplayEventTypeEXT specifying when the fence will be signaled.
struct VkDisplayEventInfoEXT {
VkStructureType sType;
void const * pNext;
VkDisplayEventTypeEXT displayEvent;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDisplayEventInfoEXT.Buffer
An array of
VkDisplayEventInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DISPLAYEVENT
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkDisplayEventInfoEXT(java.nio.ByteBuffer container)
Creates a
VkDisplayEventInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDisplayEventInfoEXT |
calloc()
Returns a new
VkDisplayEventInfoEXT instance allocated with memCalloc. |
static VkDisplayEventInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkDisplayEventInfoEXT.Buffer instance allocated with memCalloc. |
static VkDisplayEventInfoEXT |
callocStack()
Returns a new
VkDisplayEventInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDisplayEventInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkDisplayEventInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDisplayEventInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDisplayEventInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDisplayEventInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDisplayEventInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDisplayEventInfoEXT |
create()
Returns a new
VkDisplayEventInfoEXT instance allocated with BufferUtils. |
static VkDisplayEventInfoEXT.Buffer |
create(int capacity)
Returns a new
VkDisplayEventInfoEXT.Buffer instance allocated with BufferUtils. |
static VkDisplayEventInfoEXT |
create(long address)
Returns a new
VkDisplayEventInfoEXT instance for the specified memory address. |
static VkDisplayEventInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkDisplayEventInfoEXT.Buffer instance at the specified memory. |
static VkDisplayEventInfoEXT |
createSafe(long address)
|
static VkDisplayEventInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
int |
displayEvent()
Returns the value of the
displayEvent field. |
VkDisplayEventInfoEXT |
displayEvent(int value)
Sets the specified value to the
displayEvent field. |
static VkDisplayEventInfoEXT |
malloc()
Returns a new
VkDisplayEventInfoEXT instance allocated with memAlloc. |
static VkDisplayEventInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkDisplayEventInfoEXT.Buffer instance allocated with memAlloc. |
static VkDisplayEventInfoEXT |
mallocStack()
Returns a new
VkDisplayEventInfoEXT instance allocated on the thread-local MemoryStack. |
static VkDisplayEventInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkDisplayEventInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkDisplayEventInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDisplayEventInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkDisplayEventInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDisplayEventInfoEXT instance allocated on the specified MemoryStack. |
static int |
ndisplayEvent(long struct)
Unsafe version of
displayEvent(). |
static void |
ndisplayEvent(long struct,
int value)
Unsafe version of
displayEvent. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkDisplayEventInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkDisplayEventInfoEXT |
set(int sType,
long pNext,
int displayEvent)
Initializes this struct with the specified values.
|
VkDisplayEventInfoEXT |
set(VkDisplayEventInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkDisplayEventInfoEXT |
sType(int value)
Sets the specified value to the
sType 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 DISPLAYEVENT
public VkDisplayEventInfoEXT(java.nio.ByteBuffer container)
VkDisplayEventInfoEXT 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 displayEvent()
displayEvent field.public VkDisplayEventInfoEXT sType(int value)
sType field.public VkDisplayEventInfoEXT pNext(long value)
pNext field.public VkDisplayEventInfoEXT displayEvent(int value)
displayEvent field.public VkDisplayEventInfoEXT set(int sType, long pNext, int displayEvent)
public VkDisplayEventInfoEXT set(VkDisplayEventInfoEXT src)
src - the source structpublic static VkDisplayEventInfoEXT malloc()
VkDisplayEventInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkDisplayEventInfoEXT calloc()
VkDisplayEventInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkDisplayEventInfoEXT create()
VkDisplayEventInfoEXT instance allocated with BufferUtils.public static VkDisplayEventInfoEXT create(long address)
VkDisplayEventInfoEXT instance for the specified memory address.@Nullable public static VkDisplayEventInfoEXT createSafe(long address)
public static VkDisplayEventInfoEXT.Buffer malloc(int capacity)
VkDisplayEventInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDisplayEventInfoEXT.Buffer calloc(int capacity)
VkDisplayEventInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDisplayEventInfoEXT.Buffer create(int capacity)
VkDisplayEventInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDisplayEventInfoEXT.Buffer create(long address, int capacity)
VkDisplayEventInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDisplayEventInfoEXT.Buffer createSafe(long address, int capacity)
public static VkDisplayEventInfoEXT mallocStack()
VkDisplayEventInfoEXT instance allocated on the thread-local MemoryStack.public static VkDisplayEventInfoEXT callocStack()
VkDisplayEventInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDisplayEventInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkDisplayEventInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDisplayEventInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkDisplayEventInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDisplayEventInfoEXT.Buffer mallocStack(int capacity)
VkDisplayEventInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDisplayEventInfoEXT.Buffer callocStack(int capacity)
VkDisplayEventInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDisplayEventInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDisplayEventInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDisplayEventInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDisplayEventInfoEXT.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 ndisplayEvent(long struct)
displayEvent().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void ndisplayEvent(long struct,
int value)
displayEvent.Copyright LWJGL. All Rights Reserved. License terms.