The AABB data in memory is six 32-bit floats consisting of the minimum x, y, and z values followed by the maximum x, y, and z values.
offset must be less than the size of aabbDataoffset must be a multiple of 8stride must be a multiple of 8sType must be STRUCTURE_TYPE_GEOMETRY_AABB_NVpNext must be NULLaabbData is not NULL_HANDLE, aabbData must be a valid VkBuffer handle
struct VkGeometryAABBNV {
VkStructureType sType;
void const * pNext;
VkBuffer aabbData;
uint32_t numAABBs;
uint32_t stride;
VkDeviceSize offset;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkGeometryAABBNV.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | AABBDATA
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | NUMAABBS
The struct member offsets. |
| public static final int | OFFSET
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STRIDE
The struct member offsets. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkGeometryAABBNV(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public VkGeometryAABBNV | |
| public static VkGeometryAABBNV | |
| public static VkGeometryAABBNV. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkGeometryAABBNV | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkGeometryAABBNV. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkGeometryAABBNV | |
| public static VkGeometryAABBNV | |
| public static VkGeometryAABBNV. | |
| public static VkGeometryAABBNV. | |
| protected VkGeometryAABBNV | 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 VkGeometryAABBNV | |
| public static VkGeometryAABBNV | |
| public static VkGeometryAABBNV. | create(int
the buffer capacity capacity)Returns a new |
| public static VkGeometryAABBNV. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkGeometryAABBNV | |
| public static VkGeometryAABBNV. | |
| public static VkGeometryAABBNV | |
| public static VkGeometryAABBNV. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkGeometryAABBNV | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkGeometryAABBNV. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkGeometryAABBNV | |
| public static VkGeometryAABBNV | |
| public static VkGeometryAABBNV. | |
| public static VkGeometryAABBNV. | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public int | |
| public VkGeometryAABBNV | |
| public long | |
| public VkGeometryAABBNV | |
| public long | |
| public VkGeometryAABBNV | |
| public VkGeometryAABBNV | set(int sType, long pNext, long aabbData, int numAABBs, int stride, long offset)
Initializes this struct with the specified values. |
| public VkGeometryAABBNV | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkGeometryAABBNV | |
| public int | |
| public VkGeometryAABBNV | |
| public VkGeometryAABBNV |
| AABBDATA | back to summary |
|---|---|
| public static final int AABBDATA The struct member offsets. | |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| NUMAABBS | back to summary |
|---|---|
| public static final int NUMAABBS The struct member offsets. | |
| OFFSET | back to summary |
|---|---|
| public static final int OFFSET The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT 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. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkGeometryAABBNV | back to summary |
|---|---|
| protected VkGeometryAABBNV(long address, ByteBuffer container) | |
| VkGeometryAABBNV | back to summary |
|---|---|
| public VkGeometryAABBNV(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| aabbData | back to summary |
|---|---|
| public long aabbData() the buffer containing axis-aligned bounding box data.
| |
| aabbData | back to summary |
|---|---|
| public VkGeometryAABBNV aabbData(long value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkGeometryAABBNV calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkGeometryAABBNV. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkGeometryAABBNV calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkGeometryAABBNV. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkGeometryAABBNV callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkGeometryAABBNV callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkGeometryAABBNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkGeometryAABBNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkGeometryAABBNV create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkGeometryAABBNV create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkGeometryAABBNV create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkGeometryAABBNV. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkGeometryAABBNV. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkGeometryAABBNV createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkGeometryAABBNV. Like
| |
| malloc | back to summary |
|---|---|
| public static VkGeometryAABBNV malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkGeometryAABBNV. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkGeometryAABBNV malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkGeometryAABBNV. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkGeometryAABBNV mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkGeometryAABBNV mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkGeometryAABBNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkGeometryAABBNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| naabbData | back to summary |
|---|---|
| public static long naabbData(long struct) Unsafe version of | |
| naabbData | back to summary |
|---|---|
| public static void naabbData(long struct, long value) Unsafe version of | |
| nnumAABBs | back to summary |
|---|---|
| public static int nnumAABBs(long struct) Unsafe version of | |
| nnumAABBs | back to summary |
|---|---|
| public static void nnumAABBs(long struct, int value) Unsafe version of | |
| noffset | back to summary |
|---|---|
| public static long noffset(long struct) Unsafe version of | |
| noffset | back to summary |
|---|---|
| public static void noffset(long struct, long value) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nstride | back to summary |
|---|---|
| public static int nstride(long struct) Unsafe version of | |
| nstride | back to summary |
|---|---|
| public static void nstride(long struct, int value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| numAABBs | back to summary |
|---|---|
| public int numAABBs() the number of AABBs in this geometry.
| |
| numAABBs | back to summary |
|---|---|
| public VkGeometryAABBNV numAABBs(int value) Sets the specified value to the | |
| offset | back to summary |
|---|---|
| public long offset() the offset in bytes of the first AABB in
| |
| offset | back to summary |
|---|---|
| public VkGeometryAABBNV offset(long value) Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkGeometryAABBNV pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkGeometryAABBNV set(int sType, long pNext, long aabbData, int numAABBs, int stride, long offset) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkGeometryAABBNV set(VkGeometryAABBNV src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| stride | back to summary |
|---|---|
| public int stride() the stride in bytes between AABBs in
| |
| stride | back to summary |
|---|---|
| public VkGeometryAABBNV stride(int value) Sets the specified value to the | |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkGeometryAABBNV sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkGeometryAABBNV sType$Default() Sets the | |
VkGeometryAABBNV structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkGeometryAABBNV |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public VkGeometryAABBNV. | |
| protected VkGeometryAABBNV | |
| public int | |
| public VkGeometryAABBNV. | |
| public long | |
| public VkGeometryAABBNV. | |
| public long | |
| public VkGeometryAABBNV. | |
| protected VkGeometryAABBNV. | |
| public int | |
| public VkGeometryAABBNV. | |
| public int | |
| public VkGeometryAABBNV. | |
| public VkGeometryAABBNV. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkGeometryAABBNV 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) | |
| aabbData | back to summary |
|---|---|
public long aabbData()
| |
| aabbData | back to summary |
|---|---|
| public VkGeometryAABBNV. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkGeometryAABBNV getElementFactory() Implements abstract org.
| |
| numAABBs | back to summary |
|---|---|
public int numAABBs()
| |
| numAABBs | back to summary |
|---|---|
| public VkGeometryAABBNV. Sets the specified value to the | |
| offset | back to summary |
|---|---|
public long offset()
| |
| offset | back to summary |
|---|---|
| public VkGeometryAABBNV. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkGeometryAABBNV. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkGeometryAABBNV. Implements abstract org.
| |
| stride | back to summary |
|---|---|
public int stride()
| |
| stride | back to summary |
|---|---|
| public VkGeometryAABBNV. Sets the specified value to the | |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkGeometryAABBNV. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkGeometryAABBNV. Sets the | |