Package org.lwjgl.vulkan
Class VkPipelineShaderStageCreateInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPipelineShaderStageCreateInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPipelineShaderStageCreateInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying parameters of a newly created pipeline shader stage.Valid Usage
- If the geometry shaders feature is not enabled,
stagemust not beSHADER_STAGE_GEOMETRY_BIT - If the tessellation shaders feature is not enabled,
stagemust not beSHADER_STAGE_TESSELLATION_CONTROL_BITorSHADER_STAGE_TESSELLATION_EVALUATION_BIT - If the mesh shader feature is not enabled,
stagemust not beSHADER_STAGE_MESH_BIT_NV - If the task shader feature is not enabled,
stagemust not beSHADER_STAGE_TASK_BIT_NV stagemust not beSHADER_STAGE_ALL_GRAPHICS, orSHADER_STAGE_ALLpNamemust be the name of anOpEntryPointinmodulewith an execution model that matchesstage- If the identified entry point includes any variable in its interface that is declared with the
ClipDistanceBuiltIndecoration, that variable must not have an array size greater thanVkPhysicalDeviceLimits::maxClipDistances - If the identified entry point includes any variable in its interface that is declared with the
CullDistanceBuiltIndecoration, that variable must not have an array size greater thanVkPhysicalDeviceLimits::maxCullDistances - If the identified entry point includes any variables in its interface that are declared with the
ClipDistanceorCullDistanceBuiltIndecoration, those variables must not have array sizes which sum to more thanVkPhysicalDeviceLimits::maxCombinedClipAndCullDistances - If the identified entry point includes any variable in its interface that is declared with the
SampleMaskBuiltIndecoration, that variable must not have an array size greater thanVkPhysicalDeviceLimits::maxSampleMaskWords - If
stageisSHADER_STAGE_VERTEX_BIT, the identified entry point must not include any input variable in its interface that is decorated withCullDistance - If
stageisSHADER_STAGE_TESSELLATION_CONTROL_BITorSHADER_STAGE_TESSELLATION_EVALUATION_BIT, and the identified entry point has anOpExecutionModeinstruction specifying a patch size withOutputVertices, the patch size must be greater than 0 and less than or equal toVkPhysicalDeviceLimits::maxTessellationPatchSize - If
stageisSHADER_STAGE_GEOMETRY_BIT, the identified entry point must have anOpExecutionModeinstruction specifying a maximum output vertex count that is greater than 0 and less than or equal toVkPhysicalDeviceLimits::maxGeometryOutputVertices - If
stageisSHADER_STAGE_GEOMETRY_BIT, the identified entry point must have anOpExecutionModeinstruction specifying an invocation count that is greater than 0 and less than or equal toVkPhysicalDeviceLimits::maxGeometryShaderInvocations - If
stageis a pre-rasterization shader stage, and the identified entry point writes toLayerfor any primitive, it must write the same value toLayerfor all vertices of a given primitive - If
stageis a pre-rasterization shader stage, and the identified entry point writes toViewportIndexfor any primitive, it must write the same value toViewportIndexfor all vertices of a given primitive - If
stageisSHADER_STAGE_FRAGMENT_BIT, the identified entry point must not include any output variables in its interface decorated withCullDistance - If
stageisSHADER_STAGE_FRAGMENT_BIT, and the identified entry point writes toFragDepthin any execution path, it must write toFragDepthin all execution paths - If
stageisSHADER_STAGE_FRAGMENT_BIT, and the identified entry point writes toFragStencilRefEXTin any execution path, it must write toFragStencilRefEXTin all execution paths - If
stageisSHADER_STAGE_MESH_BIT_NV, the identified entry point must have anOpExecutionModeinstruction specifying a maximum output vertex count,OutputVertices, that is greater than 0 and less than or equal toVkPhysicalDeviceMeshShaderPropertiesNV::maxMeshOutputVertices - If
stageisSHADER_STAGE_MESH_BIT_NV, the identified entry point must have anOpExecutionModeinstruction specifying a maximum output primitive count,OutputPrimitivesNV, that is greater than 0 and less than or equal toVkPhysicalDeviceMeshShaderPropertiesNV::maxMeshOutputPrimitives - If
flagshas thePIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BITflag set, thesubgroupSizeControlfeature must be enabled - If
flagshas thePIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BITflag set, thecomputeFullSubgroupsfeature must be enabled - If a
VkPipelineShaderStageRequiredSubgroupSizeCreateInfostructure is included in thepNextchain,flagsmust not have thePIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BITflag set - If a
VkPipelineShaderStageRequiredSubgroupSizeCreateInfostructure is included in thepNextchain, thesubgroupSizeControlfeature must be enabled, andstagemust be a valid bit specified inrequiredSubgroupSizeStages - If a
VkPipelineShaderStageRequiredSubgroupSizeCreateInfostructure is included in thepNextchain andstageisSHADER_STAGE_COMPUTE_BIT, the local workgroup size of the shader must be less than or equal to the product ofVkPipelineShaderStageRequiredSubgroupSizeCreateInfo::requiredSubgroupSizeandmaxComputeWorkgroupSubgroups - If a
VkPipelineShaderStageRequiredSubgroupSizeCreateInfostructure is included in thepNextchain, andflagshas thePIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BITflag set, the local workgroup size in the X dimension of the pipeline must be a multiple ofVkPipelineShaderStageRequiredSubgroupSizeCreateInfo::requiredSubgroupSize - If
flagshas both thePIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BITandPIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BITflags set, the local workgroup size in the X dimension of the pipeline must be a multiple ofmaxSubgroupSize - If
flagshas thePIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BITflag set andflagsdoes not have thePIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BITflag set and noVkPipelineShaderStageRequiredSubgroupSizeCreateInfostructure is included in thepNextchain, the local workgroup size in the X dimension of the pipeline must be a multiple ofsubgroupSize - The SPIR-V code that was used to create
modulemust be valid as described by the Khronos SPIR-V Specification after applying the specializations provided inpSpecializationInfo, if any, and then converting all specialization constants into fixed constants
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFOpNextmust beNULLor a pointer to a valid instance ofVkPipelineShaderStageRequiredSubgroupSizeCreateInfo- The
sTypevalue of each struct in thepNextchain must be unique flagsmust be a valid combination ofVkPipelineShaderStageCreateFlagBitsvaluesstagemust be a validVkShaderStageFlagBitsvaluemodulemust be a validVkShaderModulehandlepNamemust be a null-terminated UTF-8 string- If
pSpecializationInfois notNULL,pSpecializationInfomust be a valid pointer to a validVkSpecializationInfostructure
See Also
VkComputePipelineCreateInfo,VkGraphicsPipelineCreateInfo,VkGraphicsShaderGroupCreateInfoNV,VkRayTracingPipelineCreateInfoKHR,VkRayTracingPipelineCreateInfoNV,VkSpecializationInfoLayout
struct VkPipelineShaderStageCreateInfo { VkStructureTypesType(); void const *pNext(); VkPipelineShaderStageCreateFlagsflags(); VkShaderStageFlagBitsstage(); VkShaderModulemodule(); char const *pName();VkSpecializationInfoconst *pSpecializationInfo(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPipelineShaderStageCreateInfo.BufferAn array ofVkPipelineShaderStageCreateInfostructs.
-
Constructor Summary
Constructors Constructor Description VkPipelineShaderStageCreateInfo(java.nio.ByteBuffer container)Creates aVkPipelineShaderStageCreateInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkPipelineShaderStageCreateInfocalloc()Returns a newVkPipelineShaderStageCreateInfoinstance allocated withmemCalloc.static VkPipelineShaderStageCreateInfo.Buffercalloc(int capacity)Returns a newVkPipelineShaderStageCreateInfo.Bufferinstance allocated withmemCalloc.static VkPipelineShaderStageCreateInfo.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineShaderStageCreateInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineShaderStageCreateInfocalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineShaderStageCreateInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineShaderStageCreateInfocallocStack()Deprecated.static VkPipelineShaderStageCreateInfo.BuffercallocStack(int capacity)Deprecated.static VkPipelineShaderStageCreateInfo.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineShaderStageCreateInfocallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineShaderStageCreateInfocreate()Returns a newVkPipelineShaderStageCreateInfoinstance allocated withBufferUtils.static VkPipelineShaderStageCreateInfo.Buffercreate(int capacity)Returns a newVkPipelineShaderStageCreateInfo.Bufferinstance allocated withBufferUtils.static VkPipelineShaderStageCreateInfocreate(long address)Returns a newVkPipelineShaderStageCreateInfoinstance for the specified memory address.static VkPipelineShaderStageCreateInfo.Buffercreate(long address, int capacity)Create aVkPipelineShaderStageCreateInfo.Bufferinstance at the specified memory.static VkPipelineShaderStageCreateInfocreateSafe(long address)static VkPipelineShaderStageCreateInfo.BuffercreateSafe(long address, int capacity)intflags()a bitmask ofVkPipelineShaderStageCreateFlagBitsspecifying how the pipeline shader stage will be generated.VkPipelineShaderStageCreateInfoflags(int value)Sets the specified value to theflags()field.static VkPipelineShaderStageCreateInfomalloc()Returns a newVkPipelineShaderStageCreateInfoinstance allocated withmemAlloc.static VkPipelineShaderStageCreateInfo.Buffermalloc(int capacity)Returns a newVkPipelineShaderStageCreateInfo.Bufferinstance allocated withmemAlloc.static VkPipelineShaderStageCreateInfo.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineShaderStageCreateInfo.Bufferinstance allocated on the specifiedMemoryStack.static VkPipelineShaderStageCreateInfomalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineShaderStageCreateInfoinstance allocated on the specifiedMemoryStack.static VkPipelineShaderStageCreateInfomallocStack()Deprecated.static VkPipelineShaderStageCreateInfo.BuffermallocStack(int capacity)Deprecated.static VkPipelineShaderStageCreateInfo.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineShaderStageCreateInfomallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.longmodule()aVkShaderModuleobject containing the shader for this stage.VkPipelineShaderStageCreateInfomodule(long value)Sets the specified value to themodule()field.static intnflags(long struct)Unsafe version offlags().static voidnflags(long struct, int value)Unsafe version offlags.static longnmodule(long struct)Unsafe version ofmodule().static voidnmodule(long struct, long value)Unsafe version ofmodule.static java.nio.ByteBuffernpName(long struct)Unsafe version ofpName().static voidnpName(long struct, java.nio.ByteBuffer value)Unsafe version ofpName.static java.lang.StringnpNameString(long struct)Unsafe version ofpNameString().static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static VkSpecializationInfonpSpecializationInfo(long struct)Unsafe version ofpSpecializationInfo().static voidnpSpecializationInfo(long struct, VkSpecializationInfo value)Unsafe version ofpSpecializationInfo.static intnstage(long struct)Unsafe version ofstage().static voidnstage(long struct, int value)Unsafe version ofstage.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.java.nio.ByteBufferpName()a pointer to a null-terminated UTF-8 string specifying the entry point name of the shader for this stage.VkPipelineShaderStageCreateInfopName(java.nio.ByteBuffer value)Sets the address of the specified encoded string to thepName()field.java.lang.StringpNameString()a pointer to a null-terminated UTF-8 string specifying the entry point name of the shader for this stage.longpNext()NULLor a pointer to a structure extending this structure.VkPipelineShaderStageCreateInfopNext(long value)Sets the specified value to thepNext()field.VkPipelineShaderStageCreateInfopNext(VkPipelineShaderStageRequiredSubgroupSizeCreateInfo value)Prepends the specifiedVkPipelineShaderStageRequiredSubgroupSizeCreateInfovalue to thepNextchain.VkPipelineShaderStageCreateInfopNext(VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT value)Prepends the specifiedVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXTvalue to thepNextchain.VkSpecializationInfopSpecializationInfo()VkPipelineShaderStageCreateInfopSpecializationInfo(VkSpecializationInfo value)Sets the address of the specifiedVkSpecializationInfoto thepSpecializationInfo()field.VkPipelineShaderStageCreateInfoset(int sType, long pNext, int flags, int stage, long module, java.nio.ByteBuffer pName, VkSpecializationInfo pSpecializationInfo)Initializes this struct with the specified values.VkPipelineShaderStageCreateInfoset(VkPipelineShaderStageCreateInfo src)Copies the specified struct data to this struct.intsizeof()intstage()aVkShaderStageFlagBitsvalue specifying a single pipeline stage.VkPipelineShaderStageCreateInfostage(int value)Sets the specified value to thestage()field.intsType()the type of this structure.VkPipelineShaderStageCreateInfosType(int value)Sets the specified value to thesType()field.VkPipelineShaderStageCreateInfosType$Default()Sets theSTRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFOvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkPipelineShaderStageCreateInfo
public VkPipelineShaderStageCreateInfo(java.nio.ByteBuffer container)
Creates aVkPipelineShaderStageCreateInfoinstance 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()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
flags
public int flags()
a bitmask ofVkPipelineShaderStageCreateFlagBitsspecifying how the pipeline shader stage will be generated.
-
stage
public int stage()
aVkShaderStageFlagBitsvalue specifying a single pipeline stage.
-
module
public long module()
aVkShaderModuleobject containing the shader for this stage.
-
pName, pNameString
public java.nio.ByteBuffer pName() public java.lang.String pNameString()
a pointer to a null-terminated UTF-8 string specifying the entry point name of the shader for this stage.
-
pSpecializationInfo
@Nullable public VkSpecializationInfo pSpecializationInfo()
-
sType
public VkPipelineShaderStageCreateInfo sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPipelineShaderStageCreateInfo sType$Default()
Sets theSTRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFOvalue to thesType()field.
-
pNext
public VkPipelineShaderStageCreateInfo pNext(long value)
Sets the specified value to thepNext()field.
-
pNext
public VkPipelineShaderStageCreateInfo pNext(VkPipelineShaderStageRequiredSubgroupSizeCreateInfo value)
Prepends the specifiedVkPipelineShaderStageRequiredSubgroupSizeCreateInfovalue to thepNextchain.
-
pNext
public VkPipelineShaderStageCreateInfo pNext(VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT value)
Prepends the specifiedVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXTvalue to thepNextchain.
-
flags
public VkPipelineShaderStageCreateInfo flags(int value)
Sets the specified value to theflags()field.
-
stage
public VkPipelineShaderStageCreateInfo stage(int value)
Sets the specified value to thestage()field.
-
module
public VkPipelineShaderStageCreateInfo module(long value)
Sets the specified value to themodule()field.
-
pName
public VkPipelineShaderStageCreateInfo pName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thepName()field.
-
pSpecializationInfo
public VkPipelineShaderStageCreateInfo pSpecializationInfo(@Nullable VkSpecializationInfo value)
Sets the address of the specifiedVkSpecializationInfoto thepSpecializationInfo()field.
-
set
public VkPipelineShaderStageCreateInfo set(int sType, long pNext, int flags, int stage, long module, java.nio.ByteBuffer pName, @Nullable VkSpecializationInfo pSpecializationInfo)
Initializes this struct with the specified values.
-
set
public VkPipelineShaderStageCreateInfo set(VkPipelineShaderStageCreateInfo src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPipelineShaderStageCreateInfo malloc()
Returns a newVkPipelineShaderStageCreateInfoinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPipelineShaderStageCreateInfo calloc()
Returns a newVkPipelineShaderStageCreateInfoinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPipelineShaderStageCreateInfo create()
Returns a newVkPipelineShaderStageCreateInfoinstance allocated withBufferUtils.
-
create
public static VkPipelineShaderStageCreateInfo create(long address)
Returns a newVkPipelineShaderStageCreateInfoinstance for the specified memory address.
-
createSafe
@Nullable public static VkPipelineShaderStageCreateInfo createSafe(long address)
-
malloc
public static VkPipelineShaderStageCreateInfo.Buffer malloc(int capacity)
Returns a newVkPipelineShaderStageCreateInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPipelineShaderStageCreateInfo.Buffer calloc(int capacity)
Returns a newVkPipelineShaderStageCreateInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineShaderStageCreateInfo.Buffer create(int capacity)
Returns a newVkPipelineShaderStageCreateInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineShaderStageCreateInfo.Buffer create(long address, int capacity)
Create aVkPipelineShaderStageCreateInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPipelineShaderStageCreateInfo.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPipelineShaderStageCreateInfo mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineShaderStageCreateInfo callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineShaderStageCreateInfo mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineShaderStageCreateInfo callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineShaderStageCreateInfo.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineShaderStageCreateInfo.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineShaderStageCreateInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineShaderStageCreateInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPipelineShaderStageCreateInfo malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineShaderStageCreateInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPipelineShaderStageCreateInfo calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineShaderStageCreateInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPipelineShaderStageCreateInfo.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineShaderStageCreateInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPipelineShaderStageCreateInfo.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineShaderStageCreateInfo.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().
-
nstage
public static int nstage(long struct)
Unsafe version ofstage().
-
nmodule
public static long nmodule(long struct)
Unsafe version ofmodule().
-
npName
public static java.nio.ByteBuffer npName(long struct)
Unsafe version ofpName().
-
npNameString
public static java.lang.String npNameString(long struct)
Unsafe version ofpNameString().
-
npSpecializationInfo
@Nullable public static VkSpecializationInfo npSpecializationInfo(long struct)
Unsafe version ofpSpecializationInfo().
-
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.
-
nstage
public static void nstage(long struct, int value)Unsafe version ofstage.
-
nmodule
public static void nmodule(long struct, long value)Unsafe version ofmodule.
-
npName
public static void npName(long struct, java.nio.ByteBuffer value)Unsafe version ofpName.
-
npSpecializationInfo
public static void npSpecializationInfo(long struct, @Nullable VkSpecializationInfo value)Unsafe version ofpSpecializationInfo.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-