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.NativeResource
Structure specifying parameters of a newly created device.Valid Usage
- The
queueFamilyIndex
member of each element ofpQueueCreateInfos
must be unique withinpQueueCreateInfos
, except that two members can share the samequeueFamilyIndex
if one is a protected-capable queue and one is not a protected-capable queue. - If the
pNext
chain includes aVkPhysicalDeviceFeatures2
structure, thenpEnabledFeatures
must beNULL
ppEnabledExtensionNames
must not containVK_AMD_negative_viewport_height
Valid Usage (Implicit)
sType
must beSTRUCTURE_TYPE_DEVICE_CREATE_INFO
- Each
pNext
member of any structure (including this one) in thepNext
chain must be eitherNULL
or 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
sType
member in thepNext
chain must be unique flags
must be 0pQueueCreateInfos
must be a valid pointer to an array ofqueueCreateInfoCount
validVkDeviceQueueCreateInfo
structures- If
enabledLayerCount
is not 0,ppEnabledLayerNames
must be a valid pointer to an array ofenabledLayerCount
null-terminated UTF-8 strings - If
enabledExtensionCount
is not 0,ppEnabledExtensionNames
must be a valid pointer to an array ofenabledExtensionCount
null-terminated UTF-8 strings - If
pEnabledFeatures
is notNULL
,pEnabledFeatures
must be a valid pointer to a validVkPhysicalDeviceFeatures
structure queueCreateInfoCount
must be greater than 0
See Also
VkDeviceQueueCreateInfo
,VkPhysicalDeviceFeatures
,CreateDevice
Member documentation
sType
– the type of this structure.pNext
–NULL
or a pointer to an extension-specific structure.flags
– reserved for future use.queueCreateInfoCount
– the unsigned integer size of thepQueueCreateInfos
array. Refer to the Queue Creation section below for further details.pQueueCreateInfos
– a pointer to an array ofVkDeviceQueueCreateInfo
structures 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 ofenabledExtensionCount
null-terminated UTF-8 strings containing the names of extensions to enable for the created device. See the Extensions section for further details.pEnabledFeatures
–NULL
or a pointer to aVkPhysicalDeviceFeatures
structure 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;
VkDeviceQueueCreateInfo
const * pQueueCreateInfos; uint32_t enabledLayerCount; char const * const * ppEnabledLayerNames; uint32_t enabledExtensionCount; char const * const * ppEnabledExtensionNames;VkPhysicalDeviceFeatures
const * pEnabledFeatures; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkDeviceCreateInfo.Buffer
An array ofVkDeviceCreateInfo
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
ENABLEDEXTENSIONCOUNT
ENABLEDLAYERCOUNT
FLAGS
PENABLEDFEATURES
PNEXT
PPENABLEDEXTENSIONNAMES
PPENABLEDLAYERNAMES
PQUEUECREATEINFOS
QUEUECREATEINFOCOUNTThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STYPE
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkDeviceCreateInfo(java.nio.ByteBuffer container)
Creates aVkDeviceCreateInfo
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 VkDeviceCreateInfo
calloc()
Returns a newVkDeviceCreateInfo
instance allocated withmemCalloc
.static VkDeviceCreateInfo.Buffer
calloc(int capacity)
Returns a newVkDeviceCreateInfo.Buffer
instance allocated withmemCalloc
.static VkDeviceCreateInfo
callocStack()
Returns a newVkDeviceCreateInfo
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDeviceCreateInfo.Buffer
callocStack(int capacity)
Returns a newVkDeviceCreateInfo.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDeviceCreateInfo.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceCreateInfo.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDeviceCreateInfo
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceCreateInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDeviceCreateInfo
create()
Returns a newVkDeviceCreateInfo
instance allocated withBufferUtils
.static VkDeviceCreateInfo.Buffer
create(int capacity)
Returns a newVkDeviceCreateInfo.Buffer
instance allocated withBufferUtils
.static VkDeviceCreateInfo
create(long address)
Returns a newVkDeviceCreateInfo
instance for the specified memory address.static VkDeviceCreateInfo.Buffer
create(long address, int capacity)
Create aVkDeviceCreateInfo.Buffer
instance at the specified memory.static VkDeviceCreateInfo
createSafe(long address)
static VkDeviceCreateInfo.Buffer
createSafe(long address, int capacity)
int
enabledExtensionCount()
Returns the value of theenabledExtensionCount
field.int
enabledLayerCount()
Returns the value of theenabledLayerCount
field.int
flags()
Returns the value of theflags
field.VkDeviceCreateInfo
flags(int value)
Sets the specified value to theflags
field.static VkDeviceCreateInfo
malloc()
Returns a newVkDeviceCreateInfo
instance allocated withmemAlloc
.static VkDeviceCreateInfo.Buffer
malloc(int capacity)
Returns a newVkDeviceCreateInfo.Buffer
instance allocated withmemAlloc
.static VkDeviceCreateInfo
mallocStack()
Returns a newVkDeviceCreateInfo
instance allocated on the thread-localMemoryStack
.static VkDeviceCreateInfo.Buffer
mallocStack(int capacity)
Returns a newVkDeviceCreateInfo.Buffer
instance allocated on the thread-localMemoryStack
.static VkDeviceCreateInfo.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceCreateInfo.Buffer
instance allocated on the specifiedMemoryStack
.static VkDeviceCreateInfo
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceCreateInfo
instance allocated on the specifiedMemoryStack
.static int
nenabledExtensionCount(long struct)
Unsafe version ofenabledExtensionCount()
.static void
nenabledExtensionCount(long struct, int value)
Sets the specified value to theenabledExtensionCount
field of the specifiedstruct
.static int
nenabledLayerCount(long struct)
Unsafe version ofenabledLayerCount()
.static void
nenabledLayerCount(long struct, int value)
Sets the specified value to theenabledLayerCount
field of the specifiedstruct
.static int
nflags(long struct)
Unsafe version offlags()
.static void
nflags(long struct, int value)
Unsafe version offlags
.static VkPhysicalDeviceFeatures
npEnabledFeatures(long struct)
Unsafe version ofpEnabledFeatures()
.static void
npEnabledFeatures(long struct, VkPhysicalDeviceFeatures value)
Unsafe version ofpEnabledFeatures
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static org.lwjgl.PointerBuffer
nppEnabledExtensionNames(long struct)
Unsafe version ofppEnabledExtensionNames
.static void
nppEnabledExtensionNames(long struct, org.lwjgl.PointerBuffer value)
Unsafe version ofppEnabledExtensionNames
.static org.lwjgl.PointerBuffer
nppEnabledLayerNames(long struct)
Unsafe version ofppEnabledLayerNames
.static void
nppEnabledLayerNames(long struct, org.lwjgl.PointerBuffer value)
Unsafe version ofppEnabledLayerNames
.static VkDeviceQueueCreateInfo.Buffer
npQueueCreateInfos(long struct)
Unsafe version ofpQueueCreateInfos()
.static void
npQueueCreateInfos(long struct, VkDeviceQueueCreateInfo.Buffer value)
Unsafe version ofpQueueCreateInfos
.static int
nqueueCreateInfoCount(long struct)
Unsafe version ofqueueCreateInfoCount()
.static void
nqueueCreateInfoCount(long struct, int value)
Sets the specified value to thequeueCreateInfoCount
field of the specifiedstruct
.static int
nsType(long struct)
Unsafe version ofsType()
.static void
nsType(long struct, int value)
Unsafe version ofsType
.VkPhysicalDeviceFeatures
pEnabledFeatures()
Returns aVkPhysicalDeviceFeatures
view of the struct pointed to by thepEnabledFeatures
field.VkDeviceCreateInfo
pEnabledFeatures(VkPhysicalDeviceFeatures value)
Sets the address of the specifiedVkPhysicalDeviceFeatures
to thepEnabledFeatures
field.long
pNext()
Returns the value of thepNext
field.VkDeviceCreateInfo
pNext(long value)
Sets the specified value to thepNext
field.org.lwjgl.PointerBuffer
ppEnabledExtensionNames()
Returns aPointerBuffer
view of the data pointed to by theppEnabledExtensionNames
field.VkDeviceCreateInfo
ppEnabledExtensionNames(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to theppEnabledExtensionNames
field.org.lwjgl.PointerBuffer
ppEnabledLayerNames()
Returns aPointerBuffer
view of the data pointed to by theppEnabledLayerNames
field.VkDeviceCreateInfo
ppEnabledLayerNames(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to theppEnabledLayerNames
field.VkDeviceQueueCreateInfo.Buffer
pQueueCreateInfos()
Returns aVkDeviceQueueCreateInfo.Buffer
view of the struct array pointed to by thepQueueCreateInfos
field.VkDeviceCreateInfo
pQueueCreateInfos(VkDeviceQueueCreateInfo.Buffer value)
Sets the address of the specifiedVkDeviceQueueCreateInfo.Buffer
to thepQueueCreateInfos
field.int
queueCreateInfoCount()
Returns the value of thequeueCreateInfoCount
field.VkDeviceCreateInfo
set(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.VkDeviceCreateInfo
set(VkDeviceCreateInfo src)
Copies the specified struct data to this struct.int
sizeof()
int
sType()
Returns the value of thesType
field.VkDeviceCreateInfo
sType(int value)
Sets the specified value to thesType
field.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.
-
-
-
Constructor Detail
-
VkDeviceCreateInfo
public VkDeviceCreateInfo(java.nio.ByteBuffer container)
Creates aVkDeviceCreateInfo
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
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
flags
public int flags()
Returns the value of theflags
field.
-
queueCreateInfoCount
public int queueCreateInfoCount()
Returns the value of thequeueCreateInfoCount
field.
-
pQueueCreateInfos
public VkDeviceQueueCreateInfo.Buffer pQueueCreateInfos()
Returns aVkDeviceQueueCreateInfo.Buffer
view of the struct array pointed to by thepQueueCreateInfos
field.
-
enabledLayerCount
public int enabledLayerCount()
Returns the value of theenabledLayerCount
field.
-
ppEnabledLayerNames
@Nullable public org.lwjgl.PointerBuffer ppEnabledLayerNames()
Returns aPointerBuffer
view of the data pointed to by theppEnabledLayerNames
field.
-
enabledExtensionCount
public int enabledExtensionCount()
Returns the value of theenabledExtensionCount
field.
-
ppEnabledExtensionNames
@Nullable public org.lwjgl.PointerBuffer ppEnabledExtensionNames()
Returns aPointerBuffer
view of the data pointed to by theppEnabledExtensionNames
field.
-
pEnabledFeatures
@Nullable public VkPhysicalDeviceFeatures pEnabledFeatures()
Returns aVkPhysicalDeviceFeatures
view of the struct pointed to by thepEnabledFeatures
field.
-
sType
public VkDeviceCreateInfo sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkDeviceCreateInfo pNext(long value)
Sets the specified value to thepNext
field.
-
flags
public VkDeviceCreateInfo flags(int value)
Sets the specified value to theflags
field.
-
pQueueCreateInfos
public VkDeviceCreateInfo pQueueCreateInfos(VkDeviceQueueCreateInfo.Buffer value)
Sets the address of the specifiedVkDeviceQueueCreateInfo.Buffer
to thepQueueCreateInfos
field.
-
ppEnabledLayerNames
public VkDeviceCreateInfo ppEnabledLayerNames(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to theppEnabledLayerNames
field.
-
ppEnabledExtensionNames
public VkDeviceCreateInfo ppEnabledExtensionNames(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to theppEnabledExtensionNames
field.
-
pEnabledFeatures
public VkDeviceCreateInfo pEnabledFeatures(@Nullable VkPhysicalDeviceFeatures value)
Sets the address of the specifiedVkPhysicalDeviceFeatures
to thepEnabledFeatures
field.
-
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 newVkDeviceCreateInfo
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkDeviceCreateInfo calloc()
Returns a newVkDeviceCreateInfo
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkDeviceCreateInfo create()
Returns a newVkDeviceCreateInfo
instance allocated withBufferUtils
.
-
create
public static VkDeviceCreateInfo create(long address)
Returns a newVkDeviceCreateInfo
instance for the specified memory address.
-
createSafe
@Nullable public static VkDeviceCreateInfo createSafe(long address)
-
malloc
public static VkDeviceCreateInfo.Buffer malloc(int capacity)
Returns a newVkDeviceCreateInfo.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkDeviceCreateInfo.Buffer calloc(int capacity)
Returns a newVkDeviceCreateInfo.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDeviceCreateInfo.Buffer create(int capacity)
Returns a newVkDeviceCreateInfo.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDeviceCreateInfo.Buffer create(long address, int capacity)
Create aVkDeviceCreateInfo.Buffer
instance 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 newVkDeviceCreateInfo
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkDeviceCreateInfo callocStack()
Returns a newVkDeviceCreateInfo
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkDeviceCreateInfo mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceCreateInfo
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkDeviceCreateInfo callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceCreateInfo
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkDeviceCreateInfo.Buffer callocStack(int capacity)
Returns a newVkDeviceCreateInfo.Buffer
instance allocated on the thread-localMemoryStack
and 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.Buffer
instance 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.Buffer
instance allocated on the specifiedMemoryStack
and 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 thequeueCreateInfoCount
field 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 theenabledLayerCount
field 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 theenabledExtensionCount
field 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
-
-