Package org.lwjgl.vulkan
Class VkDeviceMemoryOpaqueCaptureAddressInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDeviceMemoryOpaqueCaptureAddressInfo
-
- org.lwjgl.vulkan.VkDeviceMemoryOpaqueCaptureAddressInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkDeviceMemoryOpaqueCaptureAddressInfoKHR extends VkDeviceMemoryOpaqueCaptureAddressInfo
SeeVkDeviceMemoryOpaqueCaptureAddressInfo.Layout
struct VkDeviceMemoryOpaqueCaptureAddressInfoKHR { VkStructureType sType; void const * pNext; VkDeviceMemory memory; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkDeviceMemoryOpaqueCaptureAddressInfoKHR.BufferAn array ofVkDeviceMemoryOpaqueCaptureAddressInfoKHRstructs.
-
Constructor Summary
Constructors Constructor Description VkDeviceMemoryOpaqueCaptureAddressInfoKHR(java.nio.ByteBuffer container)Creates aVkDeviceMemoryOpaqueCaptureAddressInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDeviceMemoryOpaqueCaptureAddressInfoKHRcalloc()Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHRinstance allocated withmemCalloc.static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffercalloc(int capacity)Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHR.Bufferinstance allocated withmemCalloc.static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceMemoryOpaqueCaptureAddressInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceMemoryOpaqueCaptureAddressInfoKHRcreate()Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHRinstance allocated withBufferUtils.static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffercreate(int capacity)Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHR.Bufferinstance allocated withBufferUtils.static VkDeviceMemoryOpaqueCaptureAddressInfoKHRcreate(long address)Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHRinstance for the specified memory address.static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffercreate(long address, int capacity)Create aVkDeviceMemoryOpaqueCaptureAddressInfoKHR.Bufferinstance at the specified memory.static VkDeviceMemoryOpaqueCaptureAddressInfoKHRcreateSafe(long address)static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.BuffercreateSafe(long address, int capacity)static VkDeviceMemoryOpaqueCaptureAddressInfoKHRmalloc()Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHRinstance allocated withmemAlloc.static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffermalloc(int capacity)Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHR.Bufferinstance allocated withmemAlloc.static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkDeviceMemoryOpaqueCaptureAddressInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHRinstance allocated on the specifiedMemoryStack.VkDeviceMemoryOpaqueCaptureAddressInfoKHRmemory(long value)Sets the specified value to thememoryfield.VkDeviceMemoryOpaqueCaptureAddressInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkDeviceMemoryOpaqueCaptureAddressInfoKHRset(int sType, long pNext, long memory)Initializes this struct with the specified values.VkDeviceMemoryOpaqueCaptureAddressInfoKHRset(VkDeviceMemoryOpaqueCaptureAddressInfoKHR src)Copies the specified struct data to this struct.VkDeviceMemoryOpaqueCaptureAddressInfoKHRsType(int value)Sets the specified value to thesTypefield.VkDeviceMemoryOpaqueCaptureAddressInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFOvalue to thesTypefield.
-
-
-
Constructor Detail
-
VkDeviceMemoryOpaqueCaptureAddressInfoKHR
public VkDeviceMemoryOpaqueCaptureAddressInfoKHR(java.nio.ByteBuffer container)
Creates aVkDeviceMemoryOpaqueCaptureAddressInfoKHRinstance 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 VkDeviceMemoryOpaqueCaptureAddressInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkDeviceMemoryOpaqueCaptureAddressInfo
-
sType$Default
public VkDeviceMemoryOpaqueCaptureAddressInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkDeviceMemoryOpaqueCaptureAddressInfo
-
pNext
public VkDeviceMemoryOpaqueCaptureAddressInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkDeviceMemoryOpaqueCaptureAddressInfo
-
memory
public VkDeviceMemoryOpaqueCaptureAddressInfoKHR memory(long value)
Sets the specified value to thememoryfield.- Overrides:
memoryin classVkDeviceMemoryOpaqueCaptureAddressInfo
-
set
public VkDeviceMemoryOpaqueCaptureAddressInfoKHR set(int sType, long pNext, long memory)
Initializes this struct with the specified values.- Overrides:
setin classVkDeviceMemoryOpaqueCaptureAddressInfo
-
set
public VkDeviceMemoryOpaqueCaptureAddressInfoKHR set(VkDeviceMemoryOpaqueCaptureAddressInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR malloc()
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR calloc()
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR create()
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHRinstance allocated withBufferUtils.
-
create
public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR create(long address)
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR createSafe(long address)
-
malloc
public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer malloc(int capacity)
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer calloc(int capacity)
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer create(int capacity)
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer create(long address, int capacity)
Create aVkDeviceMemoryOpaqueCaptureAddressInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-