Package org.lwjgl.vulkan
Class VkBufferOpaqueCaptureAddressCreateInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkBufferOpaqueCaptureAddressCreateInfo
-
- org.lwjgl.vulkan.VkBufferOpaqueCaptureAddressCreateInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkBufferOpaqueCaptureAddressCreateInfoKHR extends VkBufferOpaqueCaptureAddressCreateInfo
SeeVkBufferOpaqueCaptureAddressCreateInfo.Layout
struct VkBufferOpaqueCaptureAddressCreateInfoKHR { VkStructureType sType; void const * pNext; uint64_t opaqueCaptureAddress; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkBufferOpaqueCaptureAddressCreateInfoKHR.BufferAn array ofVkBufferOpaqueCaptureAddressCreateInfoKHRstructs.
-
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.VkBufferOpaqueCaptureAddressCreateInfo
ALIGNOF, OPAQUECAPTUREADDRESS, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkBufferOpaqueCaptureAddressCreateInfoKHR(java.nio.ByteBuffer container)Creates aVkBufferOpaqueCaptureAddressCreateInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkBufferOpaqueCaptureAddressCreateInfoKHRcalloc()Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHRinstance allocated withmemCalloc.static VkBufferOpaqueCaptureAddressCreateInfoKHR.Buffercalloc(int capacity)Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHR.Bufferinstance allocated withmemCalloc.static VkBufferOpaqueCaptureAddressCreateInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkBufferOpaqueCaptureAddressCreateInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkBufferOpaqueCaptureAddressCreateInfoKHRcreate()Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHRinstance allocated withBufferUtils.static VkBufferOpaqueCaptureAddressCreateInfoKHR.Buffercreate(int capacity)Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHR.Bufferinstance allocated withBufferUtils.static VkBufferOpaqueCaptureAddressCreateInfoKHRcreate(long address)Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHRinstance for the specified memory address.static VkBufferOpaqueCaptureAddressCreateInfoKHR.Buffercreate(long address, int capacity)Create aVkBufferOpaqueCaptureAddressCreateInfoKHR.Bufferinstance at the specified memory.static VkBufferOpaqueCaptureAddressCreateInfoKHRcreateSafe(long address)static VkBufferOpaqueCaptureAddressCreateInfoKHR.BuffercreateSafe(long address, int capacity)static VkBufferOpaqueCaptureAddressCreateInfoKHRmalloc()Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHRinstance allocated withmemAlloc.static VkBufferOpaqueCaptureAddressCreateInfoKHR.Buffermalloc(int capacity)Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHR.Bufferinstance allocated withmemAlloc.static VkBufferOpaqueCaptureAddressCreateInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkBufferOpaqueCaptureAddressCreateInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHRinstance allocated on the specifiedMemoryStack.VkBufferOpaqueCaptureAddressCreateInfoKHRopaqueCaptureAddress(long value)Sets the specified value to theopaqueCaptureAddressfield.VkBufferOpaqueCaptureAddressCreateInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkBufferOpaqueCaptureAddressCreateInfoKHRset(int sType, long pNext, long opaqueCaptureAddress)Initializes this struct with the specified values.VkBufferOpaqueCaptureAddressCreateInfoKHRset(VkBufferOpaqueCaptureAddressCreateInfoKHR src)Copies the specified struct data to this struct.VkBufferOpaqueCaptureAddressCreateInfoKHRsType(int value)Sets the specified value to thesTypefield.VkBufferOpaqueCaptureAddressCreateInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFOvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkBufferOpaqueCaptureAddressCreateInfo
nopaqueCaptureAddress, nopaqueCaptureAddress, npNext, npNext, nsType, nsType, opaqueCaptureAddress, pNext, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkBufferOpaqueCaptureAddressCreateInfoKHR
public VkBufferOpaqueCaptureAddressCreateInfoKHR(java.nio.ByteBuffer container)
Creates aVkBufferOpaqueCaptureAddressCreateInfoKHRinstance 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 VkBufferOpaqueCaptureAddressCreateInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkBufferOpaqueCaptureAddressCreateInfo
-
sType$Default
public VkBufferOpaqueCaptureAddressCreateInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkBufferOpaqueCaptureAddressCreateInfo
-
pNext
public VkBufferOpaqueCaptureAddressCreateInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkBufferOpaqueCaptureAddressCreateInfo
-
opaqueCaptureAddress
public VkBufferOpaqueCaptureAddressCreateInfoKHR opaqueCaptureAddress(long value)
Sets the specified value to theopaqueCaptureAddressfield.- Overrides:
opaqueCaptureAddressin classVkBufferOpaqueCaptureAddressCreateInfo
-
set
public VkBufferOpaqueCaptureAddressCreateInfoKHR set(int sType, long pNext, long opaqueCaptureAddress)
Initializes this struct with the specified values.- Overrides:
setin classVkBufferOpaqueCaptureAddressCreateInfo
-
set
public VkBufferOpaqueCaptureAddressCreateInfoKHR set(VkBufferOpaqueCaptureAddressCreateInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkBufferOpaqueCaptureAddressCreateInfoKHR malloc()
Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkBufferOpaqueCaptureAddressCreateInfoKHR calloc()
Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkBufferOpaqueCaptureAddressCreateInfoKHR create()
Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHRinstance allocated withBufferUtils.
-
create
public static VkBufferOpaqueCaptureAddressCreateInfoKHR create(long address)
Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkBufferOpaqueCaptureAddressCreateInfoKHR createSafe(long address)
-
malloc
public static VkBufferOpaqueCaptureAddressCreateInfoKHR.Buffer malloc(int capacity)
Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkBufferOpaqueCaptureAddressCreateInfoKHR.Buffer calloc(int capacity)
Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkBufferOpaqueCaptureAddressCreateInfoKHR.Buffer create(int capacity)
Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkBufferOpaqueCaptureAddressCreateInfoKHR.Buffer create(long address, int capacity)
Create aVkBufferOpaqueCaptureAddressCreateInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkBufferOpaqueCaptureAddressCreateInfoKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkBufferOpaqueCaptureAddressCreateInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkBufferOpaqueCaptureAddressCreateInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkBufferOpaqueCaptureAddressCreateInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkBufferOpaqueCaptureAddressCreateInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkBufferOpaqueCaptureAddressCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-