Package org.lwjgl.vulkan
Class VkPhysicalDeviceBufferAddressFeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
- org.lwjgl.vulkan.VkPhysicalDeviceBufferAddressFeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkPhysicalDeviceBufferAddressFeaturesEXT extends VkPhysicalDeviceBufferDeviceAddressFeaturesEXT
SeeVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
.Layout
struct VkPhysicalDeviceBufferAddressFeaturesEXT { VkStructureType sType; void * pNext; VkBool32 bufferDeviceAddress; VkBool32 bufferDeviceAddressCaptureReplay; VkBool32 bufferDeviceAddressMultiDevice; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
An array ofVkPhysicalDeviceBufferAddressFeaturesEXT
structs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkPhysicalDeviceBufferDeviceAddressFeaturesEXT
ALIGNOF, BUFFERDEVICEADDRESS, BUFFERDEVICEADDRESSCAPTUREREPLAY, BUFFERDEVICEADDRESSMULTIDEVICE, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceBufferAddressFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceBufferAddressFeaturesEXT
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VkPhysicalDeviceBufferAddressFeaturesEXT
bufferDeviceAddress(boolean value)
Sets the specified value to thebufferDeviceAddress
field.VkPhysicalDeviceBufferAddressFeaturesEXT
bufferDeviceAddressCaptureReplay(boolean value)
Sets the specified value to thebufferDeviceAddressCaptureReplay
field.VkPhysicalDeviceBufferAddressFeaturesEXT
bufferDeviceAddressMultiDevice(boolean value)
Sets the specified value to thebufferDeviceAddressMultiDevice
field.static VkPhysicalDeviceBufferAddressFeaturesEXT
calloc()
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated withmemCalloc
.static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
calloc(int capacity)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated withmemCalloc
.static VkPhysicalDeviceBufferAddressFeaturesEXT
callocStack()
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
callocStack(int capacity)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceBufferAddressFeaturesEXT
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceBufferAddressFeaturesEXT
create()
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated withBufferUtils
.static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
create(int capacity)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated withBufferUtils
.static VkPhysicalDeviceBufferAddressFeaturesEXT
create(long address)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance for the specified memory address.static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
create(long address, int capacity)
Create aVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance at the specified memory.static VkPhysicalDeviceBufferAddressFeaturesEXT
createSafe(long address)
static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
createSafe(long address, int capacity)
static VkPhysicalDeviceBufferAddressFeaturesEXT
malloc()
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated withmemAlloc
.static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
malloc(int capacity)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated withmemAlloc
.static VkPhysicalDeviceBufferAddressFeaturesEXT
mallocStack()
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
mallocStack(int capacity)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
.static VkPhysicalDeviceBufferAddressFeaturesEXT
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated on the specifiedMemoryStack
.VkPhysicalDeviceBufferAddressFeaturesEXT
pNext(long value)
Sets the specified value to thepNext
field.VkPhysicalDeviceBufferAddressFeaturesEXT
set(int sType, long pNext, boolean bufferDeviceAddress, boolean bufferDeviceAddressCaptureReplay, boolean bufferDeviceAddressMultiDevice)
Initializes this struct with the specified values.VkPhysicalDeviceBufferAddressFeaturesEXT
set(VkPhysicalDeviceBufferAddressFeaturesEXT src)
Copies the specified struct data to this struct.VkPhysicalDeviceBufferAddressFeaturesEXT
sType(int value)
Sets the specified 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
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceBufferAddressFeaturesEXT
public VkPhysicalDeviceBufferAddressFeaturesEXT(java.nio.ByteBuffer container)
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 Detail
-
sType
public VkPhysicalDeviceBufferAddressFeaturesEXT sType(int value)
Sets the specified value to thesType
field.- Overrides:
sType
in classVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
pNext
public VkPhysicalDeviceBufferAddressFeaturesEXT pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
bufferDeviceAddress
public VkPhysicalDeviceBufferAddressFeaturesEXT bufferDeviceAddress(boolean value)
Sets the specified value to thebufferDeviceAddress
field.- Overrides:
bufferDeviceAddress
in classVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
bufferDeviceAddressCaptureReplay
public VkPhysicalDeviceBufferAddressFeaturesEXT bufferDeviceAddressCaptureReplay(boolean value)
Sets the specified value to thebufferDeviceAddressCaptureReplay
field.- Overrides:
bufferDeviceAddressCaptureReplay
in classVkPhysicalDeviceBufferDeviceAddressFeaturesEXT
-
bufferDeviceAddressMultiDevice
public VkPhysicalDeviceBufferAddressFeaturesEXT bufferDeviceAddressMultiDevice(boolean value)
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
public VkPhysicalDeviceBufferAddressFeaturesEXT set(VkPhysicalDeviceBufferAddressFeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceBufferAddressFeaturesEXT malloc()
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceBufferAddressFeaturesEXT calloc()
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceBufferAddressFeaturesEXT create()
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated withBufferUtils
.
-
create
public static VkPhysicalDeviceBufferAddressFeaturesEXT create(long address)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceBufferAddressFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceBufferAddressFeaturesEXT mallocStack()
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkPhysicalDeviceBufferAddressFeaturesEXT callocStack()
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceBufferAddressFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceBufferAddressFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceBufferAddressFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBufferAddressFeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-