Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkBindAccelerationStructureMemoryInfoNV

extends Struct<VkBindAccelerationStructureMemoryInfoNV>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure specifying acceleration structure memory binding.
Valid Usage
Valid Usage (Implicit)
See Also

BindAccelerationStructureMemoryNV

Layout


struct VkBindAccelerationStructureMemoryInfoNV {
    VkStructureType sType;
    void const * pNext;
    VkAccelerationStructureNV accelerationStructure;
    VkDeviceMemory memory;
    VkDeviceSize memoryOffset;
    uint32_t deviceIndexCount;
    uint32_t const * pDeviceIndices;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ACCELERATIONSTRUCTURE

The struct member offsets.

public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
DEVICEINDEXCOUNT

The struct member offsets.

public static final int
MEMORY

The struct member offsets.

public static final int
MEMORYOFFSET

The struct member offsets.

public static final int
PDEVICEINDICES

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.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkBindAccelerationStructureMemoryInfoNV(ByteBuffer container)

Creates a VkBindAccelerationStructureMemoryInfoNV instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public long
accelerationStructure()

the acceleration structure to be attached to memory.

public VkBindAccelerationStructureMemoryInfoNV
accelerationStructure(long value)

Sets the specified value to the accelerationStructure field.

public static VkBindAccelerationStructureMemoryInfoNV
calloc()

Returns a new VkBindAccelerationStructureMemoryInfoNV instance allocated with memCalloc.

public static VkBindAccelerationStructureMemoryInfoNV.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkBindAccelerationStructureMemoryInfoNV.Buffer instance allocated with memCalloc.

public static VkBindAccelerationStructureMemoryInfoNV
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkBindAccelerationStructureMemoryInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkBindAccelerationStructureMemoryInfoNV.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkBindAccelerationStructureMemoryInfoNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkBindAccelerationStructureMemoryInfoNV
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkBindAccelerationStructureMemoryInfoNV
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkBindAccelerationStructureMemoryInfoNV.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkBindAccelerationStructureMemoryInfoNV.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected VkBindAccelerationStructureMemoryInfoNV
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkBindAccelerationStructureMemoryInfoNV
create()

Returns a new VkBindAccelerationStructureMemoryInfoNV instance allocated with BufferUtils.

public static VkBindAccelerationStructureMemoryInfoNV
create(long address)

Returns a new VkBindAccelerationStructureMemoryInfoNV instance for the specified memory address.

public static VkBindAccelerationStructureMemoryInfoNV.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkBindAccelerationStructureMemoryInfoNV.Buffer instance allocated with BufferUtils.

public static VkBindAccelerationStructureMemoryInfoNV.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkBindAccelerationStructureMemoryInfoNV.Buffer instance at the specified memory.

public static VkBindAccelerationStructureMemoryInfoNV
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkBindAccelerationStructureMemoryInfoNV.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public int
deviceIndexCount()

the number of elements in pDeviceIndices.

public static VkBindAccelerationStructureMemoryInfoNV
malloc()

Returns a new VkBindAccelerationStructureMemoryInfoNV instance allocated with memAlloc.

public static VkBindAccelerationStructureMemoryInfoNV.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkBindAccelerationStructureMemoryInfoNV.Buffer instance allocated with memAlloc.

public static VkBindAccelerationStructureMemoryInfoNV
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkBindAccelerationStructureMemoryInfoNV instance allocated on the specified MemoryStack.

public static VkBindAccelerationStructureMemoryInfoNV.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkBindAccelerationStructureMemoryInfoNV.Buffer instance allocated on the specified MemoryStack.

public static VkBindAccelerationStructureMemoryInfoNV
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkBindAccelerationStructureMemoryInfoNV
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkBindAccelerationStructureMemoryInfoNV.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkBindAccelerationStructureMemoryInfoNV.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public long
memory()

a VkDeviceMemory object describing the device memory to attach.

public VkBindAccelerationStructureMemoryInfoNV
memory(long value)

Sets the specified value to the memory field.

public long
memoryOffset()

the start offset of the region of memory that is to be bound to the acceleration structure.

public VkBindAccelerationStructureMemoryInfoNV
memoryOffset(long value)

Sets the specified value to the memoryOffset field.

public static long
naccelerationStructure(long struct)

Unsafe version of accelerationStructure.

public static void
naccelerationStructure(long struct, long value)

Unsafe version of accelerationStructure.

public static int
ndeviceIndexCount(long struct)

Unsafe version of deviceIndexCount.

public static void
ndeviceIndexCount(long struct, int value)

Sets the specified value to the deviceIndexCount field of the specified struct.

public static long
nmemory(long struct)

Unsafe version of memory.

public static void
nmemory(long struct, long value)

Unsafe version of memory.

public static long
nmemoryOffset(long struct)

Unsafe version of memoryOffset.

public static void
nmemoryOffset(long struct, long value)

Unsafe version of memoryOffset.

public static IntBuffer
npDeviceIndices(long struct)

Unsafe version of pDeviceIndices.

public static void
npDeviceIndices(long struct, IntBuffer value)

Unsafe version of pDeviceIndices.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public IntBuffer
pDeviceIndices()

a pointer to an array of device indices.

public VkBindAccelerationStructureMemoryInfoNV
pDeviceIndices(IntBuffer value)

Sets the address of the specified IntBuffer to the pDeviceIndices field.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkBindAccelerationStructureMemoryInfoNV
pNext(long value)

Sets the specified value to the pNext field.

public VkBindAccelerationStructureMemoryInfoNV
set(int sType, long pNext, long accelerationStructure, long memory, long memoryOffset, IntBuffer pDeviceIndices)

Initializes this struct with the specified values.

public VkBindAccelerationStructureMemoryInfoNV

Returns:

this struct
set
(VkBindAccelerationStructureMemoryInfoNV
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
sType()

a VkStructureType value identifying this structure.

public VkBindAccelerationStructureMemoryInfoNV
sType(int value)

Sets the specified value to the sType field.

public VkBindAccelerationStructureMemoryInfoNV
public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ACCELERATIONSTRUCTUREback to summary
public static final int ACCELERATIONSTRUCTURE

The struct member offsets.

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

DEVICEINDEXCOUNTback to summary
public static final int DEVICEINDEXCOUNT

The struct member offsets.

MEMORYback to summary
public static final int MEMORY

The struct member offsets.

MEMORYOFFSETback to summary
public static final int MEMORYOFFSET

The struct member offsets.

PDEVICEINDICESback to summary
public static final int PDEVICEINDICES

The struct member offsets.

PNEXTback to summary
public static final int PNEXT

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

STYPEback to summary
public static final int STYPE

The struct member offsets.

Constructor Detail

VkBindAccelerationStructureMemoryInfoNVback to summary
protected VkBindAccelerationStructureMemoryInfoNV(long address, ByteBuffer container)
VkBindAccelerationStructureMemoryInfoNVback to summary
public VkBindAccelerationStructureMemoryInfoNV(ByteBuffer container)

Creates a VkBindAccelerationStructureMemoryInfoNV instance at the current position of the specified ByteBuffer container. 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

accelerationStructureback to summary
public long accelerationStructure()

the acceleration structure to be attached to memory.

Annotations
@NativeType:VkAccelerationStructureNV
accelerationStructureback to summary
public VkBindAccelerationStructureMemoryInfoNV accelerationStructure(long value)

Sets the specified value to the accelerationStructure field.

callocback to summary
public static VkBindAccelerationStructureMemoryInfoNV calloc()

Returns a new VkBindAccelerationStructureMemoryInfoNV instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static VkBindAccelerationStructureMemoryInfoNV.Buffer calloc(int capacity)

Returns a new VkBindAccelerationStructureMemoryInfoNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static VkBindAccelerationStructureMemoryInfoNV calloc(MemoryStack stack)

Returns a new VkBindAccelerationStructureMemoryInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static VkBindAccelerationStructureMemoryInfoNV.Buffer calloc(int capacity, MemoryStack stack)

Returns a new VkBindAccelerationStructureMemoryInfoNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

callocStackback to summary
public static VkBindAccelerationStructureMemoryInfoNV callocStack()

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkBindAccelerationStructureMemoryInfoNV callocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkBindAccelerationStructureMemoryInfoNV.Buffer callocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkBindAccelerationStructureMemoryInfoNV.Buffer callocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
createback to summary
protected VkBindAccelerationStructureMemoryInfoNV create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static VkBindAccelerationStructureMemoryInfoNV create()

Returns a new VkBindAccelerationStructureMemoryInfoNV instance allocated with BufferUtils.

createback to summary
public static VkBindAccelerationStructureMemoryInfoNV create(long address)

Returns a new VkBindAccelerationStructureMemoryInfoNV instance for the specified memory address.

createback to summary
public static VkBindAccelerationStructureMemoryInfoNV.Buffer create(int capacity)

Returns a new VkBindAccelerationStructureMemoryInfoNV.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static VkBindAccelerationStructureMemoryInfoNV.Buffer create(long address, int capacity)

Create a VkBindAccelerationStructureMemoryInfoNV.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static VkBindAccelerationStructureMemoryInfoNV createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static VkBindAccelerationStructureMemoryInfoNV.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
deviceIndexCountback to summary
public int deviceIndexCount()

the number of elements in pDeviceIndices.

Annotations
@NativeType:uint32_t
mallocback to summary
public static VkBindAccelerationStructureMemoryInfoNV malloc()

Returns a new VkBindAccelerationStructureMemoryInfoNV instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static VkBindAccelerationStructureMemoryInfoNV.Buffer malloc(int capacity)

Returns a new VkBindAccelerationStructureMemoryInfoNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static VkBindAccelerationStructureMemoryInfoNV malloc(MemoryStack stack)

Returns a new VkBindAccelerationStructureMemoryInfoNV instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static VkBindAccelerationStructureMemoryInfoNV.Buffer malloc(int capacity, MemoryStack stack)

Returns a new VkBindAccelerationStructureMemoryInfoNV.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

mallocStackback to summary
public static VkBindAccelerationStructureMemoryInfoNV mallocStack()

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkBindAccelerationStructureMemoryInfoNV mallocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkBindAccelerationStructureMemoryInfoNV.Buffer mallocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkBindAccelerationStructureMemoryInfoNV.Buffer mallocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
memoryback to summary
public long memory()

a VkDeviceMemory object describing the device memory to attach.

Annotations
@NativeType:VkDeviceMemory
memoryback to summary
public VkBindAccelerationStructureMemoryInfoNV memory(long value)

Sets the specified value to the memory field.

memoryOffsetback to summary
public long memoryOffset()

the start offset of the region of memory that is to be bound to the acceleration structure. The number of bytes returned in the VkMemoryRequirements::size member in memory, starting from memoryOffset bytes, will be bound to the specified acceleration structure.

Annotations
@NativeType:VkDeviceSize
memoryOffsetback to summary
public VkBindAccelerationStructureMemoryInfoNV memoryOffset(long value)

Sets the specified value to the memoryOffset field.

naccelerationStructureback to summary
public static long naccelerationStructure(long struct)

Unsafe version of accelerationStructure.

naccelerationStructureback to summary
public static void naccelerationStructure(long struct, long value)

Unsafe version of accelerationStructure.

ndeviceIndexCountback to summary
public static int ndeviceIndexCount(long struct)

Unsafe version of deviceIndexCount.

ndeviceIndexCountback to summary
public static void ndeviceIndexCount(long struct, int value)

Sets the specified value to the deviceIndexCount field of the specified struct.

nmemoryback to summary
public static long nmemory(long struct)

Unsafe version of memory.

nmemoryback to summary
public static void nmemory(long struct, long value)

Unsafe version of memory.

nmemoryOffsetback to summary
public static long nmemoryOffset(long struct)

Unsafe version of memoryOffset.

nmemoryOffsetback to summary
public static void nmemoryOffset(long struct, long value)

Unsafe version of memoryOffset.

npDeviceIndicesback to summary
public static IntBuffer npDeviceIndices(long struct)

Unsafe version of pDeviceIndices.

Annotations
@Nullable
npDeviceIndicesback to summary
public static void npDeviceIndices(long struct, IntBuffer value)

Unsafe version of pDeviceIndices.

npNextback to summary
public static long npNext(long struct)

Unsafe version of pNext.

npNextback to summary
public static void npNext(long struct, long value)

Unsafe version of pNext.

nsTypeback to summary
public static int nsType(long struct)

Unsafe version of sType.

nsTypeback to summary
public static void nsType(long struct, int value)

Unsafe version of sType.

pDeviceIndicesback to summary
public IntBuffer pDeviceIndices()

a pointer to an array of device indices.

Annotations
@Nullable
@NativeType:uint32_t const *
pDeviceIndicesback to summary
public VkBindAccelerationStructureMemoryInfoNV pDeviceIndices(IntBuffer value)

Sets the address of the specified IntBuffer to the pDeviceIndices field.

pNextback to summary
public long pNext()

NULL or a pointer to a structure extending this structure.

Annotations
@NativeType:void const *
pNextback to summary
public VkBindAccelerationStructureMemoryInfoNV pNext(long value)

Sets the specified value to the pNext field.

setback to summary
public VkBindAccelerationStructureMemoryInfoNV set(int sType, long pNext, long accelerationStructure, long memory, long memoryOffset, IntBuffer pDeviceIndices)

Initializes this struct with the specified values.

setback to summary
public VkBindAccelerationStructureMemoryInfoNV set(VkBindAccelerationStructureMemoryInfoNV src)

Copies the specified struct data to this struct.

Parameters
src:VkBindAccelerationStructureMemoryInfoNV

the source struct

Returns:VkBindAccelerationStructureMemoryInfoNV

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
sTypeback to summary
public int sType()

a VkStructureType value identifying this structure.

Annotations
@NativeType:VkStructureType
sTypeback to summary
public VkBindAccelerationStructureMemoryInfoNV sType(int value)

Sets the specified value to the sType field.

sType$Defaultback to summary
public VkBindAccelerationStructureMemoryInfoNV sType$Default()

Sets the STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NV value to the sType field.

validateback to summary
public static void validate(long struct)

Validates pointer members that should not be NULL.

Parameters
struct:long

the struct to validate

org.lwjgl.vulkan back to summary

public Class VkBindAccelerationStructureMemoryInfoNV.Buffer

extends StructBuffer<VkBindAccelerationStructureMemoryInfoNV, VkBindAccelerationStructureMemoryInfoNV.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of VkBindAccelerationStructureMemoryInfoNV structs.

Field Summary

Modifier and TypeField and Description
private static final VkBindAccelerationStructureMemoryInfoNV

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new VkBindAccelerationStructureMemoryInfoNV.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public long
public VkBindAccelerationStructureMemoryInfoNV.Buffer
public int
protected VkBindAccelerationStructureMemoryInfoNV
public long

Returns:

the value of the VkBindAccelerationStructureMemoryInfoNV#memory field.
memory
()

public VkBindAccelerationStructureMemoryInfoNV.Buffer
memory(long value)

Sets the specified value to the VkBindAccelerationStructureMemoryInfoNV#memory field.

public long
public VkBindAccelerationStructureMemoryInfoNV.Buffer
memoryOffset(long value)

Sets the specified value to the VkBindAccelerationStructureMemoryInfoNV#memoryOffset field.

public IntBuffer

Returns:

a IntBuffer view of the data pointed to by the VkBindAccelerationStructureMemoryInfoNV#pDeviceIndices field.
pDeviceIndices
()

public VkBindAccelerationStructureMemoryInfoNV.Buffer
pDeviceIndices(IntBuffer value)

Sets the address of the specified IntBuffer to the VkBindAccelerationStructureMemoryInfoNV#pDeviceIndices field.

public long

Returns:

the value of the VkBindAccelerationStructureMemoryInfoNV#pNext field.
pNext
()

public VkBindAccelerationStructureMemoryInfoNV.Buffer
pNext(long value)

Sets the specified value to the VkBindAccelerationStructureMemoryInfoNV#pNext field.

protected VkBindAccelerationStructureMemoryInfoNV.Buffer
public int

Returns:

the value of the VkBindAccelerationStructureMemoryInfoNV#sType field.
sType
()

public VkBindAccelerationStructureMemoryInfoNV.Buffer
sType(int value)

Sets the specified value to the VkBindAccelerationStructureMemoryInfoNV#sType field.

public VkBindAccelerationStructureMemoryInfoNV.Buffer
Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final VkBindAccelerationStructureMemoryInfoNV ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new VkBindAccelerationStructureMemoryInfoNV.Buffer instance backed by the specified container.

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 VkBindAccelerationStructureMemoryInfoNV#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

accelerationStructureback to summary
public long accelerationStructure()
Returns:long

the value of the VkBindAccelerationStructureMemoryInfoNV#accelerationStructure field.

Annotations
@NativeType:VkAccelerationStructureNV
accelerationStructureback to summary
public VkBindAccelerationStructureMemoryInfoNV.Buffer accelerationStructure(long value)

Sets the specified value to the VkBindAccelerationStructureMemoryInfoNV#accelerationStructure field.

deviceIndexCountback to summary
public int deviceIndexCount()
Returns:int

the value of the VkBindAccelerationStructureMemoryInfoNV#deviceIndexCount field.

Annotations
@NativeType:uint32_t
getElementFactoryback to summary
protected VkBindAccelerationStructureMemoryInfoNV getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
memoryback to summary
public long memory()
Returns:long

the value of the VkBindAccelerationStructureMemoryInfoNV#memory field.

Annotations
@NativeType:VkDeviceMemory
memoryback to summary
public VkBindAccelerationStructureMemoryInfoNV.Buffer memory(long value)

Sets the specified value to the VkBindAccelerationStructureMemoryInfoNV#memory field.

memoryOffsetback to summary
public long memoryOffset()
Returns:long

the value of the VkBindAccelerationStructureMemoryInfoNV#memoryOffset field.

Annotations
@NativeType:VkDeviceSize
memoryOffsetback to summary
public VkBindAccelerationStructureMemoryInfoNV.Buffer memoryOffset(long value)

Sets the specified value to the VkBindAccelerationStructureMemoryInfoNV#memoryOffset field.

pDeviceIndicesback to summary
public IntBuffer pDeviceIndices()
Returns:IntBuffer

a IntBuffer view of the data pointed to by the VkBindAccelerationStructureMemoryInfoNV#pDeviceIndices field.

Annotations
@Nullable
@NativeType:uint32_t const *
pDeviceIndicesback to summary
public VkBindAccelerationStructureMemoryInfoNV.Buffer pDeviceIndices(IntBuffer value)

Sets the address of the specified IntBuffer to the VkBindAccelerationStructureMemoryInfoNV#pDeviceIndices field.

pNextback to summary
public long pNext()
Returns:long

the value of the VkBindAccelerationStructureMemoryInfoNV#pNext field.

Annotations
@NativeType:void const *
pNextback to summary
public VkBindAccelerationStructureMemoryInfoNV.Buffer pNext(long value)

Sets the specified value to the VkBindAccelerationStructureMemoryInfoNV#pNext field.

selfback to summary
protected VkBindAccelerationStructureMemoryInfoNV.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
sTypeback to summary
public int sType()
Returns:int

the value of the VkBindAccelerationStructureMemoryInfoNV#sType field.

Annotations
@NativeType:VkStructureType
sTypeback to summary
public VkBindAccelerationStructureMemoryInfoNV.Buffer sType(int value)

Sets the specified value to the VkBindAccelerationStructureMemoryInfoNV#sType field.

sType$Defaultback to summary
public VkBindAccelerationStructureMemoryInfoNV.Buffer sType$Default()

Sets the STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NV value to the VkBindAccelerationStructureMemoryInfoNV#sType field.