Package org.lwjgl.vulkan
Class VkBufferDeviceAddressInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkBufferDeviceAddressInfo
-
- org.lwjgl.vulkan.VkBufferDeviceAddressInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkBufferDeviceAddressInfoEXT extends VkBufferDeviceAddressInfo
SeeVkBufferDeviceAddressInfo.Layout
struct VkBufferDeviceAddressInfoEXT { VkStructureType sType; void const * pNext; VkBuffer buffer; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkBufferDeviceAddressInfoEXT.BufferAn array ofVkBufferDeviceAddressInfoEXTstructs.
-
Constructor Summary
Constructors Constructor Description VkBufferDeviceAddressInfoEXT(java.nio.ByteBuffer container)Creates aVkBufferDeviceAddressInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description VkBufferDeviceAddressInfoEXTbuffer(long value)Sets the specified value to thebufferfield.static VkBufferDeviceAddressInfoEXTcalloc()Returns a newVkBufferDeviceAddressInfoEXTinstance allocated withmemCalloc.static VkBufferDeviceAddressInfoEXT.Buffercalloc(int capacity)Returns a newVkBufferDeviceAddressInfoEXT.Bufferinstance allocated withmemCalloc.static VkBufferDeviceAddressInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkBufferDeviceAddressInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkBufferDeviceAddressInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkBufferDeviceAddressInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkBufferDeviceAddressInfoEXTcallocStack()Deprecated.static VkBufferDeviceAddressInfoEXT.BuffercallocStack(int capacity)Deprecated.static VkBufferDeviceAddressInfoEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkBufferDeviceAddressInfoEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkBufferDeviceAddressInfoEXTcreate()Returns a newVkBufferDeviceAddressInfoEXTinstance allocated withBufferUtils.static VkBufferDeviceAddressInfoEXT.Buffercreate(int capacity)Returns a newVkBufferDeviceAddressInfoEXT.Bufferinstance allocated withBufferUtils.static VkBufferDeviceAddressInfoEXTcreate(long address)Returns a newVkBufferDeviceAddressInfoEXTinstance for the specified memory address.static VkBufferDeviceAddressInfoEXT.Buffercreate(long address, int capacity)Create aVkBufferDeviceAddressInfoEXT.Bufferinstance at the specified memory.static VkBufferDeviceAddressInfoEXTcreateSafe(long address)static VkBufferDeviceAddressInfoEXT.BuffercreateSafe(long address, int capacity)static VkBufferDeviceAddressInfoEXTmalloc()Returns a newVkBufferDeviceAddressInfoEXTinstance allocated withmemAlloc.static VkBufferDeviceAddressInfoEXT.Buffermalloc(int capacity)Returns a newVkBufferDeviceAddressInfoEXT.Bufferinstance allocated withmemAlloc.static VkBufferDeviceAddressInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkBufferDeviceAddressInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkBufferDeviceAddressInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkBufferDeviceAddressInfoEXTinstance allocated on the specifiedMemoryStack.static VkBufferDeviceAddressInfoEXTmallocStack()Deprecated.static VkBufferDeviceAddressInfoEXT.BuffermallocStack(int capacity)Deprecated.static VkBufferDeviceAddressInfoEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkBufferDeviceAddressInfoEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkBufferDeviceAddressInfoEXTpNext(long value)Sets the specified value to thepNextfield.VkBufferDeviceAddressInfoEXTset(int sType, long pNext, long buffer)Initializes this struct with the specified values.VkBufferDeviceAddressInfoEXTset(VkBufferDeviceAddressInfoEXT src)Copies the specified struct data to this struct.VkBufferDeviceAddressInfoEXTsType(int value)Sets the specified value to thesTypefield.VkBufferDeviceAddressInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFOvalue to thesTypefield.
-
-
-
Constructor Detail
-
VkBufferDeviceAddressInfoEXT
public VkBufferDeviceAddressInfoEXT(java.nio.ByteBuffer container)
Creates aVkBufferDeviceAddressInfoEXTinstance 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 VkBufferDeviceAddressInfoEXT sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkBufferDeviceAddressInfo
-
sType$Default
public VkBufferDeviceAddressInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkBufferDeviceAddressInfo
-
pNext
public VkBufferDeviceAddressInfoEXT pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkBufferDeviceAddressInfo
-
buffer
public VkBufferDeviceAddressInfoEXT buffer(long value)
Sets the specified value to thebufferfield.- Overrides:
bufferin classVkBufferDeviceAddressInfo
-
set
public VkBufferDeviceAddressInfoEXT set(int sType, long pNext, long buffer)
Initializes this struct with the specified values.- Overrides:
setin classVkBufferDeviceAddressInfo
-
set
public VkBufferDeviceAddressInfoEXT set(VkBufferDeviceAddressInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkBufferDeviceAddressInfoEXT malloc()
Returns a newVkBufferDeviceAddressInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkBufferDeviceAddressInfoEXT calloc()
Returns a newVkBufferDeviceAddressInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkBufferDeviceAddressInfoEXT create()
Returns a newVkBufferDeviceAddressInfoEXTinstance allocated withBufferUtils.
-
create
public static VkBufferDeviceAddressInfoEXT create(long address)
Returns a newVkBufferDeviceAddressInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkBufferDeviceAddressInfoEXT createSafe(long address)
-
malloc
public static VkBufferDeviceAddressInfoEXT.Buffer malloc(int capacity)
Returns a newVkBufferDeviceAddressInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkBufferDeviceAddressInfoEXT.Buffer calloc(int capacity)
Returns a newVkBufferDeviceAddressInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkBufferDeviceAddressInfoEXT.Buffer create(int capacity)
Returns a newVkBufferDeviceAddressInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkBufferDeviceAddressInfoEXT.Buffer create(long address, int capacity)
Create aVkBufferDeviceAddressInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkBufferDeviceAddressInfoEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkBufferDeviceAddressInfoEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkBufferDeviceAddressInfoEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkBufferDeviceAddressInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkBufferDeviceAddressInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkBufferDeviceAddressInfoEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkBufferDeviceAddressInfoEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkBufferDeviceAddressInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkBufferDeviceAddressInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkBufferDeviceAddressInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkBufferDeviceAddressInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkBufferDeviceAddressInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkBufferDeviceAddressInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkBufferDeviceAddressInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkBufferDeviceAddressInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkBufferDeviceAddressInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkBufferDeviceAddressInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-