Package org.lwjgl.vulkan
Class VkAabbPositionsNV
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkAabbPositionsKHR>
org.lwjgl.vulkan.VkAabbPositionsKHR
org.lwjgl.vulkan.VkAabbPositionsNV
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
struct VkAabbPositionsNV {
float minX;
float minY;
float minZ;
float maxX;
float maxY;
float maxZ;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from class org.lwjgl.vulkan.VkAabbPositionsKHR
ALIGNOF, MAXX, MAXY, MAXZ, MINX, MINY, MINZ, SIZEOF
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionVkAabbPositionsNV
(ByteBuffer container) Creates aVkAabbPositionsNV
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkAabbPositionsNV
calloc()
Returns a newVkAabbPositionsNV
instance allocated withmemCalloc
.static VkAabbPositionsNV.Buffer
calloc
(int capacity) Returns a newVkAabbPositionsNV.Buffer
instance allocated withmemCalloc
.static VkAabbPositionsNV.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newVkAabbPositionsNV.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkAabbPositionsNV
calloc
(MemoryStack stack) Returns a newVkAabbPositionsNV
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkAabbPositionsNV
create()
Returns a newVkAabbPositionsNV
instance allocated withBufferUtils
.static VkAabbPositionsNV.Buffer
create
(int capacity) Returns a newVkAabbPositionsNV.Buffer
instance allocated withBufferUtils
.static VkAabbPositionsNV
create
(long address) Returns a newVkAabbPositionsNV
instance for the specified memory address.static VkAabbPositionsNV.Buffer
create
(long address, int capacity) Create aVkAabbPositionsNV.Buffer
instance at the specified memory.static @Nullable VkAabbPositionsNV
createSafe
(long address) static @Nullable VkAabbPositionsNV.Buffer
createSafe
(long address, int capacity) static VkAabbPositionsNV
malloc()
Returns a newVkAabbPositionsNV
instance allocated withmemAlloc
.static VkAabbPositionsNV.Buffer
malloc
(int capacity) Returns a newVkAabbPositionsNV.Buffer
instance allocated withmemAlloc
.static VkAabbPositionsNV.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newVkAabbPositionsNV.Buffer
instance allocated on the specifiedMemoryStack
.static VkAabbPositionsNV
malloc
(MemoryStack stack) Returns a newVkAabbPositionsNV
instance allocated on the specifiedMemoryStack
.maxX
(float value) Sets the specified value to themaxX
field.maxY
(float value) Sets the specified value to themaxY
field.maxZ
(float value) Sets the specified value to themaxZ
field.minX
(float value) Sets the specified value to theminX
field.minY
(float value) Sets the specified value to theminY
field.minZ
(float value) Sets the specified value to theminZ
field.set
(float minX, float minY, float minZ, float maxX, float maxY, float maxZ) Initializes this struct with the specified values.set
(VkAabbPositionsNV src) Copies the specified struct data to this struct.Methods inherited from class org.lwjgl.vulkan.VkAabbPositionsKHR
maxX, maxY, maxZ, minX, minY, minZ, nmaxX, nmaxX, nmaxY, nmaxY, nmaxZ, nmaxZ, nminX, nminX, nminY, nminY, nminZ, nminZ, set, sizeof
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkAabbPositionsNV
Creates aVkAabbPositionsNV
instance at the current position of the specifiedByteBuffer
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 Details
-
minX
Sets the specified value to theminX
field.- Overrides:
minX
in classVkAabbPositionsKHR
-
minY
Sets the specified value to theminY
field.- Overrides:
minY
in classVkAabbPositionsKHR
-
minZ
Sets the specified value to theminZ
field.- Overrides:
minZ
in classVkAabbPositionsKHR
-
maxX
Sets the specified value to themaxX
field.- Overrides:
maxX
in classVkAabbPositionsKHR
-
maxY
Sets the specified value to themaxY
field.- Overrides:
maxY
in classVkAabbPositionsKHR
-
maxZ
Sets the specified value to themaxZ
field.- Overrides:
maxZ
in 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:
set
in classVkAabbPositionsKHR
-
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newVkAabbPositionsNV
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkAabbPositionsNV
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkAabbPositionsNV
instance allocated withBufferUtils
. -
create
Returns a newVkAabbPositionsNV
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkAabbPositionsNV.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkAabbPositionsNV.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkAabbPositionsNV.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkAabbPositionsNV.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newVkAabbPositionsNV
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkAabbPositionsNV
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newVkAabbPositionsNV.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newVkAabbPositionsNV.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-