Package org.lwjgl.vulkan
Class VkPrivateDataSlotCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPrivateDataSlotCreateInfo
-
- org.lwjgl.vulkan.VkPrivateDataSlotCreateInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPrivateDataSlotCreateInfoEXT extends VkPrivateDataSlotCreateInfo
SeeVkPrivateDataSlotCreateInfo.Layout
struct VkPrivateDataSlotCreateInfoEXT { VkStructureType sType; void const * pNext; VkPrivateDataSlotCreateFlags flags; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPrivateDataSlotCreateInfoEXT.BufferAn array ofVkPrivateDataSlotCreateInfoEXTstructs.
-
Constructor Summary
Constructors Constructor Description VkPrivateDataSlotCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkPrivateDataSlotCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPrivateDataSlotCreateInfoEXTcalloc()Returns a newVkPrivateDataSlotCreateInfoEXTinstance allocated withmemCalloc.static VkPrivateDataSlotCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkPrivateDataSlotCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkPrivateDataSlotCreateInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPrivateDataSlotCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPrivateDataSlotCreateInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPrivateDataSlotCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPrivateDataSlotCreateInfoEXTcreate()Returns a newVkPrivateDataSlotCreateInfoEXTinstance allocated withBufferUtils.static VkPrivateDataSlotCreateInfoEXT.Buffercreate(int capacity)Returns a newVkPrivateDataSlotCreateInfoEXT.Bufferinstance allocated withBufferUtils.static VkPrivateDataSlotCreateInfoEXTcreate(long address)Returns a newVkPrivateDataSlotCreateInfoEXTinstance for the specified memory address.static VkPrivateDataSlotCreateInfoEXT.Buffercreate(long address, int capacity)Create aVkPrivateDataSlotCreateInfoEXT.Bufferinstance at the specified memory.static VkPrivateDataSlotCreateInfoEXTcreateSafe(long address)static VkPrivateDataSlotCreateInfoEXT.BuffercreateSafe(long address, int capacity)VkPrivateDataSlotCreateInfoEXTflags(int value)Sets the specified value to theflagsfield.static VkPrivateDataSlotCreateInfoEXTmalloc()Returns a newVkPrivateDataSlotCreateInfoEXTinstance allocated withmemAlloc.static VkPrivateDataSlotCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkPrivateDataSlotCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkPrivateDataSlotCreateInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPrivateDataSlotCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPrivateDataSlotCreateInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPrivateDataSlotCreateInfoEXTinstance allocated on the specifiedMemoryStack.VkPrivateDataSlotCreateInfoEXTpNext(long value)Sets the specified value to thepNextfield.VkPrivateDataSlotCreateInfoEXTset(int sType, long pNext, int flags)Initializes this struct with the specified values.VkPrivateDataSlotCreateInfoEXTset(VkPrivateDataSlotCreateInfoEXT src)Copies the specified struct data to this struct.VkPrivateDataSlotCreateInfoEXTsType(int value)Sets the specified value to thesTypefield.VkPrivateDataSlotCreateInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFOvalue to thesTypefield.
-
-
-
Constructor Detail
-
VkPrivateDataSlotCreateInfoEXT
public VkPrivateDataSlotCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkPrivateDataSlotCreateInfoEXTinstance 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
-
sType
public VkPrivateDataSlotCreateInfoEXT sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPrivateDataSlotCreateInfo
-
sType$Default
public VkPrivateDataSlotCreateInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPrivateDataSlotCreateInfo
-
pNext
public VkPrivateDataSlotCreateInfoEXT pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPrivateDataSlotCreateInfo
-
flags
public VkPrivateDataSlotCreateInfoEXT flags(int value)
Sets the specified value to theflagsfield.- Overrides:
flagsin classVkPrivateDataSlotCreateInfo
-
set
public VkPrivateDataSlotCreateInfoEXT set(int sType, long pNext, int flags)
Initializes this struct with the specified values.- Overrides:
setin classVkPrivateDataSlotCreateInfo
-
set
public VkPrivateDataSlotCreateInfoEXT set(VkPrivateDataSlotCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPrivateDataSlotCreateInfoEXT malloc()
Returns a newVkPrivateDataSlotCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPrivateDataSlotCreateInfoEXT calloc()
Returns a newVkPrivateDataSlotCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPrivateDataSlotCreateInfoEXT create()
Returns a newVkPrivateDataSlotCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkPrivateDataSlotCreateInfoEXT create(long address)
Returns a newVkPrivateDataSlotCreateInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPrivateDataSlotCreateInfoEXT createSafe(long address)
-
malloc
public static VkPrivateDataSlotCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkPrivateDataSlotCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPrivateDataSlotCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkPrivateDataSlotCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPrivateDataSlotCreateInfoEXT.Buffer create(int capacity)
Returns a newVkPrivateDataSlotCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPrivateDataSlotCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkPrivateDataSlotCreateInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPrivateDataSlotCreateInfoEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPrivateDataSlotCreateInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPrivateDataSlotCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPrivateDataSlotCreateInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPrivateDataSlotCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPrivateDataSlotCreateInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPrivateDataSlotCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPrivateDataSlotCreateInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPrivateDataSlotCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-