size is not zero, all addresses between deviceAddress and deviceAddress + size - 1 must be in the buffer device address range of the same buffersize is not zero, stride must be less than or equal to the size of the buffer from which deviceAddress was queriedCmdTraceRaysIndirectKHR, CmdTraceRaysKHR
struct VkStridedDeviceAddressRegionKHR {
VkDeviceAddress deviceAddress;
VkDeviceSize stride;
VkDeviceSize size;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkStridedDeviceAddressRegionKHR.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DEVICEADDRESS
The struct member offsets. |
| public static final int | SIZE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STRIDE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkStridedDeviceAddressRegionKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkStridedDeviceAddressRegionKHR | |
| public static VkStridedDeviceAddressRegionKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkStridedDeviceAddressRegionKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkStridedDeviceAddressRegionKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkStridedDeviceAddressRegionKHR | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkStridedDeviceAddressRegionKHR | |
| public static VkStridedDeviceAddressRegionKHR | create(long address)
Returns a new |
| public static VkStridedDeviceAddressRegionKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkStridedDeviceAddressRegionKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkStridedDeviceAddressRegionKHR | |
| public static VkStridedDeviceAddressRegionKHR. | |
| public long | deviceAddress()
the device address (as returned by the |
| public VkStridedDeviceAddressRegionKHR | |
| public static VkStridedDeviceAddressRegionKHR | |
| public static VkStridedDeviceAddressRegionKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkStridedDeviceAddressRegionKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkStridedDeviceAddressRegionKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public VkStridedDeviceAddressRegionKHR | |
| public VkStridedDeviceAddressRegionKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public long | |
| public VkStridedDeviceAddressRegionKHR | |
| public int | |
| public long | |
| public VkStridedDeviceAddressRegionKHR |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DEVICEADDRESS | back to summary |
|---|---|
| public static final int DEVICEADDRESS The struct member offsets. | |
| SIZE | back to summary |
|---|---|
| public static final int SIZE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STRIDE | back to summary |
|---|---|
| public static final int STRIDE The struct member offsets. | |
| VkStridedDeviceAddressRegionKHR | back to summary |
|---|---|
| protected VkStridedDeviceAddressRegionKHR(long address, ByteBuffer container) | |
| VkStridedDeviceAddressRegionKHR | back to summary |
|---|---|
| public VkStridedDeviceAddressRegionKHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkStridedDeviceAddressRegionKHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkStridedDeviceAddressRegionKHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkStridedDeviceAddressRegionKHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkStridedDeviceAddressRegionKHR. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkStridedDeviceAddressRegionKHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkStridedDeviceAddressRegionKHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkStridedDeviceAddressRegionKHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkStridedDeviceAddressRegionKHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkStridedDeviceAddressRegionKHR. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkStridedDeviceAddressRegionKHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkStridedDeviceAddressRegionKHR. Like
| |
| deviceAddress | back to summary |
|---|---|
| public long deviceAddress() the device address (as returned by the
| |
| deviceAddress | back to summary |
|---|---|
| public VkStridedDeviceAddressRegionKHR deviceAddress(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkStridedDeviceAddressRegionKHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkStridedDeviceAddressRegionKHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkStridedDeviceAddressRegionKHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkStridedDeviceAddressRegionKHR. Returns a new
| |
| ndeviceAddress | back to summary |
|---|---|
| public static long ndeviceAddress(long struct) Unsafe version of | |
| ndeviceAddress | back to summary |
|---|---|
| public static void ndeviceAddress(long struct, long value) Unsafe version of | |
| nsize | back to summary |
|---|---|
| public static long nsize(long struct) Unsafe version of | |
| nsize | back to summary |
|---|---|
| public static void nsize(long struct, long value) Unsafe version of | |
| nstride | back to summary |
|---|---|
| public static long nstride(long struct) Unsafe version of | |
| nstride | back to summary |
|---|---|
| public static void nstride(long struct, long value) Unsafe version of | |
| set | back to summary |
|---|---|
| public VkStridedDeviceAddressRegionKHR set(long deviceAddress, long stride, long size) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkStridedDeviceAddressRegionKHR set(VkStridedDeviceAddressRegionKHR src) Copies the specified struct data to this struct.
| |
| size | back to summary |
|---|---|
| public long size() the size in bytes of the region starting at
| |
| size | back to summary |
|---|---|
| public VkStridedDeviceAddressRegionKHR size(long value) Sets the specified value to the | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| stride | back to summary |
|---|---|
| public long stride() the byte stride between consecutive elements.
| |
| stride | back to summary |
|---|---|
| public VkStridedDeviceAddressRegionKHR stride(long value) Sets the specified value to the | |
VkStridedDeviceAddressRegionKHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkStridedDeviceAddressRegionKHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public VkStridedDeviceAddressRegionKHR. | deviceAddress(long value)
Sets the specified value to the |
| protected VkStridedDeviceAddressRegionKHR | |
| protected VkStridedDeviceAddressRegionKHR. | |
| public long | |
| public VkStridedDeviceAddressRegionKHR. | |
| public long | |
| public VkStridedDeviceAddressRegionKHR. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkStridedDeviceAddressRegionKHR ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| deviceAddress | back to summary |
|---|---|
public long deviceAddress()
| |
| deviceAddress | back to summary |
|---|---|
| public VkStridedDeviceAddressRegionKHR. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkStridedDeviceAddressRegionKHR getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected VkStridedDeviceAddressRegionKHR. Implements abstract org.
| |
| size | back to summary |
|---|---|
public long size()
| |
| size | back to summary |
|---|---|
| public VkStridedDeviceAddressRegionKHR. Sets the specified value to the | |
| stride | back to summary |
|---|---|
public long stride()
| |
| stride | back to summary |
|---|---|
| public VkStridedDeviceAddressRegionKHR. Sets the specified value to the | |