This structure defines a memory dependency limited to an image subresource range, and can define a queue family transfer operation and image layout transition for that subresource range.
The first synchronization scope and access scope described by this structure include only operations and memory accesses specified by srcStageMask and srcAccessMask.
The second synchronization scope and access scope described by this structure include only operations and memory accesses specified by dstStageMask and dstAccessMask.
Both access scopes are limited to only memory accesses to image in the subresource range defined by subresourceRange.
If image was created with SHARING_MODE_EXCLUSIVE, and srcQueueFamilyIndex is not equal to dstQueueFamilyIndex, this memory barrier defines a queue family transfer operation. When executed on a queue in the family identified by srcQueueFamilyIndex, this barrier defines a queue family release operation for the specified image subresource range, and the second synchronization and access scopes do not synchronize operations on that queue. When executed on a queue in the family identified by dstQueueFamilyIndex, this barrier defines a queue family acquire operation for the specified image subresource range, and the first synchronization and access scopes do not synchronize operations on that queue.
A queue family transfer operation is also defined if the values are not equal, and either is one of the special queue family values reserved for external memory ownership transfers, as described in Queue Family Ownership Transfer. A queue family release operation is defined when dstQueueFamilyIndex is one of those values, and a queue family acquire operation is defined when srcQueueFamilyIndex is one of those values.
If oldLayout is not equal to newLayout, then the memory barrier defines an image layout transition for the specified image subresource range. If this memory barrier defines a queue family transfer operation, the layout transition is only executed once between the queues.
When the old and new layout are equal, the layout values are ignored - data is preserved no matter what values are specified, or what layout the image is currently in.
If image has a multi-planar format and the image is disjoint, then including IMAGE_ASPECT_COLOR_BIT in the aspectMask member of subresourceRange is equivalent to including IMAGE_ASPECT_PLANE_0_BIT, IMAGE_ASPECT_PLANE_1_BIT, and (for three-plane formats only) IMAGE_ASPECT_PLANE_2_BIT.
geometryShader feature is not enabled, srcStageMask must not contain PIPELINE_STAGE_2_GEOMETRY_SHADER_BITtessellationShader feature is not enabled, srcStageMask must not contain PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT or PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITconditionalRendering feature is not enabled, srcStageMask must not contain PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTfragmentDensityMap feature is not enabled, srcStageMask must not contain PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTtransformFeedback feature is not enabled, srcStageMask must not contain PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTmeshShader feature is not enabled, srcStageMask must not contain PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTtaskShader feature is not enabled, srcStageMask must not contain PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTshadingRateImage or attachmentFragmentShadingRate are enabled, srcStageMask must not contain PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRsubpassShading feature is not enabled, srcStageMask must not contain PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIinvocationMask feature is not enabled, srcStageMask must not contain PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIVK_NV_ray_tracing extension or rayTracingPipeline feature are enabled, srcStageMask must not contain PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRsrcAccessMask includes ACCESS_2_INDIRECT_COMMAND_READ_BIT, srcStageMask must include PIPELINE_STAGE_2_DRAW_INDIRECT_BIT, PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_INDEX_READ_BIT, srcStageMask must include PIPELINE_STAGE_2_INDEX_INPUT_BIT, PIPELINE_STAGE_2_VERTEX_INPUT_BIT, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT, srcStageMask must include PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT, PIPELINE_STAGE_2_VERTEX_INPUT_BIT, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_INPUT_ATTACHMENT_READ_BIT, srcStageMask must include PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT, PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEI, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_UNIFORM_READ_BIT, srcStageMask must include PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of the VK_PIPELINE_STAGE_*_SHADER_BIT stagessrcAccessMask includes ACCESS_2_SHADER_SAMPLED_READ_BIT, srcStageMask must include PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of the VK_PIPELINE_STAGE_*_SHADER_BIT stagessrcAccessMask includes ACCESS_2_SHADER_STORAGE_READ_BIT, srcStageMask must include PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of the VK_PIPELINE_STAGE_*_SHADER_BIT stagessrcAccessMask includes ACCESS_2_SHADER_STORAGE_WRITE_BIT, srcStageMask must include PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of the VK_PIPELINE_STAGE_*_SHADER_BIT stagessrcAccessMask includes ACCESS_2_SHADER_READ_BIT, srcStageMask must include PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, PIPELINE_STAGE_2_ALL_COMMANDS_BIT, PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXT, or one of the VK_PIPELINE_STAGE_*_SHADER_BIT stagessrcAccessMask includes ACCESS_2_SHADER_WRITE_BIT, srcStageMask must include PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of the VK_PIPELINE_STAGE_*_SHADER_BIT stagessrcAccessMask includes ACCESS_2_COLOR_ATTACHMENT_READ_BIT, srcStageMask must include PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT, srcStageMask must include PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT, srcStageMask must include PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT, PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT, srcStageMask must include PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT, PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_TRANSFER_READ_BIT, srcStageMask must include PIPELINE_STAGE_2_COPY_BIT, PIPELINE_STAGE_2_BLIT_BIT, PIPELINE_STAGE_2_RESOLVE_BIT, PIPELINE_STAGE_2_ALL_TRANSFER_BIT, PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR, or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_TRANSFER_WRITE_BIT, srcStageMask must include PIPELINE_STAGE_2_COPY_BIT, PIPELINE_STAGE_2_BLIT_BIT, PIPELINE_STAGE_2_RESOLVE_BIT, PIPELINE_STAGE_2_CLEAR_BIT, PIPELINE_STAGE_2_ALL_TRANSFER_BIT, PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR, or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_HOST_READ_BIT, srcStageMask must include PIPELINE_STAGE_2_HOST_BITsrcAccessMask includes ACCESS_2_HOST_WRITE_BIT, srcStageMask must include PIPELINE_STAGE_2_HOST_BITsrcAccessMask includes ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXT, srcStageMask must include PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXT, srcStageMask must include PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXT, srcStageMask must include PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT, srcStageMask must include PIPELINE_STAGE_2_DRAW_INDIRECT_BIT, PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT, srcStageMask must include PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NV, srcStageMask must include PIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NV, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEI, srcStageMask must include PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIsrcAccessMask includes ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NV, srcStageMask must include PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NV or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NV, srcStageMask must include PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NV or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT, srcStageMask must include PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITsrcAccessMask includes ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR, srcStageMask must include PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR, PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of the VK_PIPELINE_STAGE_*_SHADER_BIT stagessrcAccessMask includes ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHR, srcStageMask must include PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR, PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR or PIPELINE_STAGE_2_ALL_COMMANDS_BITrayQuery feature is not enabled and srcAccessMask includes ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR, srcStageMask must not include any of the VK_PIPELINE_STAGE_*_SHADER_BIT stages except PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRsrcAccessMask includes ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHR, srcStageMask must include PIPELINE_STAGE_2_ALL_COMMANDS_BIT or PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRsrcAccessMask includes ACCESS_2_VIDEO_DECODE_READ_BIT_KHR, srcStageMask must include PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRsrcAccessMask includes ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHR, srcStageMask must include PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRsrcAccessMask includes ACCESS_2_VIDEO_ENCODE_READ_BIT_KHR, srcStageMask must include PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRsrcAccessMask includes ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHR, srcStageMask must include PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRsrcAccessMask includes ACCESS_2_OPTICAL_FLOW_READ_BIT_NV, srcStageMask must include PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVsrcAccessMask includes ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NV, srcStageMask must include PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVsrcAccessMask includes ACCESS_2_MICROMAP_WRITE_BIT_EXT, srcStageMask must include PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTsrcAccessMask includes ACCESS_2_MICROMAP_READ_BIT_EXT, srcStageMask must include PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXT or PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRsrcAccessMask includes ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXT, srcStageMask must include PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of VK_PIPELINE_STAGE_*_SHADER_BIT stagesgeometryShader feature is not enabled, dstStageMask must not contain PIPELINE_STAGE_2_GEOMETRY_SHADER_BITtessellationShader feature is not enabled, dstStageMask must not contain PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT or PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITconditionalRendering feature is not enabled, dstStageMask must not contain PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTfragmentDensityMap feature is not enabled, dstStageMask must not contain PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTtransformFeedback feature is not enabled, dstStageMask must not contain PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTmeshShader feature is not enabled, dstStageMask must not contain PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTtaskShader feature is not enabled, dstStageMask must not contain PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTshadingRateImage or attachmentFragmentShadingRate are enabled, dstStageMask must not contain PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRsubpassShading feature is not enabled, dstStageMask must not contain PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIinvocationMask feature is not enabled, dstStageMask must not contain PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIVK_NV_ray_tracing extension or rayTracingPipeline feature are enabled, dstStageMask must not contain PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRdstAccessMask includes ACCESS_2_INDIRECT_COMMAND_READ_BIT, dstStageMask must include PIPELINE_STAGE_2_DRAW_INDIRECT_BIT, PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_INDEX_READ_BIT, dstStageMask must include PIPELINE_STAGE_2_INDEX_INPUT_BIT, PIPELINE_STAGE_2_VERTEX_INPUT_BIT, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT, dstStageMask must include PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT, PIPELINE_STAGE_2_VERTEX_INPUT_BIT, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_INPUT_ATTACHMENT_READ_BIT, dstStageMask must include PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT, PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEI, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_UNIFORM_READ_BIT, dstStageMask must include PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of the VK_PIPELINE_STAGE_*_SHADER_BIT stagesdstAccessMask includes ACCESS_2_SHADER_SAMPLED_READ_BIT, dstStageMask must include PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of the VK_PIPELINE_STAGE_*_SHADER_BIT stagesdstAccessMask includes ACCESS_2_SHADER_STORAGE_READ_BIT, dstStageMask must include PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of the VK_PIPELINE_STAGE_*_SHADER_BIT stagesdstAccessMask includes ACCESS_2_SHADER_STORAGE_WRITE_BIT, dstStageMask must include PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of the VK_PIPELINE_STAGE_*_SHADER_BIT stagesdstAccessMask includes ACCESS_2_SHADER_READ_BIT, dstStageMask must include PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, PIPELINE_STAGE_2_ALL_COMMANDS_BIT, PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXT, or one of the VK_PIPELINE_STAGE_*_SHADER_BIT stagesdstAccessMask includes ACCESS_2_SHADER_WRITE_BIT, dstStageMask must include PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of the VK_PIPELINE_STAGE_*_SHADER_BIT stagesdstAccessMask includes ACCESS_2_COLOR_ATTACHMENT_READ_BIT, dstStageMask must include PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT, dstStageMask must include PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT, dstStageMask must include PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT, PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT, dstStageMask must include PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT, PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_TRANSFER_READ_BIT, dstStageMask must include PIPELINE_STAGE_2_COPY_BIT, PIPELINE_STAGE_2_BLIT_BIT, PIPELINE_STAGE_2_RESOLVE_BIT, PIPELINE_STAGE_2_ALL_TRANSFER_BIT, PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR, or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_TRANSFER_WRITE_BIT, dstStageMask must include PIPELINE_STAGE_2_COPY_BIT, PIPELINE_STAGE_2_BLIT_BIT, PIPELINE_STAGE_2_RESOLVE_BIT, PIPELINE_STAGE_2_CLEAR_BIT, PIPELINE_STAGE_2_ALL_TRANSFER_BIT, PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR, or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_HOST_READ_BIT, dstStageMask must include PIPELINE_STAGE_2_HOST_BITdstAccessMask includes ACCESS_2_HOST_WRITE_BIT, dstStageMask must include PIPELINE_STAGE_2_HOST_BITdstAccessMask includes ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXT, dstStageMask must include PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXT, dstStageMask must include PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXT, dstStageMask must include PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT, dstStageMask must include PIPELINE_STAGE_2_DRAW_INDIRECT_BIT, PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT, dstStageMask must include PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NV, dstStageMask must include PIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NV, PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEI, dstStageMask must include PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIdstAccessMask includes ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NV, dstStageMask must include PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NV or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NV, dstStageMask must include PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NV or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT, dstStageMask must include PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or PIPELINE_STAGE_2_ALL_COMMANDS_BITdstAccessMask includes ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR, dstStageMask must include PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR, PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of the VK_PIPELINE_STAGE_*_SHADER_BIT stagesdstAccessMask includes ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHR, dstStageMask must include PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR, PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR or PIPELINE_STAGE_2_ALL_COMMANDS_BITrayQuery feature is not enabled and dstAccessMask includes ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR, dstStageMask must not include any of the VK_PIPELINE_STAGE_*_SHADER_BIT stages except PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRdstAccessMask includes ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHR, dstStageMask must include PIPELINE_STAGE_2_ALL_COMMANDS_BIT or PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRdstAccessMask includes ACCESS_2_VIDEO_DECODE_READ_BIT_KHR, dstStageMask must include PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRdstAccessMask includes ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHR, dstStageMask must include PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRdstAccessMask includes ACCESS_2_VIDEO_ENCODE_READ_BIT_KHR, dstStageMask must include PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRdstAccessMask includes ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHR, dstStageMask must include PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRdstAccessMask includes ACCESS_2_OPTICAL_FLOW_READ_BIT_NV, dstStageMask must include PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVdstAccessMask includes ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NV, dstStageMask must include PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVdstAccessMask includes ACCESS_2_MICROMAP_WRITE_BIT_EXT, dstStageMask must include PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTdstAccessMask includes ACCESS_2_MICROMAP_READ_BIT_EXT, dstStageMask must include PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXT or PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRdstAccessMask includes ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXT, dstStageMask must include PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of VK_PIPELINE_STAGE_*_SHADER_BIT stagessrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL then image must have been created with IMAGE_USAGE_COLOR_ATTACHMENT_BITsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL then image must have been created with IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BITsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL then image must have been created with IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BITsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL then image must have been created with IMAGE_USAGE_SAMPLED_BIT or IMAGE_USAGE_INPUT_ATTACHMENT_BITsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL then image must have been created with IMAGE_USAGE_TRANSFER_SRC_BITsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL then image must have been created with IMAGE_USAGE_TRANSFER_DST_BITsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, oldLayout must be IMAGE_LAYOUT_UNDEFINED or the current layout of the image subresources affected by the barriersrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, newLayout must not be IMAGE_LAYOUT_UNDEFINED or IMAGE_LAYOUT_PREINITIALIZEDsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL then image must have been created with IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BITsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL then image must have been created with IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BITsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL then image must have been created with at least one of IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT, IMAGE_USAGE_SAMPLED_BIT, or IMAGE_USAGE_INPUT_ATTACHMENT_BITsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL then image must have been created with IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT setsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL then image must have been created with at least one of IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT, IMAGE_USAGE_SAMPLED_BIT, or IMAGE_USAGE_INPUT_ATTACHMENT_BITsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL then image must have been created with IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT setsynchronization2 feature is not enabled, oldLayout must not be IMAGE_LAYOUT_ATTACHMENT_OPTIMAL_KHR or IMAGE_LAYOUT_READ_ONLY_OPTIMAL_KHRsynchronization2 feature is not enabled, newLayout must not be IMAGE_LAYOUT_ATTACHMENT_OPTIMAL_KHR or IMAGE_LAYOUT_READ_ONLY_OPTIMAL_KHRsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_ATTACHMENT_OPTIMAL, image must have been created with IMAGE_USAGE_COLOR_ATTACHMENT_BIT or IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BITsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_READ_ONLY_OPTIMAL, image must have been created with at least one of IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT, IMAGE_USAGE_SAMPLED_BIT, or IMAGE_USAGE_INPUT_ATTACHMENT_BITsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR then image must have been created with IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR setimage was created with a sharing mode of SHARING_MODE_EXCLUSIVE, and srcQueueFamilyIndex and dstQueueFamilyIndex are not equal, srcQueueFamilyIndex must be QUEUE_FAMILY_EXTERNAL, QUEUE_FAMILY_FOREIGN_EXT, or a valid queue familyimage was created with a sharing mode of SHARING_MODE_EXCLUSIVE, and srcQueueFamilyIndex and dstQueueFamilyIndex are not equal, dstQueueFamilyIndex must be QUEUE_FAMILY_EXTERNAL, QUEUE_FAMILY_FOREIGN_EXT, or a valid queue familysrcQueueFamilyIndex is not equal to dstQueueFamilyIndex, at least one of srcQueueFamilyIndex or dstQueueFamilyIndex must not be QUEUE_FAMILY_EXTERNAL or QUEUE_FAMILY_FOREIGN_EXTVK_KHR_external_memory extension is not enabled, and the value of VkApplicationInfo::apiVersion used to create the VkInstance is not greater than or equal to Version 1.1, srcQueueFamilyIndex must not be QUEUE_FAMILY_EXTERNALVK_KHR_external_memory extension is not enabled, and the value of VkApplicationInfo::apiVersion used to create the VkInstance is not greater than or equal to Version 1.1, dstQueueFamilyIndex must not be QUEUE_FAMILY_EXTERNALVK_EXT_queue_family_foreign extension is not enabled srcQueueFamilyIndex must not be QUEUE_FAMILY_FOREIGN_EXTVK_EXT_queue_family_foreign extension is not enabled dstQueueFamilyIndex must not be QUEUE_FAMILY_FOREIGN_EXTsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_VIDEO_DECODE_SRC_KHR then image must have been created with IMAGE_USAGE_VIDEO_DECODE_SRC_BIT_KHRsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_VIDEO_DECODE_DST_KHR then image must have been created with IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHRsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_VIDEO_DECODE_DPB_KHR then image must have been created with IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHRsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_VIDEO_ENCODE_SRC_KHR then image must have been created with IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHRsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_VIDEO_ENCODE_DST_KHR then image must have been created with IMAGE_USAGE_VIDEO_ENCODE_DST_BIT_KHRsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_VIDEO_ENCODE_DPB_KHR then image must have been created with IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHRsrcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT then image must have been created with either the IMAGE_USAGE_COLOR_ATTACHMENT_BIT or IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT usage bits, and the IMAGE_USAGE_INPUT_ATTACHMENT_BIT or IMAGE_USAGE_SAMPLED_BIT usage bits, and the IMAGE_USAGE_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT usage bitattachmentFeedbackLoopLayout feature is not enabled, newLayout must not be IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTsubresourceRange.baseMipLevel must be less than the mipLevels specified in VkImageCreateInfo when image was createdsubresourceRange.levelCount is not REMAINING_MIP_LEVELS, subresourceRange.baseMipLevel + subresourceRange.levelCount must be less than or equal to the mipLevels specified in VkImageCreateInfo when image was createdsubresourceRange.baseArrayLayer must be less than the arrayLayers specified in VkImageCreateInfo when image was createdsubresourceRange.layerCount is not REMAINING_ARRAY_LAYERS, subresourceRange.baseArrayLayer + subresourceRange.layerCount must be less than or equal to the arrayLayers specified in VkImageCreateInfo when image was createdimage is non-sparse then it must be bound completely and contiguously to a single VkDeviceMemory objectimage has a color format that is single-plane, then the aspectMask member of subresourceRange must be IMAGE_ASPECT_COLOR_BITimage has a color format and is not disjoint, then the aspectMask member of subresourceRange must be IMAGE_ASPECT_COLOR_BITimage has a multi-planar format and the image is disjoint, then the aspectMask member of subresourceRange must include at least one multi-planar aspect mask bit or IMAGE_ASPECT_COLOR_BITimage has a depth/stencil format with both depth and stencil and the separateDepthStencilLayouts feature is enabled, then the aspectMask member of subresourceRange must include either or both IMAGE_ASPECT_DEPTH_BIT and IMAGE_ASPECT_STENCIL_BITimage has a depth/stencil format with both depth and stencil and the separateDepthStencilLayouts feature is not enabled, then the aspectMask member of subresourceRange must include both IMAGE_ASPECT_DEPTH_BIT and IMAGE_ASPECT_STENCIL_BITaspectMask member of subresourceRange includes IMAGE_ASPECT_DEPTH_BIT, oldLayout and newLayout must not be one of IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL or IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMALaspectMask member of subresourceRange includes IMAGE_ASPECT_STENCIL_BIT, oldLayout and newLayout must not be one of IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL or IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMALsrcStageMask or dstStageMask includes PIPELINE_STAGE_2_HOST_BIT, srcQueueFamilyIndex and dstQueueFamilyIndex must be equalsrcStageMask includes PIPELINE_STAGE_2_HOST_BIT, and srcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, oldLayout must be one of IMAGE_LAYOUT_PREINITIALIZED, IMAGE_LAYOUT_UNDEFINED, or IMAGE_LAYOUT_GENERALsType must be STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2pNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkExternalMemoryAcquireUnmodifiedEXT or VkSampleLocationsInfoEXTsType value of each struct in the pNext chain must be uniquesrcStageMask must be a valid combination of VkPipelineStageFlagBits2 valuessrcAccessMask must be a valid combination of VkAccessFlagBits2 valuesdstStageMask must be a valid combination of VkPipelineStageFlagBits2 valuesdstAccessMask must be a valid combination of VkAccessFlagBits2 valuesoldLayout must be a valid VkImageLayout valuenewLayout must be a valid VkImageLayout valueimage must be a valid VkImage handlesubresourceRange must be a valid VkImageSubresourceRange structureVkDependencyInfo, VkImageSubresourceRange
struct VkImageMemoryBarrier2 {
VkStructureType sType;
void const * pNext;
VkPipelineStageFlags2 srcStageMask;
VkAccessFlags2 srcAccessMask;
VkPipelineStageFlags2 dstStageMask;
VkAccessFlags2 dstAccessMask;
VkImageLayout oldLayout;
VkImageLayout newLayout;
uint32_t srcQueueFamilyIndex;
uint32_t dstQueueFamilyIndex;
VkImage image;
VkImageSubresourceRange subresourceRange;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkImageMemoryBarrier2.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DSTACCESSMASK
The struct member offsets. |
| public static final int | DSTQUEUEFAMILYINDEX
The struct member offsets. |
| public static final int | DSTSTAGEMASK
The struct member offsets. |
| public static final int | IMAGE
The struct member offsets. |
| public static final int | NEWLAYOUT
The struct member offsets. |
| public static final int | OLDLAYOUT
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SRCACCESSMASK
The struct member offsets. |
| public static final int | SRCQUEUEFAMILYINDEX
The struct member offsets. |
| public static final int | SRCSTAGEMASK
The struct member offsets. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | SUBRESOURCERANGE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkImageMemoryBarrier2(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkImageMemoryBarrier2 | |
| public static VkImageMemoryBarrier2. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkImageMemoryBarrier2 | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImageMemoryBarrier2. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkImageMemoryBarrier2 | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkImageMemoryBarrier2 | |
| public static VkImageMemoryBarrier2 | |
| public static VkImageMemoryBarrier2. | create(int
the buffer capacity capacity)Returns a new |
| public static VkImageMemoryBarrier2. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkImageMemoryBarrier2 | |
| public static VkImageMemoryBarrier2. | |
| public long | |
| public VkImageMemoryBarrier2 | |
| public int | |
| public VkImageMemoryBarrier2 | |
| public long | dstStageMask()
a |
| public VkImageMemoryBarrier2 | |
| public long | |
| public VkImageMemoryBarrier2 | |
| public static VkImageMemoryBarrier2 | |
| public static VkImageMemoryBarrier2. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkImageMemoryBarrier2 | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImageMemoryBarrier2. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public int | |
| public VkImageMemoryBarrier2 | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static VkImageSubresourceRange | |
| public static void | |
| public int | |
| public VkImageMemoryBarrier2 | |
| public long | |
| public VkImageMemoryBarrier2 | |
| public VkImageMemoryBarrier2 | pNext(VkExternalMemoryAcquireUnmodifiedEXT value)
Prepends the specified |
| public VkImageMemoryBarrier2 | pNext(VkSampleLocationsInfoEXT value)
Prepends the specified |
| public VkImageMemoryBarrier2 | set(int sType, long pNext, long srcStageMask, long srcAccessMask, long dstStageMask, long dstAccessMask, int oldLayout, int newLayout, int srcQueueFamilyIndex, int dstQueueFamilyIndex, long image, VkImageSubresourceRange subresourceRange)
Initializes this struct with the specified values. |
| public VkImageMemoryBarrier2 | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public VkImageMemoryBarrier2 | |
| public int | |
| public VkImageMemoryBarrier2 | |
| public long | srcStageMask()
a |
| public VkImageMemoryBarrier2 | |
| public int | |
| public VkImageMemoryBarrier2 | |
| public VkImageMemoryBarrier2 | |
| public VkImageSubresourceRange | subresourceRange()
describes the image subresource range within |
| public VkImageMemoryBarrier2 | subresourceRange(VkImageSubresourceRange value)
Copies the specified |
| public VkImageMemoryBarrier2 | subresourceRange(Consumer<VkImageSubresourceRange> consumer)
Passes the |