Package org.lwjgl.vulkan
Class VkPhysicalDeviceBufferAddressFeaturesEXT
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPhysicalDeviceBufferDeviceAddressFeaturesEXT>
org.lwjgl.vulkan.VkPhysicalDeviceBufferDeviceAddressFeaturesEXT
org.lwjgl.vulkan.VkPhysicalDeviceBufferAddressFeaturesEXT
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class VkPhysicalDeviceBufferAddressFeaturesEXT
extends VkPhysicalDeviceBufferDeviceAddressFeaturesEXT
struct VkPhysicalDeviceBufferAddressFeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 bufferDeviceAddress;
VkBool32 bufferDeviceAddressCaptureReplay;
VkBool32 bufferDeviceAddressMultiDevice;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofVkPhysicalDeviceBufferAddressFeaturesEXT
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from class org.lwjgl.vulkan.VkPhysicalDeviceBufferDeviceAddressFeaturesEXT
ALIGNOF, BUFFERDEVICEADDRESS, BUFFERDEVICEADDRESSCAPTUREREPLAY, BUFFERDEVICEADDRESSMULTIDEVICE, PNEXT, SIZEOF, STYPE
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkPhysicalDeviceBufferAddressFeaturesEXT
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionbufferDeviceAddress
(boolean value) Sets the specified value to thebufferDeviceAddress
field.bufferDeviceAddressCaptureReplay
(boolean value) Sets the specified value to thebufferDeviceAddressCaptureReplay
field.bufferDeviceAddressMultiDevice
(boolean value) Sets the specified value to thebufferDeviceAddressMultiDevice
field.calloc()
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.Deprecated.callocStack
(int capacity) Deprecated.callocStack
(int capacity, MemoryStack stack) Deprecated.callocStack
(MemoryStack stack) Deprecated.create()
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance for the specified memory address.create
(long address, int capacity) Create aVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance at the specified memory.static @Nullable VkPhysicalDeviceBufferAddressFeaturesEXT
createSafe
(long address) static @Nullable VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
createSafe
(long address, int capacity) malloc()
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated on the specifiedMemoryStack
.Deprecated.mallocStack
(int capacity) Deprecated.mallocStack
(int capacity, MemoryStack stack) Deprecated.mallocStack
(MemoryStack stack) Deprecated.pNext
(long value) Sets the specified value to thepNext
field.set
(int sType, long pNext, boolean bufferDeviceAddress, boolean bufferDeviceAddressCaptureReplay, boolean bufferDeviceAddressMultiDevice) Initializes this struct with the specified values.Copies the specified struct data to this struct.sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT
value to thesType
field.Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceBufferDeviceAddressFeaturesEXT
bufferDeviceAddress, bufferDeviceAddressCaptureReplay, bufferDeviceAddressMultiDevice, nbufferDeviceAddress, nbufferDeviceAddress, nbufferDeviceAddressCaptureReplay, nbufferDeviceAddressCaptureReplay, nbufferDeviceAddressMultiDevice, nbufferDeviceAddressMultiDevice, npNext, npNext, nsType, nsType, pNext, set, sizeof, sType
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkPhysicalDeviceBufferAddressFeaturesEXT
Creates aVkPhysicalDeviceBufferAddressFeaturesEXT
instance at the current position of the specifiedByteBuffer
container. 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 Details
-
sType
Sets the specified value to thesType
field.- Overrides:
sType
in classVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
sType$Default
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT
value to thesType
field.- Overrides:
sType$Default
in classVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
pNext
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
bufferDeviceAddress
Sets the specified value to thebufferDeviceAddress
field.- Overrides:
bufferDeviceAddress
in classVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
bufferDeviceAddressCaptureReplay
Sets the specified value to thebufferDeviceAddressCaptureReplay
field.- Overrides:
bufferDeviceAddressCaptureReplay
in classVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
bufferDeviceAddressMultiDevice
Sets the specified value to thebufferDeviceAddressMultiDevice
field.- Overrides:
bufferDeviceAddressMultiDevice
in classVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
set
public VkPhysicalDeviceBufferAddressFeaturesEXT set(int sType, long pNext, boolean bufferDeviceAddress, boolean bufferDeviceAddressCaptureReplay, boolean bufferDeviceAddressMultiDevice) Initializes this struct with the specified values.- Overrides:
set
in classVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated withBufferUtils
. -
create
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer createSafe(long address, int capacity) -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)
instead. -
mallocStack
@Deprecated public static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer mallocStack(int capacity, MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)
instead. -
callocStack
@Deprecated public static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer callocStack(int capacity, MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)
instead. -
malloc
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer malloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer calloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-