public class VkSubpassDependency2KHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
Parameters defined by this structure with the same name as those in VkSubpassDependency have the identical effect to those parameters.
viewOffset has the same effect for the described subpass dependency as VkRenderPassMultiviewCreateInfo::pViewOffsets has on each corresponding subpass dependency.
srcStageMask must not contain PIPELINE_STAGE_GEOMETRY_SHADER_BITdstStageMask must not contain PIPELINE_STAGE_GEOMETRY_SHADER_BITsrcStageMask must not contain PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT or PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BITdstStageMask must not contain PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT or PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BITsrcSubpass must be less than or equal to dstSubpass, unless one of them is SUBPASS_EXTERNAL, to avoid cyclic dependencies and ensure a valid execution ordersrcSubpass and dstSubpass must not both be equal to SUBPASS_EXTERNALsrcSubpass is equal to dstSubpass and not all of the stages in srcStageMask and dstStageMask are framebuffer-space stages, the logically latest pipeline stage in srcStageMask must be logically earlier than or equal to the logically earliest pipeline stage in dstStageMasksrcAccessMask must be supported by one of the pipeline stages in srcStageMask, as specified in the table of supported access typesdstAccessMask must be supported by one of the pipeline stages in dstStageMask, as specified in the table of supported access typesdependencyFlags includes DEPENDENCY_VIEW_LOCAL_BIT, srcSubpass must not be equal to SUBPASS_EXTERNALdependencyFlags includes DEPENDENCY_VIEW_LOCAL_BIT, dstSubpass must not be equal to SUBPASS_EXTERNALsrcSubpass equals dstSubpass, and srcStageMask and dstStageMask both include a framebuffer-space stage, then dependencyFlags must include DEPENDENCY_BY_REGION_BITviewOffset is not equal to 0, srcSubpass must not be equal to dstSubpassdependencyFlags does not include DEPENDENCY_VIEW_LOCAL_BIT, viewOffset must be 0viewOffset is not 0, srcSubpass must not be equal to dstSubpass.srcStageMask must not contain PIPELINE_STAGE_MESH_SHADER_BIT_NVsrcStageMask must not contain PIPELINE_STAGE_TASK_SHADER_BIT_NVdstStageMask must not contain PIPELINE_STAGE_MESH_SHADER_BIT_NVdstStageMask must not contain PIPELINE_STAGE_TASK_SHADER_BIT_NVsType must be STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2_KHRsrcStageMask must be a valid combination of VkPipelineStageFlagBits valuessrcStageMask must not be 0dstStageMask must be a valid combination of VkPipelineStageFlagBits valuesdstStageMask must not be 0srcAccessMask must be a valid combination of VkAccessFlagBits valuesdstAccessMask must be a valid combination of VkAccessFlagBits valuesdependencyFlags must be a valid combination of VkDependencyFlagBits valuessType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.srcSubpass – the subpass index of the first subpass in the dependency, or SUBPASS_EXTERNAL.dstSubpass – the subpass index of the second subpass in the dependency, or SUBPASS_EXTERNAL.srcStageMask – a bitmask of VkPipelineStageFlagBits specifying the source stage mask.dstStageMask – a bitmask of VkPipelineStageFlagBits specifying the destination stage masksrcAccessMask – a bitmask of VkAccessFlagBits specifying a source access mask.dstAccessMask – a bitmask of VkAccessFlagBits specifying a destination access mask.dependencyFlags – a bitmask of VkDependencyFlagBits.viewOffset – controls which views in the source subpass the views in the destination subpass depend on.
struct VkSubpassDependency2KHR {
VkStructureType sType;
void const * pNext;
uint32_t srcSubpass;
uint32_t dstSubpass;
VkPipelineStageFlags srcStageMask;
VkPipelineStageFlags dstStageMask;
VkAccessFlags srcAccessMask;
VkAccessFlags dstAccessMask;
VkDependencyFlags dependencyFlags;
int32_t viewOffset;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkSubpassDependency2KHR.Buffer
An array of
VkSubpassDependency2KHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DEPENDENCYFLAGS
The struct member offsets.
|
static int |
DSTACCESSMASK
The struct member offsets.
|
static int |
DSTSTAGEMASK
The struct member offsets.
|
static int |
DSTSUBPASS
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
SRCACCESSMASK
The struct member offsets.
|
static int |
SRCSTAGEMASK
The struct member offsets.
|
static int |
SRCSUBPASS
The struct member offsets.
|
static int |
STYPE
The struct member offsets.
|
static int |
VIEWOFFSET
The struct member offsets.
|
| Constructor and Description |
|---|
VkSubpassDependency2KHR(java.nio.ByteBuffer container)
Creates a
VkSubpassDependency2KHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkSubpassDependency2KHR |
calloc()
Returns a new
VkSubpassDependency2KHR instance allocated with memCalloc. |
static VkSubpassDependency2KHR.Buffer |
calloc(int capacity)
Returns a new
VkSubpassDependency2KHR.Buffer instance allocated with memCalloc. |
static VkSubpassDependency2KHR |
callocStack()
Returns a new
VkSubpassDependency2KHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSubpassDependency2KHR.Buffer |
callocStack(int capacity)
Returns a new
VkSubpassDependency2KHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSubpassDependency2KHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSubpassDependency2KHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSubpassDependency2KHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSubpassDependency2KHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSubpassDependency2KHR |
create()
Returns a new
VkSubpassDependency2KHR instance allocated with BufferUtils. |
static VkSubpassDependency2KHR.Buffer |
create(int capacity)
Returns a new
VkSubpassDependency2KHR.Buffer instance allocated with BufferUtils. |
static VkSubpassDependency2KHR |
create(long address)
Returns a new
VkSubpassDependency2KHR instance for the specified memory address. |
static VkSubpassDependency2KHR.Buffer |
create(long address,
int capacity)
Create a
VkSubpassDependency2KHR.Buffer instance at the specified memory. |
static VkSubpassDependency2KHR |
createSafe(long address)
|
static VkSubpassDependency2KHR.Buffer |
createSafe(long address,
int capacity)
|
int |
dependencyFlags()
Returns the value of the
dependencyFlags field. |
VkSubpassDependency2KHR |
dependencyFlags(int value)
Sets the specified value to the
dependencyFlags field. |
int |
dstAccessMask()
Returns the value of the
dstAccessMask field. |
VkSubpassDependency2KHR |
dstAccessMask(int value)
Sets the specified value to the
dstAccessMask field. |
int |
dstStageMask()
Returns the value of the
dstStageMask field. |
VkSubpassDependency2KHR |
dstStageMask(int value)
Sets the specified value to the
dstStageMask field. |
int |
dstSubpass()
Returns the value of the
dstSubpass field. |
VkSubpassDependency2KHR |
dstSubpass(int value)
Sets the specified value to the
dstSubpass field. |
static VkSubpassDependency2KHR |
malloc()
Returns a new
VkSubpassDependency2KHR instance allocated with memAlloc. |
static VkSubpassDependency2KHR.Buffer |
malloc(int capacity)
Returns a new
VkSubpassDependency2KHR.Buffer instance allocated with memAlloc. |
static VkSubpassDependency2KHR |
mallocStack()
Returns a new
VkSubpassDependency2KHR instance allocated on the thread-local MemoryStack. |
static VkSubpassDependency2KHR.Buffer |
mallocStack(int capacity)
Returns a new
VkSubpassDependency2KHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkSubpassDependency2KHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSubpassDependency2KHR.Buffer instance allocated on the specified MemoryStack. |
static VkSubpassDependency2KHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSubpassDependency2KHR instance allocated on the specified MemoryStack. |
static int |
ndependencyFlags(long struct)
Unsafe version of
dependencyFlags(). |
static void |
ndependencyFlags(long struct,
int value)
Unsafe version of
dependencyFlags. |
static int |
ndstAccessMask(long struct)
Unsafe version of
dstAccessMask(). |
static void |
ndstAccessMask(long struct,
int value)
Unsafe version of
dstAccessMask. |
static int |
ndstStageMask(long struct)
Unsafe version of
dstStageMask(). |
static void |
ndstStageMask(long struct,
int value)
Unsafe version of
dstStageMask. |
static int |
ndstSubpass(long struct)
Unsafe version of
dstSubpass(). |
static void |
ndstSubpass(long struct,
int value)
Unsafe version of
dstSubpass. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsrcAccessMask(long struct)
Unsafe version of
srcAccessMask(). |
static void |
nsrcAccessMask(long struct,
int value)
Unsafe version of
srcAccessMask. |
static int |
nsrcStageMask(long struct)
Unsafe version of
srcStageMask(). |
static void |
nsrcStageMask(long struct,
int value)
Unsafe version of
srcStageMask. |
static int |
nsrcSubpass(long struct)
Unsafe version of
srcSubpass(). |
static void |
nsrcSubpass(long struct,
int value)
Unsafe version of
srcSubpass. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static int |
nviewOffset(long struct)
Unsafe version of
viewOffset(). |
static void |
nviewOffset(long struct,
int value)
Unsafe version of
viewOffset. |
long |
pNext()
Returns the value of the
pNext field. |
VkSubpassDependency2KHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkSubpassDependency2KHR |
set(int sType,
long pNext,
int srcSubpass,
int dstSubpass,
int srcStageMask,
int dstStageMask,
int srcAccessMask,
int dstAccessMask,
int dependencyFlags,
int viewOffset)
Initializes this struct with the specified values.
|
VkSubpassDependency2KHR |
set(VkSubpassDependency2KHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
srcAccessMask()
Returns the value of the
srcAccessMask field. |
VkSubpassDependency2KHR |
srcAccessMask(int value)
Sets the specified value to the
srcAccessMask field. |
int |
srcStageMask()
Returns the value of the
srcStageMask field. |
VkSubpassDependency2KHR |
srcStageMask(int value)
Sets the specified value to the
srcStageMask field. |
int |
srcSubpass()
Returns the value of the
srcSubpass field. |
VkSubpassDependency2KHR |
srcSubpass(int value)
Sets the specified value to the
srcSubpass field. |
int |
sType()
Returns the value of the
sType field. |
VkSubpassDependency2KHR |
sType(int value)
Sets the specified value to the
sType field. |
int |
viewOffset()
Returns the value of the
viewOffset field. |
VkSubpassDependency2KHR |
viewOffset(int value)
Sets the specified value to the
viewOffset field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int SRCSUBPASS
public static final int DSTSUBPASS
public static final int SRCSTAGEMASK
public static final int DSTSTAGEMASK
public static final int SRCACCESSMASK
public static final int DSTACCESSMASK
public static final int DEPENDENCYFLAGS
public static final int VIEWOFFSET
public VkSubpassDependency2KHR(java.nio.ByteBuffer container)
VkSubpassDependency2KHR instance at the current position of the specified ByteBuffer 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int srcSubpass()
srcSubpass field.public int dstSubpass()
dstSubpass field.public int srcStageMask()
srcStageMask field.public int dstStageMask()
dstStageMask field.public int srcAccessMask()
srcAccessMask field.public int dstAccessMask()
dstAccessMask field.public int dependencyFlags()
dependencyFlags field.public int viewOffset()
viewOffset field.public VkSubpassDependency2KHR sType(int value)
sType field.public VkSubpassDependency2KHR pNext(long value)
pNext field.public VkSubpassDependency2KHR srcSubpass(int value)
srcSubpass field.public VkSubpassDependency2KHR dstSubpass(int value)
dstSubpass field.public VkSubpassDependency2KHR srcStageMask(int value)
srcStageMask field.public VkSubpassDependency2KHR dstStageMask(int value)
dstStageMask field.public VkSubpassDependency2KHR srcAccessMask(int value)
srcAccessMask field.public VkSubpassDependency2KHR dstAccessMask(int value)
dstAccessMask field.public VkSubpassDependency2KHR dependencyFlags(int value)
dependencyFlags field.public VkSubpassDependency2KHR viewOffset(int value)
viewOffset field.public VkSubpassDependency2KHR set(int sType, long pNext, int srcSubpass, int dstSubpass, int srcStageMask, int dstStageMask, int srcAccessMask, int dstAccessMask, int dependencyFlags, int viewOffset)
public VkSubpassDependency2KHR set(VkSubpassDependency2KHR src)
src - the source structpublic static VkSubpassDependency2KHR malloc()
VkSubpassDependency2KHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkSubpassDependency2KHR calloc()
VkSubpassDependency2KHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkSubpassDependency2KHR create()
VkSubpassDependency2KHR instance allocated with BufferUtils.public static VkSubpassDependency2KHR create(long address)
VkSubpassDependency2KHR instance for the specified memory address.@Nullable public static VkSubpassDependency2KHR createSafe(long address)
public static VkSubpassDependency2KHR.Buffer malloc(int capacity)
VkSubpassDependency2KHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSubpassDependency2KHR.Buffer calloc(int capacity)
VkSubpassDependency2KHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSubpassDependency2KHR.Buffer create(int capacity)
VkSubpassDependency2KHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkSubpassDependency2KHR.Buffer create(long address, int capacity)
VkSubpassDependency2KHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkSubpassDependency2KHR.Buffer createSafe(long address, int capacity)
public static VkSubpassDependency2KHR mallocStack()
VkSubpassDependency2KHR instance allocated on the thread-local MemoryStack.public static VkSubpassDependency2KHR callocStack()
VkSubpassDependency2KHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkSubpassDependency2KHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkSubpassDependency2KHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkSubpassDependency2KHR callocStack(org.lwjgl.system.MemoryStack stack)
VkSubpassDependency2KHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkSubpassDependency2KHR.Buffer mallocStack(int capacity)
VkSubpassDependency2KHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkSubpassDependency2KHR.Buffer callocStack(int capacity)
VkSubpassDependency2KHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkSubpassDependency2KHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSubpassDependency2KHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkSubpassDependency2KHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSubpassDependency2KHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nsrcSubpass(long struct)
srcSubpass().public static int ndstSubpass(long struct)
dstSubpass().public static int nsrcStageMask(long struct)
srcStageMask().public static int ndstStageMask(long struct)
dstStageMask().public static int nsrcAccessMask(long struct)
srcAccessMask().public static int ndstAccessMask(long struct)
dstAccessMask().public static int ndependencyFlags(long struct)
dependencyFlags().public static int nviewOffset(long struct)
viewOffset().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nsrcSubpass(long struct,
int value)
srcSubpass.public static void ndstSubpass(long struct,
int value)
dstSubpass.public static void nsrcStageMask(long struct,
int value)
srcStageMask.public static void ndstStageMask(long struct,
int value)
dstStageMask.public static void nsrcAccessMask(long struct,
int value)
srcAccessMask.public static void ndstAccessMask(long struct,
int value)
dstAccessMask.public static void ndependencyFlags(long struct,
int value)
dependencyFlags.public static void nviewOffset(long struct,
int value)
viewOffset.Copyright LWJGL. All Rights Reserved. License terms.