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.StructValidationNested 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, SIZEOFFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkAabbPositionsNV(ByteBuffer container) Creates aVkAabbPositionsNVinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkAabbPositionsNVcalloc()Returns a newVkAabbPositionsNVinstance allocated withmemCalloc.static VkAabbPositionsNV.Buffercalloc(int capacity) Returns a newVkAabbPositionsNV.Bufferinstance allocated withmemCalloc.static VkAabbPositionsNV.Buffercalloc(int capacity, MemoryStack stack) Returns a newVkAabbPositionsNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkAabbPositionsNVcalloc(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 @Nullable VkAabbPositionsNVcreateSafe(long address) static @Nullable 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, MemoryStack stack) Returns a newVkAabbPositionsNV.Bufferinstance allocated on the specifiedMemoryStack.static VkAabbPositionsNVmalloc(MemoryStack stack) Returns a newVkAabbPositionsNVinstance allocated on the specifiedMemoryStack.maxX(float value) Sets the specified value to themaxXfield.maxY(float value) Sets the specified value to themaxYfield.maxZ(float value) Sets the specified value to themaxZfield.minX(float value) Sets the specified value to theminXfield.minY(float value) Sets the specified value to theminYfield.minZ(float value) Sets the specified value to theminZfield.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, sizeofMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkAabbPositionsNV
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 Details
-
minX
Sets the specified value to theminXfield.- Overrides:
minXin classVkAabbPositionsKHR
-
minY
Sets the specified value to theminYfield.- Overrides:
minYin classVkAabbPositionsKHR
-
minZ
Sets the specified value to theminZfield.- Overrides:
minZin classVkAabbPositionsKHR
-
maxX
Sets the specified value to themaxXfield.- Overrides:
maxXin classVkAabbPositionsKHR
-
maxY
Sets the specified value to themaxYfield.- Overrides:
maxYin classVkAabbPositionsKHR
-
maxZ
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
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkAabbPositionsNVinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkAabbPositionsNVinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkAabbPositionsNVinstance allocated withBufferUtils. -
create
Returns a newVkAabbPositionsNVinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkAabbPositionsNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkAabbPositionsNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkAabbPositionsNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkAabbPositionsNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkAabbPositionsNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkAabbPositionsNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkAabbPositionsNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkAabbPositionsNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-