Class VkDeviceAddressRangeEXT
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkDeviceAddressRangeKHR>
org.lwjgl.vulkan.VkDeviceAddressRangeKHR
org.lwjgl.vulkan.VkDeviceAddressRangeEXT
- All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer
struct VkDeviceAddressRangeEXT {
VkDeviceAddress address;
VkDeviceSize size;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Struct
Struct.StructValidationNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from class VkDeviceAddressRangeKHR
ADDRESS, ALIGNOF, SIZE, SIZEOFFields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkDeviceAddressRangeEXT(ByteBuffer container) Creates aVkDeviceAddressRangeEXTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionaddress$(long value) Sets the specified value to theaddressfield.static VkDeviceAddressRangeEXTcalloc()Returns a newVkDeviceAddressRangeEXTinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkDeviceAddressRangeEXT.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkDeviceAddressRangeEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceAddressRangeEXTcalloc(MemoryStack stack) Returns a newVkDeviceAddressRangeEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceAddressRangeEXTcreate()Returns a newVkDeviceAddressRangeEXTinstance allocated withBufferUtils.create(int capacity) Returns a newVkDeviceAddressRangeEXT.Bufferinstance allocated withBufferUtils.static VkDeviceAddressRangeEXTcreate(long address) Returns a newVkDeviceAddressRangeEXTinstance for the specified memory address.create(long address, int capacity) Create aVkDeviceAddressRangeEXT.Bufferinstance at the specified memory.static @Nullable VkDeviceAddressRangeEXTcreateSafe(long address) static @Nullable VkDeviceAddressRangeEXT.BuffercreateSafe(long address, int capacity) static VkDeviceAddressRangeEXTmalloc()Returns a newVkDeviceAddressRangeEXTinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkDeviceAddressRangeEXT.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkDeviceAddressRangeEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkDeviceAddressRangeEXTmalloc(MemoryStack stack) Returns a newVkDeviceAddressRangeEXTinstance allocated on the specifiedMemoryStack.set(long address$, long size) Initializes this struct with the specified values.Copies the specified struct data to this struct.size(long value) Sets the specified value to thesizefield.Methods inherited from class VkDeviceAddressRangeKHR
address$, naddress$, naddress$, nsize, nsize, set, size, sizeofMethods inherited from class Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface NativeResource
close, free
-
Constructor Details
-
VkDeviceAddressRangeEXT
Creates aVkDeviceAddressRangeEXTinstance 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
-
address$
Sets the specified value to theaddressfield.- Overrides:
address$in classVkDeviceAddressRangeKHR
-
size
Sets the specified value to thesizefield.- Overrides:
sizein classVkDeviceAddressRangeKHR
-
set
Initializes this struct with the specified values.- Overrides:
setin classVkDeviceAddressRangeKHR
-
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkDeviceAddressRangeEXTinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkDeviceAddressRangeEXTinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkDeviceAddressRangeEXTinstance allocated withBufferUtils. -
create
Returns a newVkDeviceAddressRangeEXTinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkDeviceAddressRangeEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkDeviceAddressRangeEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkDeviceAddressRangeEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkDeviceAddressRangeEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkDeviceAddressRangeEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkDeviceAddressRangeEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkDeviceAddressRangeEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkDeviceAddressRangeEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-