Class VmaAllocatorCreateInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.util.vma.VmaAllocatorCreateInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VmaAllocatorCreateInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Description of an Allocator to be created.Member documentation
flags
– flags for created allocator. UseVmaAllocatorCreateFlagBits
enum. One of:ALLOCATOR_CREATE_EXTERNALLY_SYNCHRONIZED_BIT
ALLOCATOR_CREATE_KHR_DEDICATED_ALLOCATION_BIT
ALLOCATOR_CREATE_KHR_BIND_MEMORY2_BIT
ALLOCATOR_CREATE_EXT_MEMORY_BUDGET_BIT
physicalDevice
– Vulkan physical device. It must be valid throughout whole lifetime of created allocator.device
– Vulkan device. It must be valid throughout whole lifetime of created allocator.preferredLargeHeapBlockSize
– preferred size of a singleVkDeviceMemory
block to be allocated from large heaps > 1 GiB. Set to 0 to use default, which is currently 256 MiB. Optional.pAllocationCallbacks
– custom CPU memory allocation callbacks. Optional, can be null. When specified, will also be used for all CPU-side memory allocations. Optional.pDeviceMemoryCallbacks
– informative callbacks forvkAllocateMemory
,vkFreeMemory
. Optional.frameInUseCount
– Maximum number of additional frames that are in use at the same time as current frame.This value is used only when you make allocations with
ALLOCATION_CREATE_CAN_BECOME_LOST_BIT
flag. Such allocation cannot become lost ifallocation.lastUseFrameIndex >= allocator.currentFrameIndex - frameInUseCount
.For example, if you double-buffer your command buffers, so resources used for rendering in previous frame may still be in use by the GPU at the moment you allocate resources needed for the current frame, set this value to 1.
If you want to allow any allocations other than used in the current frame to become lost, set this value to 0.
pHeapSizeLimit
– EitherNULL
or a pointer to an array of limits on maximum number of bytes that can be allocated out of particular Vulkan memory heap.If not
NULL
, it must be a pointer to an array ofVkPhysicalDeviceMemoryProperties::memoryHeapCount
elements, defining limit on maximum number of bytes that can be allocated out of particular Vulkan memory heap.Any of the elements may be equal to
VK_WHOLE_SIZE
, which means no limit on that heap. This is also the default in case ofpHeapSizeLimit = NULL
.If there is a limit defined for a heap:
- If user tries to allocate more memory from that heap using this allocator, the allocation fails with
VK_ERROR_OUT_OF_DEVICE_MEMORY
. - If the limit is smaller than heap size reported in
VkMemoryHeap::size
, the value of this limit will be reported instead when usingGetMemoryProperties
.
Warning! Using this feature may not be equivalent to installing a GPU with smaller amount of memory, because graphics driver doesn't necessary fail new allocations with
VK_ERROR_OUT_OF_DEVICE_MEMORY
result when memory capacity is exceeded. It may return success and just silently migrate some device memory blocks to system RAM. This driver behavior can also be controlled usingVK_AMD_memory_overallocation_behavior
extension.- If user tries to allocate more memory from that heap using this allocator, the allocation fails with
pVulkanFunctions
– pointers to Vulkan functionspRecordSettings
– parameters for recording of VMA calls. Can be null.If not null, it enables recording of calls to VMA functions to a file. If support for recording is not enabled using
VMA_RECORDING_ENABLED
macro, creation of the allocator object fails withVK_ERROR_FEATURE_NOT_PRESENT
.instance
– Optional handle to Vulkan instance object.Optional, can be null. Must be set if
ALLOCATOR_CREATE_EXT_MEMORY_BUDGET_BIT
flas is used or ifvulkanApiVersion >= VK_MAKE_VERSION(1, 1, 0)
.vulkanApiVersion
– Optional. The highest version of Vulkan that the application is designed to use.It must be a value in the format as created by macro
VK_MAKE_VERSION
or a constant like:VK_API_VERSION_1_1
,VK_API_VERSION_1_0
. The patch version number specified is ignored. Only the major and minor versions are considered. It must be less or equal (preferably equal) to value as passed tovkCreateInstance
asVkApplicationInfo::apiVersion
. Only versions 1.0 and 1.1 are supported by the current implementation.Leaving it initialized to zero is equivalent to
VK_API_VERSION_1_0
.
Layout
struct VmaAllocatorCreateInfo { VmaAllocatorCreateFlags flags; VkPhysicalDevice physicalDevice; VkDevice device; VkDeviceSize preferredLargeHeapBlockSize;
VkAllocationCallbacks
const * pAllocationCallbacks;VmaDeviceMemoryCallbacks
const * pDeviceMemoryCallbacks; uint32_t frameInUseCount; VkDeviceSize const * pHeapSizeLimit;VmaVulkanFunctions
const * pVulkanFunctions;VmaRecordSettings
const * pRecordSettings; VkInstance instance; uint32_t vulkanApiVersion; }
-
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
DEVICE
FLAGS
FRAMEINUSECOUNT
INSTANCE
PALLOCATIONCALLBACKS
PDEVICEMEMORYCALLBACKS
PHEAPSIZELIMIT
PHYSICALDEVICE
PRECORDSETTINGS
PREFERREDLARGEHEAPBLOCKSIZE
PVULKANFUNCTIONSThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
VULKANAPIVERSION
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VmaAllocatorCreateInfo(java.nio.ByteBuffer container)
Creates aVmaAllocatorCreateInfo
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VmaAllocatorCreateInfo
calloc()
Returns a newVmaAllocatorCreateInfo
instance allocated withmemCalloc
.static VmaAllocatorCreateInfo
callocStack()
Returns a newVmaAllocatorCreateInfo
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VmaAllocatorCreateInfo
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVmaAllocatorCreateInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VmaAllocatorCreateInfo
create()
Returns a newVmaAllocatorCreateInfo
instance allocated withBufferUtils
.static VmaAllocatorCreateInfo
create(long address)
Returns a newVmaAllocatorCreateInfo
instance for the specified memory address.static VmaAllocatorCreateInfo
createSafe(long address)
long
device()
Returns the value of thedevice
field.VmaAllocatorCreateInfo
device(org.lwjgl.vulkan.VkDevice value)
Sets the specified value to thedevice
field.int
flags()
Returns the value of theflags
field.VmaAllocatorCreateInfo
flags(int value)
Sets the specified value to theflags
field.int
frameInUseCount()
Returns the value of theframeInUseCount
field.VmaAllocatorCreateInfo
frameInUseCount(int value)
Sets the specified value to theframeInUseCount
field.long
instance()
Returns the value of theinstance
field.VmaAllocatorCreateInfo
instance(org.lwjgl.vulkan.VkInstance value)
Sets the specified value to theinstance
field.static VmaAllocatorCreateInfo
malloc()
Returns a newVmaAllocatorCreateInfo
instance allocated withmemAlloc
.static VmaAllocatorCreateInfo
mallocStack()
Returns a newVmaAllocatorCreateInfo
instance allocated on the thread-localMemoryStack
.static VmaAllocatorCreateInfo
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVmaAllocatorCreateInfo
instance allocated on the specifiedMemoryStack
.static long
ndevice(long struct)
Unsafe version ofdevice()
.static void
ndevice(long struct, org.lwjgl.vulkan.VkDevice value)
Unsafe version ofdevice
.static int
nflags(long struct)
Unsafe version offlags()
.static void
nflags(long struct, int value)
Unsafe version offlags
.static int
nframeInUseCount(long struct)
Unsafe version offrameInUseCount()
.static void
nframeInUseCount(long struct, int value)
Unsafe version offrameInUseCount
.static long
ninstance(long struct)
Unsafe version ofinstance()
.static void
ninstance(long struct, org.lwjgl.vulkan.VkInstance value)
Unsafe version ofinstance
.static org.lwjgl.vulkan.VkAllocationCallbacks
npAllocationCallbacks(long struct)
Unsafe version ofpAllocationCallbacks()
.static void
npAllocationCallbacks(long struct, org.lwjgl.vulkan.VkAllocationCallbacks value)
Unsafe version ofpAllocationCallbacks
.static VmaDeviceMemoryCallbacks
npDeviceMemoryCallbacks(long struct)
Unsafe version ofpDeviceMemoryCallbacks()
.static void
npDeviceMemoryCallbacks(long struct, VmaDeviceMemoryCallbacks value)
Unsafe version ofpDeviceMemoryCallbacks
.static java.nio.LongBuffer
npHeapSizeLimit(long struct, int capacity)
Unsafe version ofpHeapSizeLimit
.static void
npHeapSizeLimit(long struct, java.nio.LongBuffer value)
Unsafe version ofpHeapSizeLimit
.static long
nphysicalDevice(long struct)
Unsafe version ofphysicalDevice()
.static void
nphysicalDevice(long struct, org.lwjgl.vulkan.VkPhysicalDevice value)
Unsafe version ofphysicalDevice
.static VmaRecordSettings
npRecordSettings(long struct)
Unsafe version ofpRecordSettings()
.static void
npRecordSettings(long struct, VmaRecordSettings value)
Unsafe version ofpRecordSettings
.static long
npreferredLargeHeapBlockSize(long struct)
Unsafe version ofpreferredLargeHeapBlockSize()
.static void
npreferredLargeHeapBlockSize(long struct, long value)
Unsafe version ofpreferredLargeHeapBlockSize
.static VmaVulkanFunctions
npVulkanFunctions(long struct)
Unsafe version ofpVulkanFunctions()
.static void
npVulkanFunctions(long struct, VmaVulkanFunctions value)
Unsafe version ofpVulkanFunctions
.static int
nvulkanApiVersion(long struct)
Unsafe version ofvulkanApiVersion()
.static void
nvulkanApiVersion(long struct, int value)
Unsafe version ofvulkanApiVersion
.org.lwjgl.vulkan.VkAllocationCallbacks
pAllocationCallbacks()
Returns aVkAllocationCallbacks
view of the struct pointed to by thepAllocationCallbacks
field.VmaAllocatorCreateInfo
pAllocationCallbacks(org.lwjgl.vulkan.VkAllocationCallbacks value)
Sets the address of the specifiedVkAllocationCallbacks
to thepAllocationCallbacks
field.VmaDeviceMemoryCallbacks
pDeviceMemoryCallbacks()
Returns aVmaDeviceMemoryCallbacks
view of the struct pointed to by thepDeviceMemoryCallbacks
field.VmaAllocatorCreateInfo
pDeviceMemoryCallbacks(VmaDeviceMemoryCallbacks value)
Sets the address of the specifiedVmaDeviceMemoryCallbacks
to thepDeviceMemoryCallbacks
field.java.nio.LongBuffer
pHeapSizeLimit(int capacity)
Returns aLongBuffer
view of the data pointed to by thepHeapSizeLimit
field.VmaAllocatorCreateInfo
pHeapSizeLimit(java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepHeapSizeLimit
field.long
physicalDevice()
Returns the value of thephysicalDevice
field.VmaAllocatorCreateInfo
physicalDevice(org.lwjgl.vulkan.VkPhysicalDevice value)
Sets the specified value to thephysicalDevice
field.VmaRecordSettings
pRecordSettings()
Returns aVmaRecordSettings
view of the struct pointed to by thepRecordSettings
field.VmaAllocatorCreateInfo
pRecordSettings(VmaRecordSettings value)
Sets the address of the specifiedVmaRecordSettings
to thepRecordSettings
field.long
preferredLargeHeapBlockSize()
Returns the value of thepreferredLargeHeapBlockSize
field.VmaAllocatorCreateInfo
preferredLargeHeapBlockSize(long value)
Sets the specified value to thepreferredLargeHeapBlockSize
field.VmaVulkanFunctions
pVulkanFunctions()
Returns aVmaVulkanFunctions
view of the struct pointed to by thepVulkanFunctions
field.VmaAllocatorCreateInfo
pVulkanFunctions(VmaVulkanFunctions value)
Sets the address of the specifiedVmaVulkanFunctions
to thepVulkanFunctions
field.VmaAllocatorCreateInfo
set(int flags, org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, org.lwjgl.vulkan.VkDevice device, long preferredLargeHeapBlockSize, org.lwjgl.vulkan.VkAllocationCallbacks pAllocationCallbacks, VmaDeviceMemoryCallbacks pDeviceMemoryCallbacks, int frameInUseCount, java.nio.LongBuffer pHeapSizeLimit, VmaVulkanFunctions pVulkanFunctions, VmaRecordSettings pRecordSettings, org.lwjgl.vulkan.VkInstance instance, int vulkanApiVersion)
Initializes this struct with the specified values.VmaAllocatorCreateInfo
set(VmaAllocatorCreateInfo src)
Copies the specified struct data to this struct.int
sizeof()
static void
validate(long struct)
Validates pointer members that should not beNULL
.static void
validate(long array, int count)
Callsvalidate(long)
for each struct contained in the specified struct array.int
vulkanApiVersion()
Returns the value of thevulkanApiVersion
field.VmaAllocatorCreateInfo
vulkanApiVersion(int value)
Sets the specified value to thevulkanApiVersion
field.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
FLAGS, PHYSICALDEVICE, DEVICE, PREFERREDLARGEHEAPBLOCKSIZE, PALLOCATIONCALLBACKS, PDEVICEMEMORYCALLBACKS, FRAMEINUSECOUNT, PHEAPSIZELIMIT, PVULKANFUNCTIONS, PRECORDSETTINGS, INSTANCE, VULKANAPIVERSION
The struct member offsets.
-
-
Constructor Detail
-
VmaAllocatorCreateInfo
public VmaAllocatorCreateInfo(java.nio.ByteBuffer container)
Creates aVmaAllocatorCreateInfo
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
flags
public int flags()
Returns the value of theflags
field.
-
physicalDevice
public long physicalDevice()
Returns the value of thephysicalDevice
field.
-
device
public long device()
Returns the value of thedevice
field.
-
preferredLargeHeapBlockSize
public long preferredLargeHeapBlockSize()
Returns the value of thepreferredLargeHeapBlockSize
field.
-
pAllocationCallbacks
@Nullable public org.lwjgl.vulkan.VkAllocationCallbacks pAllocationCallbacks()
Returns aVkAllocationCallbacks
view of the struct pointed to by thepAllocationCallbacks
field.
-
pDeviceMemoryCallbacks
@Nullable public VmaDeviceMemoryCallbacks pDeviceMemoryCallbacks()
Returns aVmaDeviceMemoryCallbacks
view of the struct pointed to by thepDeviceMemoryCallbacks
field.
-
frameInUseCount
public int frameInUseCount()
Returns the value of theframeInUseCount
field.
-
pHeapSizeLimit
@Nullable public java.nio.LongBuffer pHeapSizeLimit(int capacity)
Returns aLongBuffer
view of the data pointed to by thepHeapSizeLimit
field.- Parameters:
capacity
- the number of elements in the returned buffer
-
pVulkanFunctions
public VmaVulkanFunctions pVulkanFunctions()
Returns aVmaVulkanFunctions
view of the struct pointed to by thepVulkanFunctions
field.
-
pRecordSettings
@Nullable public VmaRecordSettings pRecordSettings()
Returns aVmaRecordSettings
view of the struct pointed to by thepRecordSettings
field.
-
instance
@Nullable public long instance()
Returns the value of theinstance
field.
-
vulkanApiVersion
public int vulkanApiVersion()
Returns the value of thevulkanApiVersion
field.
-
flags
public VmaAllocatorCreateInfo flags(int value)
Sets the specified value to theflags
field.
-
physicalDevice
public VmaAllocatorCreateInfo physicalDevice(org.lwjgl.vulkan.VkPhysicalDevice value)
Sets the specified value to thephysicalDevice
field.
-
device
public VmaAllocatorCreateInfo device(org.lwjgl.vulkan.VkDevice value)
Sets the specified value to thedevice
field.
-
preferredLargeHeapBlockSize
public VmaAllocatorCreateInfo preferredLargeHeapBlockSize(long value)
Sets the specified value to thepreferredLargeHeapBlockSize
field.
-
pAllocationCallbacks
public VmaAllocatorCreateInfo pAllocationCallbacks(@Nullable org.lwjgl.vulkan.VkAllocationCallbacks value)
Sets the address of the specifiedVkAllocationCallbacks
to thepAllocationCallbacks
field.
-
pDeviceMemoryCallbacks
public VmaAllocatorCreateInfo pDeviceMemoryCallbacks(@Nullable VmaDeviceMemoryCallbacks value)
Sets the address of the specifiedVmaDeviceMemoryCallbacks
to thepDeviceMemoryCallbacks
field.
-
frameInUseCount
public VmaAllocatorCreateInfo frameInUseCount(int value)
Sets the specified value to theframeInUseCount
field.
-
pHeapSizeLimit
public VmaAllocatorCreateInfo pHeapSizeLimit(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepHeapSizeLimit
field.
-
pVulkanFunctions
public VmaAllocatorCreateInfo pVulkanFunctions(VmaVulkanFunctions value)
Sets the address of the specifiedVmaVulkanFunctions
to thepVulkanFunctions
field.
-
pRecordSettings
public VmaAllocatorCreateInfo pRecordSettings(@Nullable VmaRecordSettings value)
Sets the address of the specifiedVmaRecordSettings
to thepRecordSettings
field.
-
instance
public VmaAllocatorCreateInfo instance(@Nullable org.lwjgl.vulkan.VkInstance value)
Sets the specified value to theinstance
field.
-
vulkanApiVersion
public VmaAllocatorCreateInfo vulkanApiVersion(int value)
Sets the specified value to thevulkanApiVersion
field.
-
set
public VmaAllocatorCreateInfo set(int flags, org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, org.lwjgl.vulkan.VkDevice device, long preferredLargeHeapBlockSize, @Nullable org.lwjgl.vulkan.VkAllocationCallbacks pAllocationCallbacks, @Nullable VmaDeviceMemoryCallbacks pDeviceMemoryCallbacks, int frameInUseCount, @Nullable java.nio.LongBuffer pHeapSizeLimit, VmaVulkanFunctions pVulkanFunctions, @Nullable VmaRecordSettings pRecordSettings, @Nullable org.lwjgl.vulkan.VkInstance instance, int vulkanApiVersion)
Initializes this struct with the specified values.
-
set
public VmaAllocatorCreateInfo set(VmaAllocatorCreateInfo src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VmaAllocatorCreateInfo malloc()
Returns a newVmaAllocatorCreateInfo
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VmaAllocatorCreateInfo calloc()
Returns a newVmaAllocatorCreateInfo
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VmaAllocatorCreateInfo create()
Returns a newVmaAllocatorCreateInfo
instance allocated withBufferUtils
.
-
create
public static VmaAllocatorCreateInfo create(long address)
Returns a newVmaAllocatorCreateInfo
instance for the specified memory address.
-
createSafe
@Nullable public static VmaAllocatorCreateInfo createSafe(long address)
-
mallocStack
public static VmaAllocatorCreateInfo mallocStack()
Returns a newVmaAllocatorCreateInfo
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VmaAllocatorCreateInfo callocStack()
Returns a newVmaAllocatorCreateInfo
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VmaAllocatorCreateInfo mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVmaAllocatorCreateInfo
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VmaAllocatorCreateInfo callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVmaAllocatorCreateInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
nflags
public static int nflags(long struct)
Unsafe version offlags()
.
-
nphysicalDevice
public static long nphysicalDevice(long struct)
Unsafe version ofphysicalDevice()
.
-
ndevice
public static long ndevice(long struct)
Unsafe version ofdevice()
.
-
npreferredLargeHeapBlockSize
public static long npreferredLargeHeapBlockSize(long struct)
Unsafe version ofpreferredLargeHeapBlockSize()
.
-
npAllocationCallbacks
@Nullable public static org.lwjgl.vulkan.VkAllocationCallbacks npAllocationCallbacks(long struct)
Unsafe version ofpAllocationCallbacks()
.
-
npDeviceMemoryCallbacks
@Nullable public static VmaDeviceMemoryCallbacks npDeviceMemoryCallbacks(long struct)
Unsafe version ofpDeviceMemoryCallbacks()
.
-
nframeInUseCount
public static int nframeInUseCount(long struct)
Unsafe version offrameInUseCount()
.
-
npHeapSizeLimit
@Nullable public static java.nio.LongBuffer npHeapSizeLimit(long struct, int capacity)
Unsafe version ofpHeapSizeLimit
.
-
npVulkanFunctions
public static VmaVulkanFunctions npVulkanFunctions(long struct)
Unsafe version ofpVulkanFunctions()
.
-
npRecordSettings
@Nullable public static VmaRecordSettings npRecordSettings(long struct)
Unsafe version ofpRecordSettings()
.
-
ninstance
public static long ninstance(long struct)
Unsafe version ofinstance()
.
-
nvulkanApiVersion
public static int nvulkanApiVersion(long struct)
Unsafe version ofvulkanApiVersion()
.
-
nflags
public static void nflags(long struct, int value)
Unsafe version offlags
.
-
nphysicalDevice
public static void nphysicalDevice(long struct, org.lwjgl.vulkan.VkPhysicalDevice value)
Unsafe version ofphysicalDevice
.
-
ndevice
public static void ndevice(long struct, org.lwjgl.vulkan.VkDevice value)
Unsafe version ofdevice
.
-
npreferredLargeHeapBlockSize
public static void npreferredLargeHeapBlockSize(long struct, long value)
Unsafe version ofpreferredLargeHeapBlockSize
.
-
npAllocationCallbacks
public static void npAllocationCallbacks(long struct, @Nullable org.lwjgl.vulkan.VkAllocationCallbacks value)
Unsafe version ofpAllocationCallbacks
.
-
npDeviceMemoryCallbacks
public static void npDeviceMemoryCallbacks(long struct, @Nullable VmaDeviceMemoryCallbacks value)
Unsafe version ofpDeviceMemoryCallbacks
.
-
nframeInUseCount
public static void nframeInUseCount(long struct, int value)
Unsafe version offrameInUseCount
.
-
npHeapSizeLimit
public static void npHeapSizeLimit(long struct, @Nullable java.nio.LongBuffer value)
Unsafe version ofpHeapSizeLimit
.
-
npVulkanFunctions
public static void npVulkanFunctions(long struct, VmaVulkanFunctions value)
Unsafe version ofpVulkanFunctions
.
-
npRecordSettings
public static void npRecordSettings(long struct, @Nullable VmaRecordSettings value)
Unsafe version ofpRecordSettings
.
-
ninstance
public static void ninstance(long struct, @Nullable org.lwjgl.vulkan.VkInstance value)
Unsafe version ofinstance
.
-
nvulkanApiVersion
public static void nvulkanApiVersion(long struct, int value)
Unsafe version ofvulkanApiVersion
.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL
.- Parameters:
struct
- the struct to validate
-
validate
public static void validate(long array, int count)
Callsvalidate(long)
for each struct contained in the specified struct array.- Parameters:
array
- the struct array to validatecount
- the number of structs inarray
-
-