public class VkPhysicalDeviceBufferDeviceAddressFeaturesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceBufferDeviceAddressFeaturesEXT structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether the feature is supported. VkPhysicalDeviceBufferDeviceAddressFeaturesEXT can also be included in the pNext chain of VkDeviceCreateInfo to enable features.
The VkPhysicalDeviceBufferDeviceAddressFeaturesEXT structure has the same members as the VkPhysicalDeviceBufferDeviceAddressFeaturesKHR structure, but the functionality indicated by the members is expressed differently. The features indicated by the VkPhysicalDeviceBufferDeviceAddressFeaturesKHR structure requires additional flags to be passed at memory allocation time, and the capture and replay mechanism is built around opaque capture addresses for buffer and memory objects.
bufferDeviceAddress – indicates that the implementation supports accessing buffer memory in shaders as storage buffers via an address queried from GetBufferDeviceAddressEXT.bufferDeviceAddressCaptureReplay – indicates that the implementation supports saving and reusing buffer addresses, e.g. for trace capture and replay.bufferDeviceAddressMultiDevice – indicates that the implementation supports the bufferDeviceAddress feature for logical devices created with multiple physical devices. If this feature is not supported, buffer addresses must not be queried on a logical device created with more than one physical device.
struct VkPhysicalDeviceBufferDeviceAddressFeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 bufferDeviceAddress;
VkBool32 bufferDeviceAddressCaptureReplay;
VkBool32 bufferDeviceAddressMultiDevice;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer
An array of
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
BUFFERDEVICEADDRESS
The struct member offsets.
|
static int |
BUFFERDEVICEADDRESSCAPTUREREPLAY
The struct member offsets.
|
static int |
BUFFERDEVICEADDRESSMULTIDEVICE
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
bufferDeviceAddress()
Returns the value of the
bufferDeviceAddress field. |
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT |
bufferDeviceAddress(boolean value)
Sets the specified value to the
bufferDeviceAddress field. |
boolean |
bufferDeviceAddressCaptureReplay()
Returns the value of the
bufferDeviceAddressCaptureReplay field. |
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT |
bufferDeviceAddressCaptureReplay(boolean value)
Sets the specified value to the
bufferDeviceAddressCaptureReplay field. |
boolean |
bufferDeviceAddressMultiDevice()
Returns the value of the
bufferDeviceAddressMultiDevice field. |
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT |
bufferDeviceAddressMultiDevice(boolean value)
Sets the specified value to the
bufferDeviceAddressMultiDevice field. |
static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT |
calloc()
Returns a new
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT |
callocStack()
Returns a new
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT |
create()
Returns a new
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT |
create(long address)
Returns a new
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT instance for the specified memory address. |
static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT |
createSafe(long address)
|
static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT |
malloc()
Returns a new
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT instance allocated on the specified MemoryStack. |
static int |
nbufferDeviceAddress(long struct)
Unsafe version of
bufferDeviceAddress(). |
static void |
nbufferDeviceAddress(long struct,
int value)
Unsafe version of
bufferDeviceAddress. |
static int |
nbufferDeviceAddressCaptureReplay(long struct)
Unsafe version of
bufferDeviceAddressCaptureReplay(). |
static void |
nbufferDeviceAddressCaptureReplay(long struct,
int value)
Unsafe version of
bufferDeviceAddressCaptureReplay. |
static int |
nbufferDeviceAddressMultiDevice(long struct)
Unsafe version of
bufferDeviceAddressMultiDevice(). |
static void |
nbufferDeviceAddressMultiDevice(long struct,
int value)
Unsafe version of
bufferDeviceAddressMultiDevice. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT |
set(int sType,
long pNext,
boolean bufferDeviceAddress,
boolean bufferDeviceAddressCaptureReplay,
boolean bufferDeviceAddressMultiDevice)
Initializes this struct with the specified values.
|
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT |
set(VkPhysicalDeviceBufferDeviceAddressFeaturesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int BUFFERDEVICEADDRESS
public static final int BUFFERDEVICEADDRESSCAPTUREREPLAY
public static final int BUFFERDEVICEADDRESSMULTIDEVICE
public VkPhysicalDeviceBufferDeviceAddressFeaturesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT instance at the current position of the specified ByteBuffer 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public boolean bufferDeviceAddress()
bufferDeviceAddress field.public boolean bufferDeviceAddressCaptureReplay()
bufferDeviceAddressCaptureReplay field.public boolean bufferDeviceAddressMultiDevice()
bufferDeviceAddressMultiDevice field.public VkPhysicalDeviceBufferDeviceAddressFeaturesEXT sType(int value)
sType field.public VkPhysicalDeviceBufferDeviceAddressFeaturesEXT pNext(long value)
pNext field.public VkPhysicalDeviceBufferDeviceAddressFeaturesEXT bufferDeviceAddress(boolean value)
bufferDeviceAddress field.public VkPhysicalDeviceBufferDeviceAddressFeaturesEXT bufferDeviceAddressCaptureReplay(boolean value)
bufferDeviceAddressCaptureReplay field.public VkPhysicalDeviceBufferDeviceAddressFeaturesEXT bufferDeviceAddressMultiDevice(boolean value)
bufferDeviceAddressMultiDevice field.public VkPhysicalDeviceBufferDeviceAddressFeaturesEXT set(int sType, long pNext, boolean bufferDeviceAddress, boolean bufferDeviceAddressCaptureReplay, boolean bufferDeviceAddressMultiDevice)
public VkPhysicalDeviceBufferDeviceAddressFeaturesEXT set(VkPhysicalDeviceBufferDeviceAddressFeaturesEXT src)
src - the source structpublic static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT malloc()
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT calloc()
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT create()
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT create(long address)
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT createSafe(long address)
public static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer create(int capacity)
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT mallocStack()
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT callocStack()
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nbufferDeviceAddress(long struct)
bufferDeviceAddress().public static int nbufferDeviceAddressCaptureReplay(long struct)
bufferDeviceAddressCaptureReplay().public static int nbufferDeviceAddressMultiDevice(long struct)
bufferDeviceAddressMultiDevice().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nbufferDeviceAddress(long struct,
int value)
bufferDeviceAddress.public static void nbufferDeviceAddressCaptureReplay(long struct,
int value)
bufferDeviceAddressCaptureReplay.public static void nbufferDeviceAddressMultiDevice(long struct,
int value)
bufferDeviceAddressMultiDevice.Copyright LWJGL. All Rights Reserved. License terms.