Package org.lwjgl.vulkan
Class VkEventCreateInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkEventCreateInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkEventCreateInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying parameters of a newly created event.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_EVENT_CREATE_INFOpNextmust beNULLflagsmust be 0
See Also
Member documentation
sType– the type of this structure.pNext–NULLor a pointer to an extension-specific structure.flags– reserved for future use.
Layout
struct VkEventCreateInfo { VkStructureType sType; void const * pNext; VkEventCreateFlags flags; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkEventCreateInfo.BufferAn array ofVkEventCreateInfostructs.
-
Constructor Summary
Constructors Constructor Description VkEventCreateInfo(java.nio.ByteBuffer container)Creates aVkEventCreateInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkEventCreateInfocalloc()Returns a newVkEventCreateInfoinstance allocated withmemCalloc.static VkEventCreateInfo.Buffercalloc(int capacity)Returns a newVkEventCreateInfo.Bufferinstance allocated withmemCalloc.static VkEventCreateInfocallocStack()Returns a newVkEventCreateInfoinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkEventCreateInfo.BuffercallocStack(int capacity)Returns a newVkEventCreateInfo.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkEventCreateInfo.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkEventCreateInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkEventCreateInfocallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkEventCreateInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkEventCreateInfocreate()Returns a newVkEventCreateInfoinstance allocated withBufferUtils.static VkEventCreateInfo.Buffercreate(int capacity)Returns a newVkEventCreateInfo.Bufferinstance allocated withBufferUtils.static VkEventCreateInfocreate(long address)Returns a newVkEventCreateInfoinstance for the specified memory address.static VkEventCreateInfo.Buffercreate(long address, int capacity)Create aVkEventCreateInfo.Bufferinstance at the specified memory.static VkEventCreateInfocreateSafe(long address)static VkEventCreateInfo.BuffercreateSafe(long address, int capacity)intflags()Returns the value of theflagsfield.VkEventCreateInfoflags(int value)Sets the specified value to theflagsfield.static VkEventCreateInfomalloc()Returns a newVkEventCreateInfoinstance allocated withmemAlloc.static VkEventCreateInfo.Buffermalloc(int capacity)Returns a newVkEventCreateInfo.Bufferinstance allocated withmemAlloc.static VkEventCreateInfomallocStack()Returns a newVkEventCreateInfoinstance allocated on the thread-localMemoryStack.static VkEventCreateInfo.BuffermallocStack(int capacity)Returns a newVkEventCreateInfo.Bufferinstance allocated on the thread-localMemoryStack.static VkEventCreateInfo.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkEventCreateInfo.Bufferinstance allocated on the specifiedMemoryStack.static VkEventCreateInfomallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkEventCreateInfoinstance allocated on the specifiedMemoryStack.static intnflags(long struct)Unsafe version offlags().static voidnflags(long struct, int value)Unsafe version offlags.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()Returns the value of thepNextfield.VkEventCreateInfopNext(long value)Sets the specified value to thepNextfield.VkEventCreateInfoset(int sType, long pNext, int flags)Initializes this struct with the specified values.VkEventCreateInfoset(VkEventCreateInfo src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkEventCreateInfosType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
VkEventCreateInfo
public VkEventCreateInfo(java.nio.ByteBuffer container)
Creates aVkEventCreateInfoinstance 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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
flags
public int flags()
Returns the value of theflagsfield.
-
sType
public VkEventCreateInfo sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkEventCreateInfo pNext(long value)
Sets the specified value to thepNextfield.
-
flags
public VkEventCreateInfo flags(int value)
Sets the specified value to theflagsfield.
-
set
public VkEventCreateInfo set(int sType, long pNext, int flags)
Initializes this struct with the specified values.
-
set
public VkEventCreateInfo set(VkEventCreateInfo src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkEventCreateInfo malloc()
Returns a newVkEventCreateInfoinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkEventCreateInfo calloc()
Returns a newVkEventCreateInfoinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkEventCreateInfo create()
Returns a newVkEventCreateInfoinstance allocated withBufferUtils.
-
create
public static VkEventCreateInfo create(long address)
Returns a newVkEventCreateInfoinstance for the specified memory address.
-
createSafe
@Nullable public static VkEventCreateInfo createSafe(long address)
-
malloc
public static VkEventCreateInfo.Buffer malloc(int capacity)
Returns a newVkEventCreateInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkEventCreateInfo.Buffer calloc(int capacity)
Returns a newVkEventCreateInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkEventCreateInfo.Buffer create(int capacity)
Returns a newVkEventCreateInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkEventCreateInfo.Buffer create(long address, int capacity)
Create aVkEventCreateInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkEventCreateInfo.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkEventCreateInfo mallocStack()
Returns a newVkEventCreateInfoinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkEventCreateInfo callocStack()
Returns a newVkEventCreateInfoinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkEventCreateInfo mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkEventCreateInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkEventCreateInfo callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkEventCreateInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkEventCreateInfo.Buffer mallocStack(int capacity)
Returns a newVkEventCreateInfo.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkEventCreateInfo.Buffer callocStack(int capacity)
Returns a newVkEventCreateInfo.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkEventCreateInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkEventCreateInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkEventCreateInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkEventCreateInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
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().
-
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.
-
-