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