sType must be STRUCTURE_TYPE_MICROMAP_BUILD_SIZES_INFO_EXTpNext must be NULL
struct VkMicromapBuildSizesInfoEXT {
VkStructureType sType;
void const * pNext;
VkDeviceSize micromapSize;
VkDeviceSize buildScratchSize;
VkBool32 discardable;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkMicromapBuildSizesInfoEXT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BUILDSCRATCHSIZE
The struct member offsets. |
| public static final int | DISCARDABLE
The struct member offsets. |
| public static final int | MICROMAPSIZE
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 | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkMicromapBuildSizesInfoEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public VkMicromapBuildSizesInfoEXT | |
| public static VkMicromapBuildSizesInfoEXT | |
| public static VkMicromapBuildSizesInfoEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkMicromapBuildSizesInfoEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkMicromapBuildSizesInfoEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkMicromapBuildSizesInfoEXT | 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 VkMicromapBuildSizesInfoEXT | |
| public static VkMicromapBuildSizesInfoEXT | create(long address)
Returns a new |
| public static VkMicromapBuildSizesInfoEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkMicromapBuildSizesInfoEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkMicromapBuildSizesInfoEXT | |
| public static VkMicromapBuildSizesInfoEXT. | |
| public boolean | discardable()
indicates whether or not the micromap object may be destroyed after an acceleration structure build or update. |
| public VkMicromapBuildSizesInfoEXT | |
| public static VkMicromapBuildSizesInfoEXT | |
| public static VkMicromapBuildSizesInfoEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkMicromapBuildSizesInfoEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkMicromapBuildSizesInfoEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public long | |
| public VkMicromapBuildSizesInfoEXT | |
| 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 long | |
| public VkMicromapBuildSizesInfoEXT | |
| public VkMicromapBuildSizesInfoEXT | set(int sType, long pNext, long micromapSize, long buildScratchSize, boolean discardable)
Initializes this struct with the specified values. |
| public VkMicromapBuildSizesInfoEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkMicromapBuildSizesInfoEXT | |
| public VkMicromapBuildSizesInfoEXT |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BUILDSCRATCHSIZE | back to summary |
|---|---|
| public static final int BUILDSCRATCHSIZE The struct member offsets. | |
| DISCARDABLE | back to summary |
|---|---|
| public static final int DISCARDABLE The struct member offsets. | |
| MICROMAPSIZE | back to summary |
|---|---|
| public static final int MICROMAPSIZE 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. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkMicromapBuildSizesInfoEXT | back to summary |
|---|---|
| protected VkMicromapBuildSizesInfoEXT(long address, ByteBuffer container) | |
| VkMicromapBuildSizesInfoEXT | back to summary |
|---|---|
| public VkMicromapBuildSizesInfoEXT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| buildScratchSize | back to summary |
|---|---|
| public long buildScratchSize() the size in bytes required in a scratch buffer for a build operation.
| |
| buildScratchSize | back to summary |
|---|---|
| public VkMicromapBuildSizesInfoEXT buildScratchSize(long value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkMicromapBuildSizesInfoEXT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkMicromapBuildSizesInfoEXT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkMicromapBuildSizesInfoEXT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkMicromapBuildSizesInfoEXT. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkMicromapBuildSizesInfoEXT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkMicromapBuildSizesInfoEXT create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkMicromapBuildSizesInfoEXT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkMicromapBuildSizesInfoEXT. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkMicromapBuildSizesInfoEXT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkMicromapBuildSizesInfoEXT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkMicromapBuildSizesInfoEXT. Like
| |
| discardable | back to summary |
|---|---|
| public boolean discardable() indicates whether or not the micromap object may be destroyed after an acceleration structure build or update. A false value means that acceleration structures built with this micromap may contain references to the data contained therein, and the application must not destroy the micromap until ray traversal has concluded. A true value means that the information in the micromap will be copied by value into the acceleration structure, and the micromap may be destroyed after the acceleration structure build concludes.
| |
| discardable | back to summary |
|---|---|
| public VkMicromapBuildSizesInfoEXT discardable(boolean value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkMicromapBuildSizesInfoEXT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkMicromapBuildSizesInfoEXT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkMicromapBuildSizesInfoEXT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkMicromapBuildSizesInfoEXT. Returns a new
| |
| micromapSize | back to summary |
|---|---|
| public long micromapSize() the size in bytes required in a
| |
| micromapSize | back to summary |
|---|---|
| public VkMicromapBuildSizesInfoEXT micromapSize(long value) Sets the specified value to the | |
| nbuildScratchSize | back to summary |
|---|---|
| public static long nbuildScratchSize(long struct) Unsafe version of | |
| nbuildScratchSize | back to summary |
|---|---|
| public static void nbuildScratchSize(long struct, long value) Unsafe version of | |
| ndiscardable | back to summary |
|---|---|
| public static int ndiscardable(long struct) Unsafe version of | |
| ndiscardable | back to summary |
|---|---|
| public static void ndiscardable(long struct, int value) Unsafe version of | |
| nmicromapSize | back to summary |
|---|---|
| public static long nmicromapSize(long struct) Unsafe version of | |
| nmicromapSize | back to summary |
|---|---|
| public static void nmicromapSize(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 | |
| 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 | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkMicromapBuildSizesInfoEXT pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkMicromapBuildSizesInfoEXT set(int sType, long pNext, long micromapSize, long buildScratchSize, boolean discardable) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkMicromapBuildSizesInfoEXT set(VkMicromapBuildSizesInfoEXT src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkMicromapBuildSizesInfoEXT sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkMicromapBuildSizesInfoEXT sType$Default() Sets the | |
VkMicromapBuildSizesInfoEXT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkMicromapBuildSizesInfoEXT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public VkMicromapBuildSizesInfoEXT. | buildScratchSize(long value)
Sets the specified value to the |
| public boolean | |
| public VkMicromapBuildSizesInfoEXT. | discardable(boolean value)
Sets the specified value to the |
| protected VkMicromapBuildSizesInfoEXT | |
| public long | |
| public VkMicromapBuildSizesInfoEXT. | micromapSize(long value)
Sets the specified value to the |
| public long | |
| public VkMicromapBuildSizesInfoEXT. | |
| protected VkMicromapBuildSizesInfoEXT. | |
| public int | |
| public VkMicromapBuildSizesInfoEXT. | |
| public VkMicromapBuildSizesInfoEXT. | sType$Default()
Sets the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkMicromapBuildSizesInfoEXT 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) | |
| buildScratchSize | back to summary |
|---|---|
public long buildScratchSize()
| |
| buildScratchSize | back to summary |
|---|---|
| public VkMicromapBuildSizesInfoEXT. Sets the specified value to the | |
| discardable | back to summary |
|---|---|
public boolean discardable()
| |
| discardable | back to summary |
|---|---|
| public VkMicromapBuildSizesInfoEXT. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkMicromapBuildSizesInfoEXT getElementFactory() Implements abstract org.
| |
| micromapSize | back to summary |
|---|---|
public long micromapSize()
| |
| micromapSize | back to summary |
|---|---|
| public VkMicromapBuildSizesInfoEXT. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkMicromapBuildSizesInfoEXT. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkMicromapBuildSizesInfoEXT. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkMicromapBuildSizesInfoEXT. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkMicromapBuildSizesInfoEXT. Sets the | |