Package org.lwjgl.vulkan
Class VkDevicePrivateDataCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDevicePrivateDataCreateInfo
-
- org.lwjgl.vulkan.VkDevicePrivateDataCreateInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkDevicePrivateDataCreateInfoEXT extends VkDevicePrivateDataCreateInfo
SeeVkDevicePrivateDataCreateInfo.Layout
struct VkDevicePrivateDataCreateInfoEXT { VkStructureType sType; void const * pNext; uint32_t privateDataSlotRequestCount; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkDevicePrivateDataCreateInfoEXT.BufferAn array ofVkDevicePrivateDataCreateInfoEXTstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkDevicePrivateDataCreateInfo
ALIGNOF, PNEXT, PRIVATEDATASLOTREQUESTCOUNT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkDevicePrivateDataCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkDevicePrivateDataCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDevicePrivateDataCreateInfoEXTcalloc()Returns a newVkDevicePrivateDataCreateInfoEXTinstance allocated withmemCalloc.static VkDevicePrivateDataCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkDevicePrivateDataCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkDevicePrivateDataCreateInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDevicePrivateDataCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDevicePrivateDataCreateInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDevicePrivateDataCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDevicePrivateDataCreateInfoEXTcreate()Returns a newVkDevicePrivateDataCreateInfoEXTinstance allocated withBufferUtils.static VkDevicePrivateDataCreateInfoEXT.Buffercreate(int capacity)Returns a newVkDevicePrivateDataCreateInfoEXT.Bufferinstance allocated withBufferUtils.static VkDevicePrivateDataCreateInfoEXTcreate(long address)Returns a newVkDevicePrivateDataCreateInfoEXTinstance for the specified memory address.static VkDevicePrivateDataCreateInfoEXT.Buffercreate(long address, int capacity)Create aVkDevicePrivateDataCreateInfoEXT.Bufferinstance at the specified memory.static VkDevicePrivateDataCreateInfoEXTcreateSafe(long address)static VkDevicePrivateDataCreateInfoEXT.BuffercreateSafe(long address, int capacity)static VkDevicePrivateDataCreateInfoEXTmalloc()Returns a newVkDevicePrivateDataCreateInfoEXTinstance allocated withmemAlloc.static VkDevicePrivateDataCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkDevicePrivateDataCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkDevicePrivateDataCreateInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDevicePrivateDataCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkDevicePrivateDataCreateInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDevicePrivateDataCreateInfoEXTinstance allocated on the specifiedMemoryStack.VkDevicePrivateDataCreateInfoEXTpNext(long value)Sets the specified value to thepNextfield.VkDevicePrivateDataCreateInfoEXTprivateDataSlotRequestCount(int value)Sets the specified value to theprivateDataSlotRequestCountfield.VkDevicePrivateDataCreateInfoEXTset(int sType, long pNext, int privateDataSlotRequestCount)Initializes this struct with the specified values.VkDevicePrivateDataCreateInfoEXTset(VkDevicePrivateDataCreateInfoEXT src)Copies the specified struct data to this struct.VkDevicePrivateDataCreateInfoEXTsType(int value)Sets the specified value to thesTypefield.VkDevicePrivateDataCreateInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFOvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkDevicePrivateDataCreateInfo
npNext, npNext, nprivateDataSlotRequestCount, nprivateDataSlotRequestCount, nsType, nsType, pNext, privateDataSlotRequestCount, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkDevicePrivateDataCreateInfoEXT
public VkDevicePrivateDataCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkDevicePrivateDataCreateInfoEXTinstance 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 VkDevicePrivateDataCreateInfoEXT sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkDevicePrivateDataCreateInfo
-
sType$Default
public VkDevicePrivateDataCreateInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkDevicePrivateDataCreateInfo
-
pNext
public VkDevicePrivateDataCreateInfoEXT pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkDevicePrivateDataCreateInfo
-
privateDataSlotRequestCount
public VkDevicePrivateDataCreateInfoEXT privateDataSlotRequestCount(int value)
Sets the specified value to theprivateDataSlotRequestCountfield.- Overrides:
privateDataSlotRequestCountin classVkDevicePrivateDataCreateInfo
-
set
public VkDevicePrivateDataCreateInfoEXT set(int sType, long pNext, int privateDataSlotRequestCount)
Initializes this struct with the specified values.- Overrides:
setin classVkDevicePrivateDataCreateInfo
-
set
public VkDevicePrivateDataCreateInfoEXT set(VkDevicePrivateDataCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkDevicePrivateDataCreateInfoEXT malloc()
Returns a newVkDevicePrivateDataCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDevicePrivateDataCreateInfoEXT calloc()
Returns a newVkDevicePrivateDataCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDevicePrivateDataCreateInfoEXT create()
Returns a newVkDevicePrivateDataCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkDevicePrivateDataCreateInfoEXT create(long address)
Returns a newVkDevicePrivateDataCreateInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkDevicePrivateDataCreateInfoEXT createSafe(long address)
-
malloc
public static VkDevicePrivateDataCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkDevicePrivateDataCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDevicePrivateDataCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkDevicePrivateDataCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDevicePrivateDataCreateInfoEXT.Buffer create(int capacity)
Returns a newVkDevicePrivateDataCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDevicePrivateDataCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkDevicePrivateDataCreateInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkDevicePrivateDataCreateInfoEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkDevicePrivateDataCreateInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDevicePrivateDataCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkDevicePrivateDataCreateInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDevicePrivateDataCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkDevicePrivateDataCreateInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDevicePrivateDataCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkDevicePrivateDataCreateInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDevicePrivateDataCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-