Package org.lwjgl.vulkan
Class VkPrivateDataSlotCreateInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPrivateDataSlotCreateInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkPrivateDataSlotCreateInfoEXT
public class VkPrivateDataSlotCreateInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying the parameters of private data slot construction.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFOpNextmust beNULLflagsmust be 0
See Also
CreatePrivateDataSlot,CreatePrivateDataSlotEXTLayout
struct VkPrivateDataSlotCreateInfo { VkStructureTypesType(); void const *pNext(); VkPrivateDataSlotCreateFlagsflags(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPrivateDataSlotCreateInfo.BufferAn array ofVkPrivateDataSlotCreateInfostructs.
-
Constructor Summary
Constructors Constructor Description VkPrivateDataSlotCreateInfo(java.nio.ByteBuffer container)Creates aVkPrivateDataSlotCreateInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPrivateDataSlotCreateInfocalloc()Returns a newVkPrivateDataSlotCreateInfoinstance allocated withmemCalloc.static VkPrivateDataSlotCreateInfo.Buffercalloc(int capacity)Returns a newVkPrivateDataSlotCreateInfo.Bufferinstance allocated withmemCalloc.static VkPrivateDataSlotCreateInfo.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPrivateDataSlotCreateInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPrivateDataSlotCreateInfocalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPrivateDataSlotCreateInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPrivateDataSlotCreateInfocreate()Returns a newVkPrivateDataSlotCreateInfoinstance allocated withBufferUtils.static VkPrivateDataSlotCreateInfo.Buffercreate(int capacity)Returns a newVkPrivateDataSlotCreateInfo.Bufferinstance allocated withBufferUtils.static VkPrivateDataSlotCreateInfocreate(long address)Returns a newVkPrivateDataSlotCreateInfoinstance for the specified memory address.static VkPrivateDataSlotCreateInfo.Buffercreate(long address, int capacity)Create aVkPrivateDataSlotCreateInfo.Bufferinstance at the specified memory.static VkPrivateDataSlotCreateInfocreateSafe(long address)static VkPrivateDataSlotCreateInfo.BuffercreateSafe(long address, int capacity)intflags()reserved for future use.VkPrivateDataSlotCreateInfoflags(int value)Sets the specified value to theflags()field.static VkPrivateDataSlotCreateInfomalloc()Returns a newVkPrivateDataSlotCreateInfoinstance allocated withmemAlloc.static VkPrivateDataSlotCreateInfo.Buffermalloc(int capacity)Returns a newVkPrivateDataSlotCreateInfo.Bufferinstance allocated withmemAlloc.static VkPrivateDataSlotCreateInfo.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPrivateDataSlotCreateInfo.Bufferinstance allocated on the specifiedMemoryStack.static VkPrivateDataSlotCreateInfomalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPrivateDataSlotCreateInfoinstance 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()NULLor a pointer to a structure extending this structure.VkPrivateDataSlotCreateInfopNext(long value)Sets the specified value to thepNext()field.VkPrivateDataSlotCreateInfoset(int sType, long pNext, int flags)Initializes this struct with the specified values.VkPrivateDataSlotCreateInfoset(VkPrivateDataSlotCreateInfo src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPrivateDataSlotCreateInfosType(int value)Sets the specified value to thesType()field.VkPrivateDataSlotCreateInfosType$Default()Sets theSTRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFOvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPrivateDataSlotCreateInfo
public VkPrivateDataSlotCreateInfo(java.nio.ByteBuffer container)
Creates aVkPrivateDataSlotCreateInfoinstance 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()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
flags
public int flags()
reserved for future use.
-
sType
public VkPrivateDataSlotCreateInfo sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPrivateDataSlotCreateInfo sType$Default()
Sets theSTRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFOvalue to thesType()field.
-
pNext
public VkPrivateDataSlotCreateInfo pNext(long value)
Sets the specified value to thepNext()field.
-
flags
public VkPrivateDataSlotCreateInfo flags(int value)
Sets the specified value to theflags()field.
-
set
public VkPrivateDataSlotCreateInfo set(int sType, long pNext, int flags)
Initializes this struct with the specified values.
-
set
public VkPrivateDataSlotCreateInfo set(VkPrivateDataSlotCreateInfo src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPrivateDataSlotCreateInfo malloc()
Returns a newVkPrivateDataSlotCreateInfoinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPrivateDataSlotCreateInfo calloc()
Returns a newVkPrivateDataSlotCreateInfoinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPrivateDataSlotCreateInfo create()
Returns a newVkPrivateDataSlotCreateInfoinstance allocated withBufferUtils.
-
create
public static VkPrivateDataSlotCreateInfo create(long address)
Returns a newVkPrivateDataSlotCreateInfoinstance for the specified memory address.
-
createSafe
@Nullable public static VkPrivateDataSlotCreateInfo createSafe(long address)
-
malloc
public static VkPrivateDataSlotCreateInfo.Buffer malloc(int capacity)
Returns a newVkPrivateDataSlotCreateInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPrivateDataSlotCreateInfo.Buffer calloc(int capacity)
Returns a newVkPrivateDataSlotCreateInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPrivateDataSlotCreateInfo.Buffer create(int capacity)
Returns a newVkPrivateDataSlotCreateInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPrivateDataSlotCreateInfo.Buffer create(long address, int capacity)
Create aVkPrivateDataSlotCreateInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPrivateDataSlotCreateInfo.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPrivateDataSlotCreateInfo malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPrivateDataSlotCreateInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPrivateDataSlotCreateInfo calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPrivateDataSlotCreateInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPrivateDataSlotCreateInfo.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPrivateDataSlotCreateInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPrivateDataSlotCreateInfo.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPrivateDataSlotCreateInfo.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.
-
-