Package org.lwjgl.vulkan
Class VkBufferDeviceAddressInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkBufferDeviceAddressInfo
-
- org.lwjgl.vulkan.VkBufferDeviceAddressInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkBufferDeviceAddressInfoKHR extends VkBufferDeviceAddressInfo
SeeVkBufferDeviceAddressInfo.Layout
struct VkBufferDeviceAddressInfoKHR { VkStructureType sType; void const * pNext; VkBuffer buffer; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkBufferDeviceAddressInfoKHR.BufferAn array ofVkBufferDeviceAddressInfoKHRstructs.
-
Constructor Summary
Constructors Constructor Description VkBufferDeviceAddressInfoKHR(java.nio.ByteBuffer container)Creates aVkBufferDeviceAddressInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VkBufferDeviceAddressInfoKHRbuffer(long value)Sets the specified value to thebufferfield.static VkBufferDeviceAddressInfoKHRcalloc()Returns a newVkBufferDeviceAddressInfoKHRinstance allocated withmemCalloc.static VkBufferDeviceAddressInfoKHR.Buffercalloc(int capacity)Returns a newVkBufferDeviceAddressInfoKHR.Bufferinstance allocated withmemCalloc.static VkBufferDeviceAddressInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkBufferDeviceAddressInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkBufferDeviceAddressInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkBufferDeviceAddressInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkBufferDeviceAddressInfoKHRcreate()Returns a newVkBufferDeviceAddressInfoKHRinstance allocated withBufferUtils.static VkBufferDeviceAddressInfoKHR.Buffercreate(int capacity)Returns a newVkBufferDeviceAddressInfoKHR.Bufferinstance allocated withBufferUtils.static VkBufferDeviceAddressInfoKHRcreate(long address)Returns a newVkBufferDeviceAddressInfoKHRinstance for the specified memory address.static VkBufferDeviceAddressInfoKHR.Buffercreate(long address, int capacity)Create aVkBufferDeviceAddressInfoKHR.Bufferinstance at the specified memory.static VkBufferDeviceAddressInfoKHRcreateSafe(long address)static VkBufferDeviceAddressInfoKHR.BuffercreateSafe(long address, int capacity)static VkBufferDeviceAddressInfoKHRmalloc()Returns a newVkBufferDeviceAddressInfoKHRinstance allocated withmemAlloc.static VkBufferDeviceAddressInfoKHR.Buffermalloc(int capacity)Returns a newVkBufferDeviceAddressInfoKHR.Bufferinstance allocated withmemAlloc.static VkBufferDeviceAddressInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkBufferDeviceAddressInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkBufferDeviceAddressInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkBufferDeviceAddressInfoKHRinstance allocated on the specifiedMemoryStack.VkBufferDeviceAddressInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkBufferDeviceAddressInfoKHRset(int sType, long pNext, long buffer)Initializes this struct with the specified values.VkBufferDeviceAddressInfoKHRset(VkBufferDeviceAddressInfoKHR src)Copies the specified struct data to this struct.VkBufferDeviceAddressInfoKHRsType(int value)Sets the specified value to thesTypefield.VkBufferDeviceAddressInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFOvalue to thesTypefield.
-
-
-
Constructor Detail
-
VkBufferDeviceAddressInfoKHR
public VkBufferDeviceAddressInfoKHR(java.nio.ByteBuffer container)
Creates aVkBufferDeviceAddressInfoKHRinstance 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 VkBufferDeviceAddressInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkBufferDeviceAddressInfo
-
sType$Default
public VkBufferDeviceAddressInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkBufferDeviceAddressInfo
-
pNext
public VkBufferDeviceAddressInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkBufferDeviceAddressInfo
-
buffer
public VkBufferDeviceAddressInfoKHR buffer(long value)
Sets the specified value to thebufferfield.- Overrides:
bufferin classVkBufferDeviceAddressInfo
-
set
public VkBufferDeviceAddressInfoKHR set(int sType, long pNext, long buffer)
Initializes this struct with the specified values.- Overrides:
setin classVkBufferDeviceAddressInfo
-
set
public VkBufferDeviceAddressInfoKHR set(VkBufferDeviceAddressInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkBufferDeviceAddressInfoKHR malloc()
Returns a newVkBufferDeviceAddressInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkBufferDeviceAddressInfoKHR calloc()
Returns a newVkBufferDeviceAddressInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkBufferDeviceAddressInfoKHR create()
Returns a newVkBufferDeviceAddressInfoKHRinstance allocated withBufferUtils.
-
create
public static VkBufferDeviceAddressInfoKHR create(long address)
Returns a newVkBufferDeviceAddressInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkBufferDeviceAddressInfoKHR createSafe(long address)
-
malloc
public static VkBufferDeviceAddressInfoKHR.Buffer malloc(int capacity)
Returns a newVkBufferDeviceAddressInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkBufferDeviceAddressInfoKHR.Buffer calloc(int capacity)
Returns a newVkBufferDeviceAddressInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkBufferDeviceAddressInfoKHR.Buffer create(int capacity)
Returns a newVkBufferDeviceAddressInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkBufferDeviceAddressInfoKHR.Buffer create(long address, int capacity)
Create aVkBufferDeviceAddressInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkBufferDeviceAddressInfoKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkBufferDeviceAddressInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkBufferDeviceAddressInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkBufferDeviceAddressInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkBufferDeviceAddressInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkBufferDeviceAddressInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkBufferDeviceAddressInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkBufferDeviceAddressInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkBufferDeviceAddressInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-