Package org.lwjgl.vulkan
Class VkImageViewAddressPropertiesNVX
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkImageViewAddressPropertiesNVX
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkImageViewAddressPropertiesNVX extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying the image view for handle queries.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_IMAGE_VIEW_ADDRESS_PROPERTIES_NVXpNextmust beNULL
See Also
Layout
struct VkImageViewAddressPropertiesNVX { VkStructureTypesType(); void *pNext(); VkDeviceAddressdeviceAddress(); VkDeviceSizesize(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkImageViewAddressPropertiesNVX.BufferAn array ofVkImageViewAddressPropertiesNVXstructs.
-
Constructor Summary
Constructors Constructor Description VkImageViewAddressPropertiesNVX(java.nio.ByteBuffer container)Creates aVkImageViewAddressPropertiesNVXinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkImageViewAddressPropertiesNVXcalloc()Returns a newVkImageViewAddressPropertiesNVXinstance allocated withmemCalloc.static VkImageViewAddressPropertiesNVX.Buffercalloc(int capacity)Returns a newVkImageViewAddressPropertiesNVX.Bufferinstance allocated withmemCalloc.static VkImageViewAddressPropertiesNVX.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkImageViewAddressPropertiesNVX.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkImageViewAddressPropertiesNVXcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkImageViewAddressPropertiesNVXinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkImageViewAddressPropertiesNVXcreate()Returns a newVkImageViewAddressPropertiesNVXinstance allocated withBufferUtils.static VkImageViewAddressPropertiesNVX.Buffercreate(int capacity)Returns a newVkImageViewAddressPropertiesNVX.Bufferinstance allocated withBufferUtils.static VkImageViewAddressPropertiesNVXcreate(long address)Returns a newVkImageViewAddressPropertiesNVXinstance for the specified memory address.static VkImageViewAddressPropertiesNVX.Buffercreate(long address, int capacity)Create aVkImageViewAddressPropertiesNVX.Bufferinstance at the specified memory.static VkImageViewAddressPropertiesNVXcreateSafe(long address)static VkImageViewAddressPropertiesNVX.BuffercreateSafe(long address, int capacity)longdeviceAddress()the device address of the image view.static VkImageViewAddressPropertiesNVXmalloc()Returns a newVkImageViewAddressPropertiesNVXinstance allocated withmemAlloc.static VkImageViewAddressPropertiesNVX.Buffermalloc(int capacity)Returns a newVkImageViewAddressPropertiesNVX.Bufferinstance allocated withmemAlloc.static VkImageViewAddressPropertiesNVX.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkImageViewAddressPropertiesNVX.Bufferinstance allocated on the specifiedMemoryStack.static VkImageViewAddressPropertiesNVXmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkImageViewAddressPropertiesNVXinstance allocated on the specifiedMemoryStack.static longndeviceAddress(long struct)Unsafe version ofdeviceAddress().static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static longnsize(long struct)Unsafe version ofsize().static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkImageViewAddressPropertiesNVXpNext(long value)Sets the specified value to thepNext()field.VkImageViewAddressPropertiesNVXset(int sType, long pNext)Initializes this struct with the specified values.VkImageViewAddressPropertiesNVXset(VkImageViewAddressPropertiesNVX src)Copies the specified struct data to this struct.longsize()the size in bytes of the image view device memory.intsizeof()intsType()the type of this structure.VkImageViewAddressPropertiesNVXsType(int value)Sets the specified value to thesType()field.VkImageViewAddressPropertiesNVXsType$Default()Sets theSTRUCTURE_TYPE_IMAGE_VIEW_ADDRESS_PROPERTIES_NVXvalue to thesType()field.
-
-
-
Constructor Detail
-
VkImageViewAddressPropertiesNVX
public VkImageViewAddressPropertiesNVX(java.nio.ByteBuffer container)
Creates aVkImageViewAddressPropertiesNVXinstance 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
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
deviceAddress
public long deviceAddress()
the device address of the image view.
-
size
public long size()
the size in bytes of the image view device memory.
-
sType
public VkImageViewAddressPropertiesNVX sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkImageViewAddressPropertiesNVX sType$Default()
Sets theSTRUCTURE_TYPE_IMAGE_VIEW_ADDRESS_PROPERTIES_NVXvalue to thesType()field.
-
pNext
public VkImageViewAddressPropertiesNVX pNext(long value)
Sets the specified value to thepNext()field.
-
set
public VkImageViewAddressPropertiesNVX set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkImageViewAddressPropertiesNVX set(VkImageViewAddressPropertiesNVX src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkImageViewAddressPropertiesNVX malloc()
Returns a newVkImageViewAddressPropertiesNVXinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkImageViewAddressPropertiesNVX calloc()
Returns a newVkImageViewAddressPropertiesNVXinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkImageViewAddressPropertiesNVX create()
Returns a newVkImageViewAddressPropertiesNVXinstance allocated withBufferUtils.
-
create
public static VkImageViewAddressPropertiesNVX create(long address)
Returns a newVkImageViewAddressPropertiesNVXinstance for the specified memory address.
-
createSafe
@Nullable public static VkImageViewAddressPropertiesNVX createSafe(long address)
-
malloc
public static VkImageViewAddressPropertiesNVX.Buffer malloc(int capacity)
Returns a newVkImageViewAddressPropertiesNVX.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkImageViewAddressPropertiesNVX.Buffer calloc(int capacity)
Returns a newVkImageViewAddressPropertiesNVX.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkImageViewAddressPropertiesNVX.Buffer create(int capacity)
Returns a newVkImageViewAddressPropertiesNVX.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkImageViewAddressPropertiesNVX.Buffer create(long address, int capacity)
Create aVkImageViewAddressPropertiesNVX.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkImageViewAddressPropertiesNVX.Buffer createSafe(long address, int capacity)
-
malloc
public static VkImageViewAddressPropertiesNVX malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkImageViewAddressPropertiesNVXinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkImageViewAddressPropertiesNVX calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkImageViewAddressPropertiesNVXinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkImageViewAddressPropertiesNVX.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkImageViewAddressPropertiesNVX.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkImageViewAddressPropertiesNVX.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkImageViewAddressPropertiesNVX.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
ndeviceAddress
public static long ndeviceAddress(long struct)
Unsafe version ofdeviceAddress().
-
nsize
public static long nsize(long struct)
Unsafe version ofsize().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-