Package org.lwjgl.vulkan
Class VkAabbPositionsNV
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkAabbPositionsKHR
-
- org.lwjgl.vulkan.VkAabbPositionsNV
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkAabbPositionsNV extends VkAabbPositionsKHR
SeeVkAabbPositionsKHR.Layout
struct VkAabbPositionsNV { float minX; float minY; float minZ; float maxX; float maxY; float maxZ; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkAabbPositionsNV.BufferAn array ofVkAabbPositionsNVstructs.
-
Constructor Summary
Constructors Constructor Description VkAabbPositionsNV(java.nio.ByteBuffer container)Creates aVkAabbPositionsNVinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkAabbPositionsNVcalloc()Returns a newVkAabbPositionsNVinstance allocated withmemCalloc.static VkAabbPositionsNV.Buffercalloc(int capacity)Returns a newVkAabbPositionsNV.Bufferinstance allocated withmemCalloc.static VkAabbPositionsNV.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkAabbPositionsNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkAabbPositionsNVcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkAabbPositionsNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkAabbPositionsNVcreate()Returns a newVkAabbPositionsNVinstance allocated withBufferUtils.static VkAabbPositionsNV.Buffercreate(int capacity)Returns a newVkAabbPositionsNV.Bufferinstance allocated withBufferUtils.static VkAabbPositionsNVcreate(long address)Returns a newVkAabbPositionsNVinstance for the specified memory address.static VkAabbPositionsNV.Buffercreate(long address, int capacity)Create aVkAabbPositionsNV.Bufferinstance at the specified memory.static VkAabbPositionsNVcreateSafe(long address)static VkAabbPositionsNV.BuffercreateSafe(long address, int capacity)static VkAabbPositionsNVmalloc()Returns a newVkAabbPositionsNVinstance allocated withmemAlloc.static VkAabbPositionsNV.Buffermalloc(int capacity)Returns a newVkAabbPositionsNV.Bufferinstance allocated withmemAlloc.static VkAabbPositionsNV.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkAabbPositionsNV.Bufferinstance allocated on the specifiedMemoryStack.static VkAabbPositionsNVmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkAabbPositionsNVinstance allocated on the specifiedMemoryStack.VkAabbPositionsNVmaxX(float value)Sets the specified value to themaxXfield.VkAabbPositionsNVmaxY(float value)Sets the specified value to themaxYfield.VkAabbPositionsNVmaxZ(float value)Sets the specified value to themaxZfield.VkAabbPositionsNVminX(float value)Sets the specified value to theminXfield.VkAabbPositionsNVminY(float value)Sets the specified value to theminYfield.VkAabbPositionsNVminZ(float value)Sets the specified value to theminZfield.VkAabbPositionsNVset(float minX, float minY, float minZ, float maxX, float maxY, float maxZ)Initializes this struct with the specified values.VkAabbPositionsNVset(VkAabbPositionsNV src)Copies the specified struct data to this struct.
-
-
-
Constructor Detail
-
VkAabbPositionsNV
public VkAabbPositionsNV(java.nio.ByteBuffer container)
Creates aVkAabbPositionsNVinstance at the current position of the specifiedByteBuffercontainer. 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
-
minX
public VkAabbPositionsNV minX(float value)
Sets the specified value to theminXfield.- Overrides:
minXin classVkAabbPositionsKHR
-
minY
public VkAabbPositionsNV minY(float value)
Sets the specified value to theminYfield.- Overrides:
minYin classVkAabbPositionsKHR
-
minZ
public VkAabbPositionsNV minZ(float value)
Sets the specified value to theminZfield.- Overrides:
minZin classVkAabbPositionsKHR
-
maxX
public VkAabbPositionsNV maxX(float value)
Sets the specified value to themaxXfield.- Overrides:
maxXin classVkAabbPositionsKHR
-
maxY
public VkAabbPositionsNV maxY(float value)
Sets the specified value to themaxYfield.- Overrides:
maxYin classVkAabbPositionsKHR
-
maxZ
public VkAabbPositionsNV maxZ(float value)
Sets the specified value to themaxZfield.- Overrides:
maxZin classVkAabbPositionsKHR
-
set
public VkAabbPositionsNV set(float minX, float minY, float minZ, float maxX, float maxY, float maxZ)
Initializes this struct with the specified values.- Overrides:
setin classVkAabbPositionsKHR
-
set
public VkAabbPositionsNV set(VkAabbPositionsNV src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkAabbPositionsNV malloc()
Returns a newVkAabbPositionsNVinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkAabbPositionsNV calloc()
Returns a newVkAabbPositionsNVinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkAabbPositionsNV create()
Returns a newVkAabbPositionsNVinstance allocated withBufferUtils.
-
create
public static VkAabbPositionsNV create(long address)
Returns a newVkAabbPositionsNVinstance for the specified memory address.
-
createSafe
@Nullable public static VkAabbPositionsNV createSafe(long address)
-
malloc
public static VkAabbPositionsNV.Buffer malloc(int capacity)
Returns a newVkAabbPositionsNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkAabbPositionsNV.Buffer calloc(int capacity)
Returns a newVkAabbPositionsNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkAabbPositionsNV.Buffer create(int capacity)
Returns a newVkAabbPositionsNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkAabbPositionsNV.Buffer create(long address, int capacity)
Create aVkAabbPositionsNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkAabbPositionsNV.Buffer createSafe(long address, int capacity)
-
malloc
public static VkAabbPositionsNV malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkAabbPositionsNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkAabbPositionsNV calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkAabbPositionsNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkAabbPositionsNV.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkAabbPositionsNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkAabbPositionsNV.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkAabbPositionsNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-