Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkAabbPositionsNV

extends VkAabbPositionsKHR
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

See VkAabbPositionsKHR.

Layout


struct VkAabbPositionsNV {
    float minX;
    float minY;
    float minZ;
    float maxX;
    float maxY;
    float maxZ;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Inherited from org.lwjgl.vulkan.VkAabbPositionsKHR:
ALIGNOFMAXXMAXYMAXZMINXMINYMINZSIZEOF

Constructor Summary

AccessConstructor and Description
protected
VkAabbPositionsNV(long address, ByteBuffer container)

public
VkAabbPositionsNV(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static VkAabbPositionsNV
calloc()

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.calloc.

Returns a new VkAabbPositionsNV instance allocated with memCalloc.
public static VkAabbPositionsNV.Buffer
calloc(int
the buffer capacity
capacity
)

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.calloc.

Returns a new VkAabbPositionsNV.Buffer instance allocated with memCalloc.
public static VkAabbPositionsNV
calloc(MemoryStack
the stack from which to allocate
stack
)

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.calloc.

Returns a new VkAabbPositionsNV instance allocated on the specified MemoryStack and initializes all its bits to zero.
public static VkAabbPositionsNV.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.calloc.

Returns a new VkAabbPositionsNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
protected VkAabbPositionsNV
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.create.

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

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.create.

Returns a new VkAabbPositionsNV instance allocated with BufferUtils.
public static VkAabbPositionsNV
create(long address)

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.create.

Returns a new VkAabbPositionsNV instance for the specified memory address.
public static VkAabbPositionsNV.Buffer
create(int
the buffer capacity
capacity
)

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.create.

Returns a new VkAabbPositionsNV.Buffer instance allocated with BufferUtils.
public static VkAabbPositionsNV.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.create.

Create a VkAabbPositionsNV.Buffer instance at the specified memory.
public static VkAabbPositionsNV
createSafe(long address)

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.createSafe.

Like create, but returns null if address is NULL.
public static VkAabbPositionsNV.Buffer
createSafe(long address, int capacity)

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.createSafe.

Like create, but returns null if address is NULL.
public static VkAabbPositionsNV
malloc()

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.malloc.

Returns a new VkAabbPositionsNV instance allocated with memAlloc.
public static VkAabbPositionsNV.Buffer
malloc(int
the buffer capacity
capacity
)

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.malloc.

Returns a new VkAabbPositionsNV.Buffer instance allocated with memAlloc.
public static VkAabbPositionsNV
malloc(MemoryStack
the stack from which to allocate
stack
)

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.malloc.

Returns a new VkAabbPositionsNV instance allocated on the specified MemoryStack.
public static VkAabbPositionsNV.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.malloc.

Returns a new VkAabbPositionsNV.Buffer instance allocated on the specified MemoryStack.
public VkAabbPositionsNV
maxX(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.maxX.

Sets the specified value to the maxX field.
public VkAabbPositionsNV
maxY(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.maxY.

Sets the specified value to the maxY field.
public VkAabbPositionsNV
maxZ(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.maxZ.

Sets the specified value to the maxZ field.
public VkAabbPositionsNV
minX(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.minX.

Sets the specified value to the minX field.
public VkAabbPositionsNV
minY(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.minY.

Sets the specified value to the minY field.
public VkAabbPositionsNV
minZ(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.minZ.

Sets the specified value to the minZ field.
public VkAabbPositionsNV
set(float minX, float minY, float minZ, float maxX, float maxY, float maxZ)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.set.

Initializes this struct with the specified values.
public VkAabbPositionsNV

Returns:

this struct
set
(VkAabbPositionsNV
the source struct
src
)

Copies the specified struct data to this struct.

Inherited from org.lwjgl.vulkan.VkAabbPositionsKHR:
maxXmaxYmaxZminXminYminZnmaxXnmaxXnmaxYnmaxYnmaxZnmaxZnminXnminXnminYnminYnminZnminZsetsizeof

Constructor Detail

VkAabbPositionsNVback to summary
protected VkAabbPositionsNV(long address, ByteBuffer container)
VkAabbPositionsNVback to summary
public VkAabbPositionsNV(ByteBuffer container)

Creates a VkAabbPositionsNV 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

callocback to summary
public static VkAabbPositionsNV calloc()

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.calloc.

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

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

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.calloc.

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

Parameters
capacity:int

the buffer capacity

callocback to summary
public static VkAabbPositionsNV calloc(MemoryStack stack)

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.calloc.

Returns a new VkAabbPositionsNV 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 VkAabbPositionsNV.Buffer calloc(int capacity, MemoryStack stack)

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.calloc.

Returns a new VkAabbPositionsNV.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

createback to summary
protected VkAabbPositionsNV create(long address, ByteBuffer container)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.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 VkAabbPositionsNV create()

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.create.

Returns a new VkAabbPositionsNV instance allocated with BufferUtils.

createback to summary
public static VkAabbPositionsNV create(long address)

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.create.

Returns a new VkAabbPositionsNV instance for the specified memory address.

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

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.create.

Returns a new VkAabbPositionsNV.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

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

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.create.

Create a VkAabbPositionsNV.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static VkAabbPositionsNV createSafe(long address)

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.createSafe.

Like create, but returns null if address is NULL.

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

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.createSafe.

Like create, but returns null if address is NULL.

Annotations
@Nullable
mallocback to summary
public static VkAabbPositionsNV malloc()

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.malloc.

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

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

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.malloc.

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

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static VkAabbPositionsNV malloc(MemoryStack stack)

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.malloc.

Returns a new VkAabbPositionsNV instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

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

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.malloc.

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

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

maxXback to summary
public VkAabbPositionsNV maxX(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.maxX.

Sets the specified value to the maxX field.

Annotations
@Override
maxYback to summary
public VkAabbPositionsNV maxY(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.maxY.

Sets the specified value to the maxY field.

Annotations
@Override
maxZback to summary
public VkAabbPositionsNV maxZ(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.maxZ.

Sets the specified value to the maxZ field.

Annotations
@Override
minXback to summary
public VkAabbPositionsNV minX(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.minX.

Sets the specified value to the minX field.

Annotations
@Override
minYback to summary
public VkAabbPositionsNV minY(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.minY.

Sets the specified value to the minY field.

Annotations
@Override
minZback to summary
public VkAabbPositionsNV minZ(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.minZ.

Sets the specified value to the minZ field.

Annotations
@Override
setback to summary
public VkAabbPositionsNV set(float minX, float minY, float minZ, float maxX, float maxY, float maxZ)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.set.

Initializes this struct with the specified values.

Annotations
@Override
setback to summary
public VkAabbPositionsNV set(VkAabbPositionsNV src)

Copies the specified struct data to this struct.

Parameters
src:VkAabbPositionsNV

the source struct

Returns:VkAabbPositionsNV

this struct

org.lwjgl.vulkan back to summary

public Class VkAabbPositionsNV.Buffer

extends Buffer
Class Inheritance

An array of VkAabbPositionsNV structs.

Field Summary

Modifier and TypeField and Description
private static final VkAabbPositionsNV

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new VkAabbPositionsNV.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
protected VkAabbPositionsNV
public VkAabbPositionsNV.Buffer
maxX(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.Buffer.maxX.

Sets the specified value to the maxX field.
public VkAabbPositionsNV.Buffer
maxY(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.Buffer.maxY.

Sets the specified value to the maxY field.
public VkAabbPositionsNV.Buffer
maxZ(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.Buffer.maxZ.

Sets the specified value to the maxZ field.
public VkAabbPositionsNV.Buffer
minX(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.Buffer.minX.

Sets the specified value to the minX field.
public VkAabbPositionsNV.Buffer
minY(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.Buffer.minY.

Sets the specified value to the minY field.
public VkAabbPositionsNV.Buffer
minZ(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.Buffer.minZ.

Sets the specified value to the minZ field.
protected VkAabbPositionsNV.Buffer
Inherited from org.lwjgl.vulkan.VkAabbPositionsKHR.Buffer:
maxXmaxYmaxZminXminYminZ

Field Detail

ELEMENT_FACTORYback to summary
private static final VkAabbPositionsNV ELEMENT_FACTORY

Hides org.lwjgl.vulkan.VkAabbPositionsKHR.Buffer.ELEMENT_FACTORY.

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new VkAabbPositionsNV.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 VkAabbPositionsNV#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

getElementFactoryback to summary
protected VkAabbPositionsNV getElementFactory()

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.Buffer.getElementFactory.

Annotations
@Override
maxXback to summary
public VkAabbPositionsNV.Buffer maxX(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.Buffer.maxX.

Sets the specified value to the maxX field.

Annotations
@Override
maxYback to summary
public VkAabbPositionsNV.Buffer maxY(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.Buffer.maxY.

Sets the specified value to the maxY field.

Annotations
@Override
maxZback to summary
public VkAabbPositionsNV.Buffer maxZ(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.Buffer.maxZ.

Sets the specified value to the maxZ field.

Annotations
@Override
minXback to summary
public VkAabbPositionsNV.Buffer minX(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.Buffer.minX.

Sets the specified value to the minX field.

Annotations
@Override
minYback to summary
public VkAabbPositionsNV.Buffer minY(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.Buffer.minY.

Sets the specified value to the minY field.

Annotations
@Override
minZback to summary
public VkAabbPositionsNV.Buffer minZ(float value)

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.Buffer.minZ.

Sets the specified value to the minZ field.

Annotations
@Override
selfback to summary
protected VkAabbPositionsNV.Buffer self()

Overrides org.lwjgl.vulkan.VkAabbPositionsKHR.Buffer.self.

Annotations
@Override