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 classAn array ofVkPhysicalDeviceBufferAddressFeaturesEXTstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested 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, STYPEFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkPhysicalDeviceBufferAddressFeaturesEXTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionbufferDeviceAddress(boolean value) Sets the specified value to thebufferDeviceAddressfield.bufferDeviceAddressCaptureReplay(boolean value) Sets the specified value to thebufferDeviceAddressCaptureReplayfield.bufferDeviceAddressMultiDevice(boolean value) Sets the specified value to thebufferDeviceAddressMultiDevicefield.calloc()Returns a newVkPhysicalDeviceBufferAddressFeaturesEXTinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkPhysicalDeviceBufferAddressFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.Deprecated.callocStack(int capacity) Deprecated.callocStack(int capacity, MemoryStack stack) Deprecated.callocStack(MemoryStack stack) Deprecated.create()Returns a newVkPhysicalDeviceBufferAddressFeaturesEXTinstance allocated withBufferUtils.create(int capacity) Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkPhysicalDeviceBufferAddressFeaturesEXTinstance for the specified memory address.create(long address, int capacity) Create aVkPhysicalDeviceBufferAddressFeaturesEXT.Bufferinstance at the specified memory.static @Nullable VkPhysicalDeviceBufferAddressFeaturesEXTcreateSafe(long address) static @Nullable VkPhysicalDeviceBufferAddressFeaturesEXT.BuffercreateSafe(long address, int capacity) malloc()Returns a newVkPhysicalDeviceBufferAddressFeaturesEXTinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkPhysicalDeviceBufferAddressFeaturesEXTinstance 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 thepNextfield.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 thesTypefield.Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXTvalue to thesTypefield.Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceBufferDeviceAddressFeaturesEXT
bufferDeviceAddress, bufferDeviceAddressCaptureReplay, bufferDeviceAddressMultiDevice, nbufferDeviceAddress, nbufferDeviceAddress, nbufferDeviceAddressCaptureReplay, nbufferDeviceAddressCaptureReplay, nbufferDeviceAddressMultiDevice, nbufferDeviceAddressMultiDevice, npNext, npNext, nsType, nsType, pNext, set, sizeof, sTypeMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkPhysicalDeviceBufferAddressFeaturesEXT
Creates aVkPhysicalDeviceBufferAddressFeaturesEXTinstance 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 Details
-
sType
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
sType$Default
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXTvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
pNext
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
bufferDeviceAddress
Sets the specified value to thebufferDeviceAddressfield.- Overrides:
bufferDeviceAddressin classVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
bufferDeviceAddressCaptureReplay
Sets the specified value to thebufferDeviceAddressCaptureReplayfield.- Overrides:
bufferDeviceAddressCaptureReplayin classVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
bufferDeviceAddressMultiDevice
Sets the specified value to thebufferDeviceAddressMultiDevicefield.- Overrides:
bufferDeviceAddressMultiDevicein classVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
set
public VkPhysicalDeviceBufferAddressFeaturesEXT set(int sType, long pNext, boolean bufferDeviceAddress, boolean bufferDeviceAddressCaptureReplay, boolean bufferDeviceAddressMultiDevice) Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXTinstance allocated withBufferUtils. -
create
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXTinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkPhysicalDeviceBufferAddressFeaturesEXT.Bufferinstance 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 newVkPhysicalDeviceBufferAddressFeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXTinstance allocated on the specifiedMemoryStackand 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.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-