Package org.lwjgl.vulkan
Class VkDeviceCreateInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDeviceCreateInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkDeviceCreateInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying parameters of a newly created device.Valid Usage
- The
queueFamilyIndexmember of each element ofpQueueCreateInfosmust be unique withinpQueueCreateInfos, except that two members can share the samequeueFamilyIndexif one is a protected-capable queue and one is not a protected-capable queue. - If the
pNextchain includes aVkPhysicalDeviceFeatures2structure, thenpEnabledFeaturesmust beNULL ppEnabledExtensionNamesmust not containVK_AMD_negative_viewport_height
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_DEVICE_CREATE_INFO- Each
pNextmember of any structure (including this one) in thepNextchain must be eitherNULLor a pointer to a valid instance ofVkDeviceGroupDeviceCreateInfo,VkDeviceMemoryOverallocationCreateInfoAMD,VkPhysicalDevice16BitStorageFeatures,VkPhysicalDevice8BitStorageFeaturesKHR,VkPhysicalDeviceASTCDecodeFeaturesEXT,VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT,VkPhysicalDeviceBufferDeviceAddressFeaturesEXT,VkPhysicalDeviceCoherentMemoryFeaturesAMD,VkPhysicalDeviceComputeShaderDerivativesFeaturesNV,VkPhysicalDeviceConditionalRenderingFeaturesEXT,VkPhysicalDeviceCooperativeMatrixFeaturesNV,VkPhysicalDeviceCornerSampledImageFeaturesNV,VkPhysicalDeviceCoverageReductionModeFeaturesNV,VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV,VkPhysicalDeviceDepthClipEnableFeaturesEXT,VkPhysicalDeviceDescriptorIndexingFeaturesEXT,VkPhysicalDeviceExclusiveScissorFeaturesNV,VkPhysicalDeviceFeatures2,VkPhysicalDeviceFragmentDensityMapFeaturesEXT,VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV,VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT,VkPhysicalDeviceHostQueryResetFeaturesEXT,VkPhysicalDeviceImagelessFramebufferFeaturesKHR,VkPhysicalDeviceIndexTypeUint8FeaturesEXT,VkPhysicalDeviceInlineUniformBlockFeaturesEXT,VkPhysicalDeviceLineRasterizationFeaturesEXT,VkPhysicalDeviceMemoryPriorityFeaturesEXT,VkPhysicalDeviceMeshShaderFeaturesNV,VkPhysicalDeviceMultiviewFeatures,VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR,VkPhysicalDeviceProtectedMemoryFeatures,VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV,VkPhysicalDeviceSamplerYcbcrConversionFeatures,VkPhysicalDeviceScalarBlockLayoutFeaturesEXT,VkPhysicalDeviceShaderAtomicInt64FeaturesKHR,VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT,VkPhysicalDeviceShaderDrawParametersFeatures,VkPhysicalDeviceShaderFloat16Int8FeaturesKHR,VkPhysicalDeviceShaderImageFootprintFeaturesNV,VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL,VkPhysicalDeviceShaderSMBuiltinsFeaturesNV,VkPhysicalDeviceShadingRateImageFeaturesNV,VkPhysicalDeviceSubgroupSizeControlFeaturesEXT,VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT,VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT,VkPhysicalDeviceTransformFeedbackFeaturesEXT,VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR,VkPhysicalDeviceVariablePointersFeatures,VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT,VkPhysicalDeviceVulkanMemoryModelFeaturesKHR, orVkPhysicalDeviceYcbcrImageArraysFeaturesEXT - Each
sTypemember in thepNextchain must be unique flagsmust be 0pQueueCreateInfosmust be a valid pointer to an array ofqueueCreateInfoCountvalidVkDeviceQueueCreateInfostructures- If
enabledLayerCountis not 0,ppEnabledLayerNamesmust be a valid pointer to an array ofenabledLayerCountnull-terminated UTF-8 strings - If
enabledExtensionCountis not 0,ppEnabledExtensionNamesmust be a valid pointer to an array ofenabledExtensionCountnull-terminated UTF-8 strings - If
pEnabledFeaturesis notNULL,pEnabledFeaturesmust be a valid pointer to a validVkPhysicalDeviceFeaturesstructure queueCreateInfoCountmust be greater than 0
See Also
VkDeviceQueueCreateInfo,VkPhysicalDeviceFeatures,CreateDeviceMember documentation
sType– the type of this structure.pNext–NULLor a pointer to an extension-specific structure.flags– reserved for future use.queueCreateInfoCount– the unsigned integer size of thepQueueCreateInfosarray. Refer to the Queue Creation section below for further details.pQueueCreateInfos– a pointer to an array ofVkDeviceQueueCreateInfostructures describing the queues that are requested to be created along with the logical device. Refer to the Queue Creation section below for further details.enabledLayerCount– deprecated and ignored.ppEnabledLayerNames– deprecated and ignored. See Device Layer Deprecation.enabledExtensionCount– the number of device extensions to enable.ppEnabledExtensionNames– a pointer to an array ofenabledExtensionCountnull-terminated UTF-8 strings containing the names of extensions to enable for the created device. See the Extensions section for further details.pEnabledFeatures–NULLor a pointer to aVkPhysicalDeviceFeaturesstructure that contains boolean indicators of all the features to be enabled. Refer to the Features section for further details.
Layout
struct VkDeviceCreateInfo { VkStructureType sType; void const * pNext; VkDeviceCreateFlags flags; uint32_t queueCreateInfoCount;VkDeviceQueueCreateInfoconst * pQueueCreateInfos; uint32_t enabledLayerCount; char const * const * ppEnabledLayerNames; uint32_t enabledExtensionCount; char const * const * ppEnabledExtensionNames;VkPhysicalDeviceFeaturesconst * pEnabledFeatures; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkDeviceCreateInfo.BufferAn array ofVkDeviceCreateInfostructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intENABLEDEXTENSIONCOUNT
ENABLEDLAYERCOUNT
FLAGS
PENABLEDFEATURES
PNEXT
PPENABLEDEXTENSIONNAMES
PPENABLEDLAYERNAMES
PQUEUECREATEINFOS
QUEUECREATEINFOCOUNTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkDeviceCreateInfo(java.nio.ByteBuffer container)Creates aVkDeviceCreateInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDeviceCreateInfocalloc()Returns a newVkDeviceCreateInfoinstance allocated withmemCalloc.static VkDeviceCreateInfo.Buffercalloc(int capacity)Returns a newVkDeviceCreateInfo.Bufferinstance allocated withmemCalloc.static VkDeviceCreateInfocallocStack()Returns a newVkDeviceCreateInfoinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDeviceCreateInfo.BuffercallocStack(int capacity)Returns a newVkDeviceCreateInfo.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDeviceCreateInfo.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceCreateInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceCreateInfocallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceCreateInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceCreateInfocreate()Returns a newVkDeviceCreateInfoinstance allocated withBufferUtils.static VkDeviceCreateInfo.Buffercreate(int capacity)Returns a newVkDeviceCreateInfo.Bufferinstance allocated withBufferUtils.static VkDeviceCreateInfocreate(long address)Returns a newVkDeviceCreateInfoinstance for the specified memory address.static VkDeviceCreateInfo.Buffercreate(long address, int capacity)Create aVkDeviceCreateInfo.Bufferinstance at the specified memory.static VkDeviceCreateInfocreateSafe(long address)static VkDeviceCreateInfo.BuffercreateSafe(long address, int capacity)intenabledExtensionCount()Returns the value of theenabledExtensionCountfield.intenabledLayerCount()Returns the value of theenabledLayerCountfield.intflags()Returns the value of theflagsfield.VkDeviceCreateInfoflags(int value)Sets the specified value to theflagsfield.static VkDeviceCreateInfomalloc()Returns a newVkDeviceCreateInfoinstance allocated withmemAlloc.static VkDeviceCreateInfo.Buffermalloc(int capacity)Returns a newVkDeviceCreateInfo.Bufferinstance allocated withmemAlloc.static VkDeviceCreateInfomallocStack()Returns a newVkDeviceCreateInfoinstance allocated on the thread-localMemoryStack.static VkDeviceCreateInfo.BuffermallocStack(int capacity)Returns a newVkDeviceCreateInfo.Bufferinstance allocated on the thread-localMemoryStack.static VkDeviceCreateInfo.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceCreateInfo.Bufferinstance allocated on the specifiedMemoryStack.static VkDeviceCreateInfomallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceCreateInfoinstance allocated on the specifiedMemoryStack.static intnenabledExtensionCount(long struct)Unsafe version ofenabledExtensionCount().static voidnenabledExtensionCount(long struct, int value)Sets the specified value to theenabledExtensionCountfield of the specifiedstruct.static intnenabledLayerCount(long struct)Unsafe version ofenabledLayerCount().static voidnenabledLayerCount(long struct, int value)Sets the specified value to theenabledLayerCountfield of the specifiedstruct.static intnflags(long struct)Unsafe version offlags().static voidnflags(long struct, int value)Unsafe version offlags.static VkPhysicalDeviceFeaturesnpEnabledFeatures(long struct)Unsafe version ofpEnabledFeatures().static voidnpEnabledFeatures(long struct, VkPhysicalDeviceFeatures value)Unsafe version ofpEnabledFeatures.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static org.lwjgl.PointerBuffernppEnabledExtensionNames(long struct)Unsafe version ofppEnabledExtensionNames.static voidnppEnabledExtensionNames(long struct, org.lwjgl.PointerBuffer value)Unsafe version ofppEnabledExtensionNames.static org.lwjgl.PointerBuffernppEnabledLayerNames(long struct)Unsafe version ofppEnabledLayerNames.static voidnppEnabledLayerNames(long struct, org.lwjgl.PointerBuffer value)Unsafe version ofppEnabledLayerNames.static VkDeviceQueueCreateInfo.BuffernpQueueCreateInfos(long struct)Unsafe version ofpQueueCreateInfos().static voidnpQueueCreateInfos(long struct, VkDeviceQueueCreateInfo.Buffer value)Unsafe version ofpQueueCreateInfos.static intnqueueCreateInfoCount(long struct)Unsafe version ofqueueCreateInfoCount().static voidnqueueCreateInfoCount(long struct, int value)Sets the specified value to thequeueCreateInfoCountfield of the specifiedstruct.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.VkPhysicalDeviceFeaturespEnabledFeatures()Returns aVkPhysicalDeviceFeaturesview of the struct pointed to by thepEnabledFeaturesfield.VkDeviceCreateInfopEnabledFeatures(VkPhysicalDeviceFeatures value)Sets the address of the specifiedVkPhysicalDeviceFeaturesto thepEnabledFeaturesfield.longpNext()Returns the value of thepNextfield.VkDeviceCreateInfopNext(long value)Sets the specified value to thepNextfield.org.lwjgl.PointerBufferppEnabledExtensionNames()Returns aPointerBufferview of the data pointed to by theppEnabledExtensionNamesfield.VkDeviceCreateInfoppEnabledExtensionNames(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto theppEnabledExtensionNamesfield.org.lwjgl.PointerBufferppEnabledLayerNames()Returns aPointerBufferview of the data pointed to by theppEnabledLayerNamesfield.VkDeviceCreateInfoppEnabledLayerNames(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto theppEnabledLayerNamesfield.VkDeviceQueueCreateInfo.BufferpQueueCreateInfos()Returns aVkDeviceQueueCreateInfo.Bufferview of the struct array pointed to by thepQueueCreateInfosfield.VkDeviceCreateInfopQueueCreateInfos(VkDeviceQueueCreateInfo.Buffer value)Sets the address of the specifiedVkDeviceQueueCreateInfo.Bufferto thepQueueCreateInfosfield.intqueueCreateInfoCount()Returns the value of thequeueCreateInfoCountfield.VkDeviceCreateInfoset(int sType, long pNext, int flags, VkDeviceQueueCreateInfo.Buffer pQueueCreateInfos, org.lwjgl.PointerBuffer ppEnabledLayerNames, org.lwjgl.PointerBuffer ppEnabledExtensionNames, VkPhysicalDeviceFeatures pEnabledFeatures)Initializes this struct with the specified values.VkDeviceCreateInfoset(VkDeviceCreateInfo src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkDeviceCreateInfosType(int value)Sets the specified value to thesTypefield.static voidvalidate(long struct)Validates pointer members that should not beNULL.static voidvalidate(long array, int count)Callsvalidate(long)for each struct contained in the specified struct array.
-
-
-
Constructor Detail
-
VkDeviceCreateInfo
public VkDeviceCreateInfo(java.nio.ByteBuffer container)
Creates aVkDeviceCreateInfoinstance 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
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
flags
public int flags()
Returns the value of theflagsfield.
-
queueCreateInfoCount
public int queueCreateInfoCount()
Returns the value of thequeueCreateInfoCountfield.
-
pQueueCreateInfos
public VkDeviceQueueCreateInfo.Buffer pQueueCreateInfos()
Returns aVkDeviceQueueCreateInfo.Bufferview of the struct array pointed to by thepQueueCreateInfosfield.
-
enabledLayerCount
public int enabledLayerCount()
Returns the value of theenabledLayerCountfield.
-
ppEnabledLayerNames
@Nullable public org.lwjgl.PointerBuffer ppEnabledLayerNames()
Returns aPointerBufferview of the data pointed to by theppEnabledLayerNamesfield.
-
enabledExtensionCount
public int enabledExtensionCount()
Returns the value of theenabledExtensionCountfield.
-
ppEnabledExtensionNames
@Nullable public org.lwjgl.PointerBuffer ppEnabledExtensionNames()
Returns aPointerBufferview of the data pointed to by theppEnabledExtensionNamesfield.
-
pEnabledFeatures
@Nullable public VkPhysicalDeviceFeatures pEnabledFeatures()
Returns aVkPhysicalDeviceFeaturesview of the struct pointed to by thepEnabledFeaturesfield.
-
sType
public VkDeviceCreateInfo sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkDeviceCreateInfo pNext(long value)
Sets the specified value to thepNextfield.
-
flags
public VkDeviceCreateInfo flags(int value)
Sets the specified value to theflagsfield.
-
pQueueCreateInfos
public VkDeviceCreateInfo pQueueCreateInfos(VkDeviceQueueCreateInfo.Buffer value)
Sets the address of the specifiedVkDeviceQueueCreateInfo.Bufferto thepQueueCreateInfosfield.
-
ppEnabledLayerNames
public VkDeviceCreateInfo ppEnabledLayerNames(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto theppEnabledLayerNamesfield.
-
ppEnabledExtensionNames
public VkDeviceCreateInfo ppEnabledExtensionNames(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto theppEnabledExtensionNamesfield.
-
pEnabledFeatures
public VkDeviceCreateInfo pEnabledFeatures(@Nullable VkPhysicalDeviceFeatures value)
Sets the address of the specifiedVkPhysicalDeviceFeaturesto thepEnabledFeaturesfield.
-
set
public VkDeviceCreateInfo set(int sType, long pNext, int flags, VkDeviceQueueCreateInfo.Buffer pQueueCreateInfos, @Nullable org.lwjgl.PointerBuffer ppEnabledLayerNames, @Nullable org.lwjgl.PointerBuffer ppEnabledExtensionNames, @Nullable VkPhysicalDeviceFeatures pEnabledFeatures)
Initializes this struct with the specified values.
-
set
public VkDeviceCreateInfo set(VkDeviceCreateInfo src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkDeviceCreateInfo malloc()
Returns a newVkDeviceCreateInfoinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDeviceCreateInfo calloc()
Returns a newVkDeviceCreateInfoinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDeviceCreateInfo create()
Returns a newVkDeviceCreateInfoinstance allocated withBufferUtils.
-
create
public static VkDeviceCreateInfo create(long address)
Returns a newVkDeviceCreateInfoinstance for the specified memory address.
-
createSafe
@Nullable public static VkDeviceCreateInfo createSafe(long address)
-
malloc
public static VkDeviceCreateInfo.Buffer malloc(int capacity)
Returns a newVkDeviceCreateInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDeviceCreateInfo.Buffer calloc(int capacity)
Returns a newVkDeviceCreateInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceCreateInfo.Buffer create(int capacity)
Returns a newVkDeviceCreateInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceCreateInfo.Buffer create(long address, int capacity)
Create aVkDeviceCreateInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkDeviceCreateInfo.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkDeviceCreateInfo mallocStack()
Returns a newVkDeviceCreateInfoinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkDeviceCreateInfo callocStack()
Returns a newVkDeviceCreateInfoinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkDeviceCreateInfo mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceCreateInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkDeviceCreateInfo callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceCreateInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkDeviceCreateInfo.Buffer mallocStack(int capacity)
Returns a newVkDeviceCreateInfo.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkDeviceCreateInfo.Buffer callocStack(int capacity)
Returns a newVkDeviceCreateInfo.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkDeviceCreateInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceCreateInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkDeviceCreateInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceCreateInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nflags
public static int nflags(long struct)
Unsafe version offlags().
-
nqueueCreateInfoCount
public static int nqueueCreateInfoCount(long struct)
Unsafe version ofqueueCreateInfoCount().
-
npQueueCreateInfos
public static VkDeviceQueueCreateInfo.Buffer npQueueCreateInfos(long struct)
Unsafe version ofpQueueCreateInfos().
-
nenabledLayerCount
public static int nenabledLayerCount(long struct)
Unsafe version ofenabledLayerCount().
-
nppEnabledLayerNames
@Nullable public static org.lwjgl.PointerBuffer nppEnabledLayerNames(long struct)
Unsafe version ofppEnabledLayerNames.
-
nenabledExtensionCount
public static int nenabledExtensionCount(long struct)
Unsafe version ofenabledExtensionCount().
-
nppEnabledExtensionNames
@Nullable public static org.lwjgl.PointerBuffer nppEnabledExtensionNames(long struct)
Unsafe version ofppEnabledExtensionNames.
-
npEnabledFeatures
@Nullable public static VkPhysicalDeviceFeatures npEnabledFeatures(long struct)
Unsafe version ofpEnabledFeatures().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nflags
public static void nflags(long struct, int value)Unsafe version offlags.
-
nqueueCreateInfoCount
public static void nqueueCreateInfoCount(long struct, int value)Sets the specified value to thequeueCreateInfoCountfield of the specifiedstruct.
-
npQueueCreateInfos
public static void npQueueCreateInfos(long struct, VkDeviceQueueCreateInfo.Buffer value)Unsafe version ofpQueueCreateInfos.
-
nenabledLayerCount
public static void nenabledLayerCount(long struct, int value)Sets the specified value to theenabledLayerCountfield of the specifiedstruct.
-
nppEnabledLayerNames
public static void nppEnabledLayerNames(long struct, @Nullable org.lwjgl.PointerBuffer value)Unsafe version ofppEnabledLayerNames.
-
nenabledExtensionCount
public static void nenabledExtensionCount(long struct, int value)Sets the specified value to theenabledExtensionCountfield of the specifiedstruct.
-
nppEnabledExtensionNames
public static void nppEnabledExtensionNames(long struct, @Nullable org.lwjgl.PointerBuffer value)Unsafe version ofppEnabledExtensionNames.
-
npEnabledFeatures
public static void npEnabledFeatures(long struct, @Nullable VkPhysicalDeviceFeatures value)Unsafe version ofpEnabledFeatures.
-
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
-
-