Class VK13
- java.lang.Object
-
- org.lwjgl.vulkan.VK10
-
- org.lwjgl.vulkan.VK11
-
- org.lwjgl.vulkan.VK12
-
- org.lwjgl.vulkan.VK13
-
public class VK13 extends VK12
The core Vulkan 1.3 functionality.Vulkan Version 1.3 promoted a number of key extensions into the core API:
KHR_copy_commands2KHR_dynamic_renderingKHR_format_feature_flags2KHR_maintenance4KHR_shader_integer_dot_productKHR_shader_non_semantic_infoKHR_shader_terminate_invocationKHR_synchronization2KHR_zero_initialize_workgroup_memoryEXT_4444_formatsEXT_extended_dynamic_stateEXT_extended_dynamic_state2EXT_image_robustnessEXT_inline_uniform_blockEXT_pipeline_creation_cache_controlEXT_pipeline_creation_feedbackEXT_private_dataEXT_shader_demote_to_helper_invocationEXT_subgroup_size_controlEXT_texel_buffer_alignmentEXT_texture_compression_astc_hdrEXT_tooling_infoEXT_ycbcr_2plane_444_formats
All differences in behavior between these extensions and the corresponding Vulkan 1.3 functionality are summarized below.
Differences relative to
VK_EXT_4444_formatsIf the
VK_EXT_4444_formatsextension is not supported, support for all formats defined by it are optional in Vulkan 1.3. There are no members in theVkPhysicalDeviceVulkan13Featuresstructure corresponding to theVkPhysicalDevice4444FormatsFeaturesEXTstructure.Differences relative to
VK_EXT_extended_dynamic_stateAll dynamic state enumerants and entry points defined by
VK_EXT_extended_dynamic_stateare required in Vulkan 1.3. There are no members in theVkPhysicalDeviceVulkan13Featuresstructure corresponding to theVkPhysicalDeviceExtendedDynamicStateFeaturesEXTstructure.Differences relative to
VK_EXT_extended_dynamic_state2The optional dynamic state enumerants and entry points defined by
VK_EXT_extended_dynamic_state2for patch control points and logic op are not promoted in Vulkan 1.3. There are no members in theVkPhysicalDeviceVulkan13Featuresstructure corresponding to theVkPhysicalDeviceExtendedDynamicState2FeaturesEXTstructure.Differences relative to
VK_EXT_texel_buffer_alignmentThe more specific alignment requirements defined by
VkPhysicalDeviceTexelBufferAlignmentPropertiesare required in Vulkan 1.3. There are no members in theVkPhysicalDeviceVulkan13Featuresstructure corresponding to theVkPhysicalDeviceTexelBufferAlignmentFeaturesEXTstructure.Differences relative to
VK_EXT_texture_compression_astc_hdrIf the
VK_EXT_texture_compression_astc_hdrextension is not supported, support for all formats defined by it are optional in Vulkan 1.3. ThetextureCompressionASTC_HDRmember ofVkPhysicalDeviceVulkan13Featuresindicates whether a Vulkan 1.3 implementation supports these formats.Differences relative to
VK_EXT_ycbcr_2plane_444_formatsIf the
VK_EXT_ycbcr_2plane_444_formatsextension is not supported, support for all formats defined by it are optional in Vulkan 1.3. There are no members in theVkPhysicalDeviceVulkan13Featuresstructure corresponding to theVkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXTstructure.Additional Vulkan 1.3 Feature Support
In addition to the promoted extensions described above, Vulkan 1.3 added required support for:
- SPIR-V version 1.6. SPIR-V 1.6 deprecates (but does not remove) the WorkgroupSize decoration.
- The
bufferDeviceAddressfeature which indicates support for accessing memory in shaders as storage buffers viaGetBufferDeviceAddress. - The
vulkanMemoryModel,vulkanMemoryModelDeviceScope, andvulkanMemoryModelAvailabilityVisibilityChainsfeatures, which indicate support for the corresponding Vulkan Memory Model capabilities. - The
maxInlineUniformTotalSizelimit is added to provide the total size of all inline uniform block bindings in a pipeline layout.
-
-
Field Summary
-
Fields inherited from class org.lwjgl.vulkan.VK10
VK_ACCESS_COLOR_ATTACHMENT_READ_BIT, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT, VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, VK_ACCESS_HOST_WRITE_BIT, VK_ACCESS_INDEX_READ_BIT, VK_ACCESS_INDIRECT_COMMAND_READ_BIT, VK_ACCESS_INPUT_ATTACHMENT_READ_BIT, VK_ACCESS_MEMORY_READ_BIT, VK_ACCESS_MEMORY_WRITE_BIT, VK_ACCESS_SHADER_READ_BIT, VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_TRANSFER_READ_BIT, VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_UNIFORM_READ_BIT, VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT, VK_API_VERSION_1_0, VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT, VK_ATTACHMENT_LOAD_OP_CLEAR, VK_ATTACHMENT_LOAD_OP_DONT_CARE, VK_ATTACHMENT_LOAD_OP_LOAD, VK_ATTACHMENT_STORE_OP_DONT_CARE, VK_ATTACHMENT_STORE_OP_STORE, VK_ATTACHMENT_UNUSED, VK_BLEND_FACTOR_CONSTANT_ALPHA, VK_BLEND_FACTOR_CONSTANT_COLOR, VK_BLEND_FACTOR_DST_ALPHA, VK_BLEND_FACTOR_DST_COLOR, VK_BLEND_FACTOR_ONE, VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR, VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA, VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR, VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA, VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR, VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA, VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR, VK_BLEND_FACTOR_SRC_ALPHA, VK_BLEND_FACTOR_SRC_ALPHA_SATURATE, VK_BLEND_FACTOR_SRC_COLOR, VK_BLEND_FACTOR_SRC1_ALPHA, VK_BLEND_FACTOR_SRC1_COLOR, VK_BLEND_FACTOR_ZERO, VK_BLEND_OP_ADD, VK_BLEND_OP_MAX, VK_BLEND_OP_MIN, VK_BLEND_OP_REVERSE_SUBTRACT, VK_BLEND_OP_SUBTRACT, VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK, VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE, VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK, VK_BORDER_COLOR_INT_OPAQUE_BLACK, VK_BORDER_COLOR_INT_OPAQUE_WHITE, VK_BORDER_COLOR_INT_TRANSPARENT_BLACK, VK_BUFFER_CREATE_SPARSE_ALIASED_BIT, VK_BUFFER_CREATE_SPARSE_BINDING_BIT, VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT, VK_BUFFER_USAGE_INDEX_BUFFER_BIT, VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT, VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT, VK_BUFFER_USAGE_TRANSFER_DST_BIT, VK_BUFFER_USAGE_TRANSFER_SRC_BIT, VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT, VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT, VK_COLOR_COMPONENT_A_BIT, VK_COLOR_COMPONENT_B_BIT, VK_COLOR_COMPONENT_G_BIT, VK_COLOR_COMPONENT_R_BIT, VK_COMMAND_BUFFER_LEVEL_PRIMARY, VK_COMMAND_BUFFER_LEVEL_SECONDARY, VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT, VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT, VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT, VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT, VK_COMPARE_OP_ALWAYS, VK_COMPARE_OP_EQUAL, VK_COMPARE_OP_GREATER, VK_COMPARE_OP_GREATER_OR_EQUAL, VK_COMPARE_OP_LESS, VK_COMPARE_OP_LESS_OR_EQUAL, VK_COMPARE_OP_NEVER, VK_COMPARE_OP_NOT_EQUAL, VK_COMPONENT_SWIZZLE_A, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_IDENTITY, VK_COMPONENT_SWIZZLE_ONE, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_ZERO, VK_CULL_MODE_BACK_BIT, VK_CULL_MODE_FRONT_AND_BACK, VK_CULL_MODE_FRONT_BIT, VK_CULL_MODE_NONE, VK_DEPENDENCY_BY_REGION_BIT, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT, VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, VK_DESCRIPTOR_TYPE_SAMPLER, VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC, VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, VK_DYNAMIC_STATE_BLEND_CONSTANTS, VK_DYNAMIC_STATE_DEPTH_BIAS, VK_DYNAMIC_STATE_DEPTH_BOUNDS, VK_DYNAMIC_STATE_LINE_WIDTH, VK_DYNAMIC_STATE_SCISSOR, VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK, VK_DYNAMIC_STATE_STENCIL_REFERENCE, VK_DYNAMIC_STATE_STENCIL_WRITE_MASK, VK_DYNAMIC_STATE_VIEWPORT, VK_ERROR_DEVICE_LOST, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_FORMAT_NOT_SUPPORTED, VK_ERROR_FRAGMENTED_POOL, VK_ERROR_INCOMPATIBLE_DRIVER, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_MEMORY_MAP_FAILED, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_UNKNOWN, VK_EVENT_RESET, VK_EVENT_SET, VK_FALSE, VK_FENCE_CREATE_SIGNALED_BIT, VK_FILTER_LINEAR, VK_FILTER_NEAREST, VK_FORMAT_A1R5G5B5_UNORM_PACK16, VK_FORMAT_A2B10G10R10_SINT_PACK32, VK_FORMAT_A2B10G10R10_SNORM_PACK32, VK_FORMAT_A2B10G10R10_SSCALED_PACK32, VK_FORMAT_A2B10G10R10_UINT_PACK32, VK_FORMAT_A2B10G10R10_UNORM_PACK32, VK_FORMAT_A2B10G10R10_USCALED_PACK32, VK_FORMAT_A2R10G10B10_SINT_PACK32, VK_FORMAT_A2R10G10B10_SNORM_PACK32, VK_FORMAT_A2R10G10B10_SSCALED_PACK32, VK_FORMAT_A2R10G10B10_UINT_PACK32, VK_FORMAT_A2R10G10B10_UNORM_PACK32, VK_FORMAT_A2R10G10B10_USCALED_PACK32, VK_FORMAT_A8B8G8R8_SINT_PACK32, VK_FORMAT_A8B8G8R8_SNORM_PACK32, VK_FORMAT_A8B8G8R8_SRGB_PACK32, VK_FORMAT_A8B8G8R8_SSCALED_PACK32, VK_FORMAT_A8B8G8R8_UINT_PACK32, VK_FORMAT_A8B8G8R8_UNORM_PACK32, VK_FORMAT_A8B8G8R8_USCALED_PACK32, VK_FORMAT_ASTC_10x10_SRGB_BLOCK, VK_FORMAT_ASTC_10x10_UNORM_BLOCK, VK_FORMAT_ASTC_10x5_SRGB_BLOCK, VK_FORMAT_ASTC_10x5_UNORM_BLOCK, VK_FORMAT_ASTC_10x6_SRGB_BLOCK, VK_FORMAT_ASTC_10x6_UNORM_BLOCK, VK_FORMAT_ASTC_10x8_SRGB_BLOCK, VK_FORMAT_ASTC_10x8_UNORM_BLOCK, VK_FORMAT_ASTC_12x10_SRGB_BLOCK, VK_FORMAT_ASTC_12x10_UNORM_BLOCK, VK_FORMAT_ASTC_12x12_SRGB_BLOCK, VK_FORMAT_ASTC_12x12_UNORM_BLOCK, VK_FORMAT_ASTC_4x4_SRGB_BLOCK, VK_FORMAT_ASTC_4x4_UNORM_BLOCK, VK_FORMAT_ASTC_5x4_SRGB_BLOCK, VK_FORMAT_ASTC_5x4_UNORM_BLOCK, VK_FORMAT_ASTC_5x5_SRGB_BLOCK, VK_FORMAT_ASTC_5x5_UNORM_BLOCK, VK_FORMAT_ASTC_6x5_SRGB_BLOCK, VK_FORMAT_ASTC_6x5_UNORM_BLOCK, VK_FORMAT_ASTC_6x6_SRGB_BLOCK, VK_FORMAT_ASTC_6x6_UNORM_BLOCK, VK_FORMAT_ASTC_8x5_SRGB_BLOCK, VK_FORMAT_ASTC_8x5_UNORM_BLOCK, VK_FORMAT_ASTC_8x6_SRGB_BLOCK, VK_FORMAT_ASTC_8x6_UNORM_BLOCK, VK_FORMAT_ASTC_8x8_SRGB_BLOCK, VK_FORMAT_ASTC_8x8_UNORM_BLOCK, VK_FORMAT_B10G11R11_UFLOAT_PACK32, VK_FORMAT_B4G4R4A4_UNORM_PACK16, VK_FORMAT_B5G5R5A1_UNORM_PACK16, VK_FORMAT_B5G6R5_UNORM_PACK16, VK_FORMAT_B8G8R8_SINT, VK_FORMAT_B8G8R8_SNORM, VK_FORMAT_B8G8R8_SRGB, VK_FORMAT_B8G8R8_SSCALED, VK_FORMAT_B8G8R8_UINT, VK_FORMAT_B8G8R8_UNORM, VK_FORMAT_B8G8R8_USCALED, VK_FORMAT_B8G8R8A8_SINT, VK_FORMAT_B8G8R8A8_SNORM, VK_FORMAT_B8G8R8A8_SRGB, VK_FORMAT_B8G8R8A8_SSCALED, VK_FORMAT_B8G8R8A8_UINT, VK_FORMAT_B8G8R8A8_UNORM, VK_FORMAT_B8G8R8A8_USCALED, VK_FORMAT_BC1_RGB_SRGB_BLOCK, VK_FORMAT_BC1_RGB_UNORM_BLOCK, VK_FORMAT_BC1_RGBA_SRGB_BLOCK, VK_FORMAT_BC1_RGBA_UNORM_BLOCK, VK_FORMAT_BC2_SRGB_BLOCK, VK_FORMAT_BC2_UNORM_BLOCK, VK_FORMAT_BC3_SRGB_BLOCK, VK_FORMAT_BC3_UNORM_BLOCK, VK_FORMAT_BC4_SNORM_BLOCK, VK_FORMAT_BC4_UNORM_BLOCK, VK_FORMAT_BC5_SNORM_BLOCK, VK_FORMAT_BC5_UNORM_BLOCK, VK_FORMAT_BC6H_SFLOAT_BLOCK, VK_FORMAT_BC6H_UFLOAT_BLOCK, VK_FORMAT_BC7_SRGB_BLOCK, VK_FORMAT_BC7_UNORM_BLOCK, VK_FORMAT_D16_UNORM, VK_FORMAT_D16_UNORM_S8_UINT, VK_FORMAT_D24_UNORM_S8_UINT, VK_FORMAT_D32_SFLOAT, VK_FORMAT_D32_SFLOAT_S8_UINT, VK_FORMAT_E5B9G9R9_UFLOAT_PACK32, VK_FORMAT_EAC_R11_SNORM_BLOCK, VK_FORMAT_EAC_R11_UNORM_BLOCK, VK_FORMAT_EAC_R11G11_SNORM_BLOCK, VK_FORMAT_EAC_R11G11_UNORM_BLOCK, VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK, VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK, VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK, VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK, VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK, VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK, VK_FORMAT_FEATURE_BLIT_DST_BIT, VK_FORMAT_FEATURE_BLIT_SRC_BIT, VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT, VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT, VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT, VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT, VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT, VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT, VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT, VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT, VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT, VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT, VK_FORMAT_R16_SFLOAT, VK_FORMAT_R16_SINT, VK_FORMAT_R16_SNORM, VK_FORMAT_R16_SSCALED, VK_FORMAT_R16_UINT, VK_FORMAT_R16_UNORM, VK_FORMAT_R16_USCALED, VK_FORMAT_R16G16_SFLOAT, VK_FORMAT_R16G16_SINT, VK_FORMAT_R16G16_SNORM, VK_FORMAT_R16G16_SSCALED, VK_FORMAT_R16G16_UINT, VK_FORMAT_R16G16_UNORM, VK_FORMAT_R16G16_USCALED, VK_FORMAT_R16G16B16_SFLOAT, VK_FORMAT_R16G16B16_SINT, VK_FORMAT_R16G16B16_SNORM, VK_FORMAT_R16G16B16_SSCALED, VK_FORMAT_R16G16B16_UINT, VK_FORMAT_R16G16B16_UNORM, VK_FORMAT_R16G16B16_USCALED, VK_FORMAT_R16G16B16A16_SFLOAT, VK_FORMAT_R16G16B16A16_SINT, VK_FORMAT_R16G16B16A16_SNORM, VK_FORMAT_R16G16B16A16_SSCALED, VK_FORMAT_R16G16B16A16_UINT, VK_FORMAT_R16G16B16A16_UNORM, VK_FORMAT_R16G16B16A16_USCALED, VK_FORMAT_R32_SFLOAT, VK_FORMAT_R32_SINT, VK_FORMAT_R32_UINT, VK_FORMAT_R32G32_SFLOAT, VK_FORMAT_R32G32_SINT, VK_FORMAT_R32G32_UINT, VK_FORMAT_R32G32B32_SFLOAT, VK_FORMAT_R32G32B32_SINT, VK_FORMAT_R32G32B32_UINT, VK_FORMAT_R32G32B32A32_SFLOAT, VK_FORMAT_R32G32B32A32_SINT, VK_FORMAT_R32G32B32A32_UINT, VK_FORMAT_R4G4_UNORM_PACK8, VK_FORMAT_R4G4B4A4_UNORM_PACK16, VK_FORMAT_R5G5B5A1_UNORM_PACK16, VK_FORMAT_R5G6B5_UNORM_PACK16, VK_FORMAT_R64_SFLOAT, VK_FORMAT_R64_SINT, VK_FORMAT_R64_UINT, VK_FORMAT_R64G64_SFLOAT, VK_FORMAT_R64G64_SINT, VK_FORMAT_R64G64_UINT, VK_FORMAT_R64G64B64_SFLOAT, VK_FORMAT_R64G64B64_SINT, VK_FORMAT_R64G64B64_UINT, VK_FORMAT_R64G64B64A64_SFLOAT, VK_FORMAT_R64G64B64A64_SINT, VK_FORMAT_R64G64B64A64_UINT, VK_FORMAT_R8_SINT, VK_FORMAT_R8_SNORM, VK_FORMAT_R8_SRGB, VK_FORMAT_R8_SSCALED, VK_FORMAT_R8_UINT, VK_FORMAT_R8_UNORM, VK_FORMAT_R8_USCALED, VK_FORMAT_R8G8_SINT, VK_FORMAT_R8G8_SNORM, VK_FORMAT_R8G8_SRGB, VK_FORMAT_R8G8_SSCALED, VK_FORMAT_R8G8_UINT, VK_FORMAT_R8G8_UNORM, VK_FORMAT_R8G8_USCALED, VK_FORMAT_R8G8B8_SINT, VK_FORMAT_R8G8B8_SNORM, VK_FORMAT_R8G8B8_SRGB, VK_FORMAT_R8G8B8_SSCALED, VK_FORMAT_R8G8B8_UINT, VK_FORMAT_R8G8B8_UNORM, VK_FORMAT_R8G8B8_USCALED, VK_FORMAT_R8G8B8A8_SINT, VK_FORMAT_R8G8B8A8_SNORM, VK_FORMAT_R8G8B8A8_SRGB, VK_FORMAT_R8G8B8A8_SSCALED, VK_FORMAT_R8G8B8A8_UINT, VK_FORMAT_R8G8B8A8_UNORM, VK_FORMAT_R8G8B8A8_USCALED, VK_FORMAT_S8_UINT, VK_FORMAT_UNDEFINED, VK_FORMAT_X8_D24_UNORM_PACK32, VK_FRONT_FACE_CLOCKWISE, VK_FRONT_FACE_COUNTER_CLOCKWISE, VK_HEADER_VERSION, VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_ASPECT_DEPTH_BIT, VK_IMAGE_ASPECT_METADATA_BIT, VK_IMAGE_ASPECT_STENCIL_BIT, VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT, VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT, VK_IMAGE_CREATE_SPARSE_ALIASED_BIT, VK_IMAGE_CREATE_SPARSE_BINDING_BIT, VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_PREINITIALIZED, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_TILING_LINEAR, VK_IMAGE_TILING_OPTIMAL, VK_IMAGE_TYPE_1D, VK_IMAGE_TYPE_2D, VK_IMAGE_TYPE_3D, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT, VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT, VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT, VK_IMAGE_USAGE_SAMPLED_BIT, VK_IMAGE_USAGE_STORAGE_BIT, VK_IMAGE_USAGE_TRANSFER_DST_BIT, VK_IMAGE_USAGE_TRANSFER_SRC_BIT, VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT, VK_IMAGE_VIEW_TYPE_1D, VK_IMAGE_VIEW_TYPE_1D_ARRAY, VK_IMAGE_VIEW_TYPE_2D, VK_IMAGE_VIEW_TYPE_2D_ARRAY, VK_IMAGE_VIEW_TYPE_3D, VK_IMAGE_VIEW_TYPE_CUBE, VK_IMAGE_VIEW_TYPE_CUBE_ARRAY, VK_INCOMPLETE, VK_INDEX_TYPE_UINT16, VK_INDEX_TYPE_UINT32, VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE, VK_LOD_CLAMP_NONE, VK_LOGIC_OP_AND, VK_LOGIC_OP_AND_INVERTED, VK_LOGIC_OP_AND_REVERSE, VK_LOGIC_OP_CLEAR, VK_LOGIC_OP_COPY, VK_LOGIC_OP_COPY_INVERTED, VK_LOGIC_OP_EQUIVALENT, VK_LOGIC_OP_INVERT, VK_LOGIC_OP_NAND, VK_LOGIC_OP_NO_OP, VK_LOGIC_OP_NOR, VK_LOGIC_OP_OR, VK_LOGIC_OP_OR_INVERTED, VK_LOGIC_OP_OR_REVERSE, VK_LOGIC_OP_SET, VK_LOGIC_OP_XOR, VK_LUID_SIZE, VK_MAX_DESCRIPTION_SIZE, VK_MAX_DEVICE_GROUP_SIZE, VK_MAX_DRIVER_INFO_SIZE, VK_MAX_DRIVER_NAME_SIZE, VK_MAX_EXTENSION_NAME_SIZE, VK_MAX_MEMORY_HEAPS, VK_MAX_MEMORY_TYPES, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE, VK_MEMORY_HEAP_DEVICE_LOCAL_BIT, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, VK_MEMORY_PROPERTY_HOST_CACHED_BIT, VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT, VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT, VK_NOT_READY, VK_NULL_HANDLE, VK_OBJECT_TYPE_BUFFER, VK_OBJECT_TYPE_BUFFER_VIEW, VK_OBJECT_TYPE_COMMAND_BUFFER, VK_OBJECT_TYPE_COMMAND_POOL, VK_OBJECT_TYPE_DESCRIPTOR_POOL, VK_OBJECT_TYPE_DESCRIPTOR_SET, VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT, VK_OBJECT_TYPE_DEVICE, VK_OBJECT_TYPE_DEVICE_MEMORY, VK_OBJECT_TYPE_EVENT, VK_OBJECT_TYPE_FENCE, VK_OBJECT_TYPE_FRAMEBUFFER, VK_OBJECT_TYPE_IMAGE, VK_OBJECT_TYPE_IMAGE_VIEW, VK_OBJECT_TYPE_INSTANCE, VK_OBJECT_TYPE_PHYSICAL_DEVICE, VK_OBJECT_TYPE_PIPELINE, VK_OBJECT_TYPE_PIPELINE_CACHE, VK_OBJECT_TYPE_PIPELINE_LAYOUT, VK_OBJECT_TYPE_QUERY_POOL, VK_OBJECT_TYPE_QUEUE, VK_OBJECT_TYPE_RENDER_PASS, VK_OBJECT_TYPE_SAMPLER, VK_OBJECT_TYPE_SEMAPHORE, VK_OBJECT_TYPE_SHADER_MODULE, VK_OBJECT_TYPE_UNKNOWN, VK_PHYSICAL_DEVICE_TYPE_CPU, VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU, VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU, VK_PHYSICAL_DEVICE_TYPE_OTHER, VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU, VK_PIPELINE_BIND_POINT_COMPUTE, VK_PIPELINE_BIND_POINT_GRAPHICS, VK_PIPELINE_CACHE_HEADER_VERSION_ONE, VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT, VK_PIPELINE_CREATE_DERIVATIVE_BIT, VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT, VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT, VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT, VK_PIPELINE_STAGE_HOST_BIT, VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT, VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_VERTEX_INPUT_BIT, VK_PIPELINE_STAGE_VERTEX_SHADER_BIT, VK_POLYGON_MODE_FILL, VK_POLYGON_MODE_LINE, VK_POLYGON_MODE_POINT, VK_PRIMITIVE_TOPOLOGY_LINE_LIST, VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, VK_PRIMITIVE_TOPOLOGY_LINE_STRIP, VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY, VK_PRIMITIVE_TOPOLOGY_PATCH_LIST, VK_PRIMITIVE_TOPOLOGY_POINT_LIST, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY, VK_QUERY_CONTROL_PRECISE_BIT, VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT, VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT, VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT, VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT, VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT, VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT, VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT, VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT, VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT, VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT, VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT, VK_QUERY_RESULT_64_BIT, VK_QUERY_RESULT_PARTIAL_BIT, VK_QUERY_RESULT_WAIT_BIT, VK_QUERY_RESULT_WITH_AVAILABILITY_BIT, VK_QUERY_TYPE_OCCLUSION, VK_QUERY_TYPE_PIPELINE_STATISTICS, VK_QUERY_TYPE_TIMESTAMP, VK_QUEUE_COMPUTE_BIT, VK_QUEUE_FAMILY_EXTERNAL, VK_QUEUE_FAMILY_IGNORED, VK_QUEUE_GRAPHICS_BIT, VK_QUEUE_SPARSE_BINDING_BIT, VK_QUEUE_TRANSFER_BIT, VK_REMAINING_ARRAY_LAYERS, VK_REMAINING_MIP_LEVELS, VK_SAMPLE_COUNT_1_BIT, VK_SAMPLE_COUNT_16_BIT, VK_SAMPLE_COUNT_2_BIT, VK_SAMPLE_COUNT_32_BIT, VK_SAMPLE_COUNT_4_BIT, VK_SAMPLE_COUNT_64_BIT, VK_SAMPLE_COUNT_8_BIT, VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER, VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE, VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT, VK_SAMPLER_ADDRESS_MODE_REPEAT, VK_SAMPLER_MIPMAP_MODE_LINEAR, VK_SAMPLER_MIPMAP_MODE_NEAREST, VK_SHADER_STAGE_ALL, VK_SHADER_STAGE_ALL_GRAPHICS, VK_SHADER_STAGE_COMPUTE_BIT, VK_SHADER_STAGE_FRAGMENT_BIT, VK_SHADER_STAGE_GEOMETRY_BIT, VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT, VK_SHADER_STAGE_VERTEX_BIT, VK_SHARING_MODE_CONCURRENT, VK_SHARING_MODE_EXCLUSIVE, VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT, VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT, VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT, VK_SPARSE_MEMORY_BIND_METADATA_BIT, VK_STENCIL_FACE_BACK_BIT, VK_STENCIL_FACE_FRONT_AND_BACK, VK_STENCIL_FACE_FRONT_BIT, VK_STENCIL_FRONT_AND_BACK, VK_STENCIL_OP_DECREMENT_AND_CLAMP, VK_STENCIL_OP_DECREMENT_AND_WRAP, VK_STENCIL_OP_INCREMENT_AND_CLAMP, VK_STENCIL_OP_INCREMENT_AND_WRAP, VK_STENCIL_OP_INVERT, VK_STENCIL_OP_KEEP, VK_STENCIL_OP_REPLACE, VK_STENCIL_OP_ZERO, VK_STRUCTURE_TYPE_APPLICATION_INFO, VK_STRUCTURE_TYPE_BIND_SPARSE_INFO, VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO, VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER, VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO, VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO, VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO, VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO, VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO, VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO, VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET, VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO, VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO, VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO, VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO, VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO, VK_STRUCTURE_TYPE_EVENT_CREATE_INFO, VK_STRUCTURE_TYPE_FENCE_CREATE_INFO, VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO, VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO, VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO, VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO, VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO, VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO, VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE, VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO, VK_STRUCTURE_TYPE_MEMORY_BARRIER, VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO, VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO, VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO, VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO, VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO, VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO, VK_STRUCTURE_TYPE_SUBMIT_INFO, VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET, VK_SUBPASS_CONTENTS_INLINE, VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS, VK_SUBPASS_EXTERNAL, VK_SUCCESS, VK_SYSTEM_ALLOCATION_SCOPE_CACHE, VK_SYSTEM_ALLOCATION_SCOPE_COMMAND, VK_SYSTEM_ALLOCATION_SCOPE_DEVICE, VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT, VK_TIMEOUT, VK_TRUE, VK_UUID_SIZE, VK_VENDOR_ID_CODEPLAY, VK_VENDOR_ID_KAZAN, VK_VENDOR_ID_MESA, VK_VENDOR_ID_POCL, VK_VENDOR_ID_VIV, VK_VENDOR_ID_VSI, VK_VERTEX_INPUT_RATE_INSTANCE, VK_VERTEX_INPUT_RATE_VERTEX, VK_WHOLE_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VK11
VK_API_VERSION_1_1, VK_BUFFER_CREATE_PROTECTED_BIT, VK_CHROMA_LOCATION_COSITED_EVEN, VK_CHROMA_LOCATION_MIDPOINT, VK_COMMAND_POOL_CREATE_PROTECTED_BIT, VK_DEPENDENCY_DEVICE_GROUP_BIT, VK_DEPENDENCY_VIEW_LOCAL_BIT, VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET, VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT, VK_ERROR_INVALID_EXTERNAL_HANDLE, VK_ERROR_OUT_OF_POOL_MEMORY, VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT, VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT, VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT, VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT, VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT, VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT, VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT, VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT, VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT, VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT, VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT, VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT, VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT, VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT, VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT, VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT, VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT, VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT, VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE_BIT, VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT, VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT, VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT, VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT, VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT, VK_FENCE_IMPORT_TEMPORARY_BIT, VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16, VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16, VK_FORMAT_B16G16R16G16_422_UNORM, VK_FORMAT_B8G8R8G8_422_UNORM, VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT, VK_FORMAT_FEATURE_DISJOINT_BIT, VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT, VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT, VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT, VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT, VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT, VK_FORMAT_FEATURE_TRANSFER_DST_BIT, VK_FORMAT_FEATURE_TRANSFER_SRC_BIT, VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16, VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16, VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16, VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16, VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16, VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16, VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16, VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16, VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16, VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16, VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16, VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16, VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM, VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM, VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM, VK_FORMAT_G16_B16R16_2PLANE_420_UNORM, VK_FORMAT_G16_B16R16_2PLANE_422_UNORM, VK_FORMAT_G16B16G16R16_422_UNORM, VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM, VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM, VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM, VK_FORMAT_G8_B8R8_2PLANE_420_UNORM, VK_FORMAT_G8_B8R8_2PLANE_422_UNORM, VK_FORMAT_G8B8G8R8_422_UNORM, VK_FORMAT_R10X6_UNORM_PACK16, VK_FORMAT_R10X6G10X6_UNORM_2PACK16, VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16, VK_FORMAT_R12X4_UNORM_PACK16, VK_FORMAT_R12X4G12X4_UNORM_2PACK16, VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16, VK_IMAGE_ASPECT_PLANE_0_BIT, VK_IMAGE_ASPECT_PLANE_1_BIT, VK_IMAGE_ASPECT_PLANE_2_BIT, VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT, VK_IMAGE_CREATE_ALIAS_BIT, VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT, VK_IMAGE_CREATE_DISJOINT_BIT, VK_IMAGE_CREATE_EXTENDED_USAGE_BIT, VK_IMAGE_CREATE_PROTECTED_BIT, VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT, VK_MEMORY_HEAP_MULTI_INSTANCE_BIT, VK_MEMORY_PROPERTY_PROTECTED_BIT, VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE, VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION, VK_PEER_MEMORY_FEATURE_COPY_DST_BIT, VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT, VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT, VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT, VK_PIPELINE_CREATE_DISPATCH_BASE, VK_PIPELINE_CREATE_DISPATCH_BASE_BIT, VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT, VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES, VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY, VK_QUEUE_PROTECTED_BIT, VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY, VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020, VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601, VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709, VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY, VK_SAMPLER_YCBCR_RANGE_ITU_FULL, VK_SAMPLER_YCBCR_RANGE_ITU_NARROW, VK_SEMAPHORE_IMPORT_TEMPORARY_BIT, VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO, VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO, VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO, VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO, VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO, VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2, VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT, VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO, VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO, VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO, VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO, VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO, VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO, VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2, VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO, VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO, VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO, VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES, VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES, VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES, VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO, VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO, VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES, VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2, VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2, VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2, VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO, VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2, VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO, VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO, VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO, VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS, VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES, VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO, VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2, VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO, VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO, VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO, VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES, VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO, VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2, VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2, VK_SUBGROUP_FEATURE_ARITHMETIC_BIT, VK_SUBGROUP_FEATURE_BALLOT_BIT, VK_SUBGROUP_FEATURE_BASIC_BIT, VK_SUBGROUP_FEATURE_CLUSTERED_BIT, VK_SUBGROUP_FEATURE_QUAD_BIT, VK_SUBGROUP_FEATURE_SHUFFLE_BIT, VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT, VK_SUBGROUP_FEATURE_VOTE_BIT, VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT, VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT
-
Fields inherited from class org.lwjgl.vulkan.VK12
VK_API_VERSION_1_2, VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT, VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT, VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT, VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT, VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT, VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT, VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT, VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT, VK_DRIVER_ID_AMD_OPEN_SOURCE, VK_DRIVER_ID_AMD_PROPRIETARY, VK_DRIVER_ID_ARM_PROPRIETARY, VK_DRIVER_ID_BROADCOM_PROPRIETARY, VK_DRIVER_ID_COREAVI_PROPRIETARY, VK_DRIVER_ID_GGP_PROPRIETARY, VK_DRIVER_ID_GOOGLE_SWIFTSHADER, VK_DRIVER_ID_IMAGINATION_PROPRIETARY, VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA, VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS, VK_DRIVER_ID_JUICE_PROPRIETARY, VK_DRIVER_ID_MESA_LLVMPIPE, VK_DRIVER_ID_MESA_PANVK, VK_DRIVER_ID_MESA_RADV, VK_DRIVER_ID_MESA_TURNIP, VK_DRIVER_ID_MESA_V3DV, VK_DRIVER_ID_MESA_VENUS, VK_DRIVER_ID_MOLTENVK, VK_DRIVER_ID_NVIDIA_PROPRIETARY, VK_DRIVER_ID_QUALCOMM_PROPRIETARY, VK_DRIVER_ID_SAMSUNG_PROPRIETARY, VK_DRIVER_ID_VERISILICON_PROPRIETARY, VK_ERROR_FRAGMENTATION, VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS, VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT, VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT, VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT, VK_RESOLVE_MODE_AVERAGE_BIT, VK_RESOLVE_MODE_MAX_BIT, VK_RESOLVE_MODE_MIN_BIT, VK_RESOLVE_MODE_NONE, VK_RESOLVE_MODE_SAMPLE_ZERO_BIT, VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE, VK_SAMPLER_REDUCTION_MODE_MAX, VK_SAMPLER_REDUCTION_MODE_MIN, VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, VK_SEMAPHORE_TYPE_BINARY, VK_SEMAPHORE_TYPE_TIMELINE, VK_SEMAPHORE_WAIT_ANY_BIT, VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY, VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL, VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE, VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2, VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT, VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2, VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUT, VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO, VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO, VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO, VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO, VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT, VK_STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO, VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO, VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO, VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO, VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO, VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES, VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO, VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2, VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO, VK_STRUCTURE_TYPE_SEMAPHORE_SIGNAL_INFO, VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO, VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO, VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO, VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2, VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2, VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE, VK_STRUCTURE_TYPE_SUBPASS_END_INFO, VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidnvkCmdBeginRendering(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pRenderingInfo)Unsafe version of:CmdBeginRenderingstatic voidnvkCmdBindVertexBuffers2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int firstBinding, int bindingCount, long pBuffers, long pOffsets, long pSizes, long pStrides)Unsafe version of:CmdBindVertexBuffers2static voidnvkCmdBlitImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pBlitImageInfo)Unsafe version of:CmdBlitImage2static voidnvkCmdCopyBuffer2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pCopyBufferInfo)Unsafe version of:CmdCopyBuffer2static voidnvkCmdCopyBufferToImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pCopyBufferToImageInfo)Unsafe version of:CmdCopyBufferToImage2static voidnvkCmdCopyImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pCopyImageInfo)Unsafe version of:CmdCopyImage2static voidnvkCmdCopyImageToBuffer2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pCopyImageToBufferInfo)Unsafe version of:CmdCopyImageToBuffer2static voidnvkCmdPipelineBarrier2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pDependencyInfo)Unsafe version of:CmdPipelineBarrier2static voidnvkCmdResolveImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pResolveImageInfo)Unsafe version of:CmdResolveImage2static voidnvkCmdSetEvent2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long event, long pDependencyInfo)Unsafe version of:CmdSetEvent2static voidnvkCmdSetScissorWithCount(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int scissorCount, long pScissors)Unsafe version of:CmdSetScissorWithCountstatic voidnvkCmdSetViewportWithCount(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int viewportCount, long pViewports)Unsafe version of:CmdSetViewportWithCountstatic voidnvkCmdWaitEvents2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int eventCount, long pEvents, long pDependencyInfos)Unsafe version of:CmdWaitEvents2static intnvkCreatePrivateDataSlot(org.lwjgl.vulkan.VkDevice device, long pCreateInfo, long pAllocator, long pPrivateDataSlot)Unsafe version of:CreatePrivateDataSlotstatic voidnvkDestroyPrivateDataSlot(org.lwjgl.vulkan.VkDevice device, long privateDataSlot, long pAllocator)Unsafe version of:DestroyPrivateDataSlotstatic voidnvkGetDeviceBufferMemoryRequirements(org.lwjgl.vulkan.VkDevice device, long pInfo, long pMemoryRequirements)Unsafe version of:GetDeviceBufferMemoryRequirementsstatic voidnvkGetDeviceImageMemoryRequirements(org.lwjgl.vulkan.VkDevice device, long pInfo, long pMemoryRequirements)Unsafe version of:GetDeviceImageMemoryRequirementsstatic voidnvkGetDeviceImageSparseMemoryRequirements(org.lwjgl.vulkan.VkDevice device, long pInfo, long pSparseMemoryRequirementCount, long pSparseMemoryRequirements)Unsafe version of:GetDeviceImageSparseMemoryRequirementsstatic intnvkGetPhysicalDeviceToolProperties(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pToolCount, long pToolProperties)Unsafe version of:GetPhysicalDeviceToolPropertiesstatic voidnvkGetPrivateData(org.lwjgl.vulkan.VkDevice device, int objectType, long objectHandle, long privateDataSlot, long pData)Unsafe version of:GetPrivateDatastatic intnvkQueueSubmit2(org.lwjgl.vulkan.VkQueue queue, int submitCount, long pSubmits, long fence)Unsafe version of:QueueSubmit2static voidvkCmdBeginRendering(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkRenderingInfo pRenderingInfo)Begin a dynamic render pass instance.static voidvkCmdBindVertexBuffers2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int firstBinding, long[] pBuffers, long[] pOffsets, long[] pSizes, long[] pStrides)Array version of:CmdBindVertexBuffers2static voidvkCmdBindVertexBuffers2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int firstBinding, java.nio.LongBuffer pBuffers, java.nio.LongBuffer pOffsets, java.nio.LongBuffer pSizes, java.nio.LongBuffer pStrides)Bind vertex buffers to a command buffer and dynamically set strides.static voidvkCmdBlitImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkBlitImageInfo2 pBlitImageInfo)Copy regions of an image, potentially performing format conversion,.static voidvkCmdCopyBuffer2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkCopyBufferInfo2 pCopyBufferInfo)Copy data between buffer regions.static voidvkCmdCopyBufferToImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkCopyBufferToImageInfo2 pCopyBufferToImageInfo)Copy data from a buffer into an image.static voidvkCmdCopyImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkCopyImageInfo2 pCopyImageInfo)Copy data between images.static voidvkCmdCopyImageToBuffer2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkCopyImageToBufferInfo2 pCopyImageToBufferInfo)Copy image data into a buffer.static voidvkCmdEndRendering(org.lwjgl.vulkan.VkCommandBuffer commandBuffer)End a dynamic render pass instance.static voidvkCmdPipelineBarrier2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkDependencyInfo pDependencyInfo)Insert a memory dependency.static voidvkCmdResetEvent2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long event, long stageMask)Reset an event object to non-signaled state.static voidvkCmdResolveImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkResolveImageInfo2 pResolveImageInfo)Resolve regions of an image.static voidvkCmdSetCullMode(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int cullMode)Set cull mode dynamically for a command buffer.static voidvkCmdSetDepthBiasEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthBiasEnable)Control whether to bias fragment depth values dynamically for a command buffer.static voidvkCmdSetDepthBoundsTestEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthBoundsTestEnable)Set depth bounds test enable dynamically for a command buffer.static voidvkCmdSetDepthCompareOp(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int depthCompareOp)Set depth comparison operator dynamically for a command buffer.static voidvkCmdSetDepthTestEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthTestEnable)Set depth test enable dynamically for a command buffer.static voidvkCmdSetDepthWriteEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthWriteEnable)Set depth write enable dynamically for a command buffer.static voidvkCmdSetEvent2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long event, VkDependencyInfo pDependencyInfo)Set an event object to signaled state.static voidvkCmdSetFrontFace(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int frontFace)Set front face orientation dynamically for a command buffer.static voidvkCmdSetPrimitiveRestartEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean primitiveRestartEnable)Set primitive assembly restart state dynamically for a command buffer.static voidvkCmdSetPrimitiveTopology(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int primitiveTopology)Set primitive topology state dynamically for a command buffer.static voidvkCmdSetRasterizerDiscardEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean rasterizerDiscardEnable)Control whether primitives are discarded before the rasterization stage dynamically for a command buffer.static voidvkCmdSetScissorWithCount(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkRect2D.Buffer pScissors)Set the scissor count and scissor rectangular bounds dynamically for a command buffer.static voidvkCmdSetStencilOp(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int faceMask, int failOp, int passOp, int depthFailOp, int compareOp)Set stencil operation dynamically for a command buffer.static voidvkCmdSetStencilTestEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean stencilTestEnable)Set stencil test enable dynamically for a command buffer.static voidvkCmdSetViewportWithCount(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkViewport.Buffer pViewports)Set the viewport count and viewports dynamically for a command buffer.static voidvkCmdWaitEvents2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long[] pEvents, VkDependencyInfo.Buffer pDependencyInfos)Array version of:CmdWaitEvents2static voidvkCmdWaitEvents2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, java.nio.LongBuffer pEvents, VkDependencyInfo.Buffer pDependencyInfos)Wait for one or more events.static voidvkCmdWriteTimestamp2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long stage, long queryPool, int query)Write a device timestamp into a query object.static intvkCreatePrivateDataSlot(org.lwjgl.vulkan.VkDevice device, VkPrivateDataSlotCreateInfo pCreateInfo, VkAllocationCallbacks pAllocator, long[] pPrivateDataSlot)Array version of:CreatePrivateDataSlotstatic intvkCreatePrivateDataSlot(org.lwjgl.vulkan.VkDevice device, VkPrivateDataSlotCreateInfo pCreateInfo, VkAllocationCallbacks pAllocator, java.nio.LongBuffer pPrivateDataSlot)Create a slot for private data storage.static voidvkDestroyPrivateDataSlot(org.lwjgl.vulkan.VkDevice device, long privateDataSlot, VkAllocationCallbacks pAllocator)Destroy a private data slot.static voidvkGetDeviceBufferMemoryRequirements(org.lwjgl.vulkan.VkDevice device, VkDeviceBufferMemoryRequirements pInfo, VkMemoryRequirements2 pMemoryRequirements)Returns the memory requirements for specified Vulkan object.static voidvkGetDeviceImageMemoryRequirements(org.lwjgl.vulkan.VkDevice device, VkDeviceImageMemoryRequirements pInfo, VkMemoryRequirements2 pMemoryRequirements)Returns the memory requirements for specified Vulkan object.static voidvkGetDeviceImageSparseMemoryRequirements(org.lwjgl.vulkan.VkDevice device, VkDeviceImageMemoryRequirements pInfo, int[] pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2.Buffer pSparseMemoryRequirements)Array version of:GetDeviceImageSparseMemoryRequirementsstatic voidvkGetDeviceImageSparseMemoryRequirements(org.lwjgl.vulkan.VkDevice device, VkDeviceImageMemoryRequirements pInfo, java.nio.IntBuffer pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2.Buffer pSparseMemoryRequirements)Query the memory requirements for a sparse image.static intvkGetPhysicalDeviceToolProperties(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, int[] pToolCount, VkPhysicalDeviceToolProperties.Buffer pToolProperties)Array version of:GetPhysicalDeviceToolPropertiesstatic intvkGetPhysicalDeviceToolProperties(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, java.nio.IntBuffer pToolCount, VkPhysicalDeviceToolProperties.Buffer pToolProperties)Reports properties of tools active on the specified physical device.static voidvkGetPrivateData(org.lwjgl.vulkan.VkDevice device, int objectType, long objectHandle, long privateDataSlot, long[] pData)Array version of:GetPrivateDatastatic voidvkGetPrivateData(org.lwjgl.vulkan.VkDevice device, int objectType, long objectHandle, long privateDataSlot, java.nio.LongBuffer pData)Retrieve data associated with a Vulkan object.static intvkQueueSubmit2(org.lwjgl.vulkan.VkQueue queue, VkSubmitInfo2.Buffer pSubmits, long fence)Submits command buffers to a queue.static intvkSetPrivateData(org.lwjgl.vulkan.VkDevice device, int objectType, long objectHandle, long privateDataSlot, long data)Associate data with a Vulkan object.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.lwjgl.vulkan.VK10
nvkAllocateCommandBuffers, nvkAllocateDescriptorSets, nvkAllocateMemory, nvkBeginCommandBuffer, nvkCmdBeginRenderPass, nvkCmdBindDescriptorSets, nvkCmdBindVertexBuffers, nvkCmdBlitImage, nvkCmdClearAttachments, nvkCmdClearColorImage, nvkCmdClearDepthStencilImage, nvkCmdCopyBuffer, nvkCmdCopyBufferToImage, nvkCmdCopyImage, nvkCmdCopyImageToBuffer, nvkCmdExecuteCommands, nvkCmdPipelineBarrier, nvkCmdPushConstants, nvkCmdResolveImage, nvkCmdSetBlendConstants, nvkCmdSetScissor, nvkCmdSetViewport, nvkCmdUpdateBuffer, nvkCmdWaitEvents, nvkCreateBuffer, nvkCreateBufferView, nvkCreateCommandPool, nvkCreateComputePipelines, nvkCreateDescriptorPool, nvkCreateDescriptorSetLayout, nvkCreateDevice, nvkCreateEvent, nvkCreateFence, nvkCreateFramebuffer, nvkCreateGraphicsPipelines, nvkCreateImage, nvkCreateImageView, nvkCreateInstance, nvkCreatePipelineCache, nvkCreatePipelineLayout, nvkCreateQueryPool, nvkCreateRenderPass, nvkCreateSampler, nvkCreateSemaphore, nvkCreateShaderModule, nvkDestroyBuffer, nvkDestroyBufferView, nvkDestroyCommandPool, nvkDestroyDescriptorPool, nvkDestroyDescriptorSetLayout, nvkDestroyDevice, nvkDestroyEvent, nvkDestroyFence, nvkDestroyFramebuffer, nvkDestroyImage, nvkDestroyImageView, nvkDestroyInstance, nvkDestroyPipeline, nvkDestroyPipelineCache, nvkDestroyPipelineLayout, nvkDestroyQueryPool, nvkDestroyRenderPass, nvkDestroySampler, nvkDestroySemaphore, nvkDestroyShaderModule, nvkEnumerateDeviceExtensionProperties, nvkEnumerateDeviceLayerProperties, nvkEnumerateInstanceExtensionProperties, nvkEnumerateInstanceLayerProperties, nvkEnumeratePhysicalDevices, nvkFlushMappedMemoryRanges, nvkFreeCommandBuffers, nvkFreeDescriptorSets, nvkFreeMemory, nvkGetBufferMemoryRequirements, nvkGetDeviceMemoryCommitment, nvkGetDeviceProcAddr, nvkGetDeviceQueue, nvkGetImageMemoryRequirements, nvkGetImageSparseMemoryRequirements, nvkGetImageSubresourceLayout, nvkGetInstanceProcAddr, nvkGetPhysicalDeviceFeatures, nvkGetPhysicalDeviceFormatProperties, nvkGetPhysicalDeviceImageFormatProperties, nvkGetPhysicalDeviceMemoryProperties, nvkGetPhysicalDeviceProperties, nvkGetPhysicalDeviceQueueFamilyProperties, nvkGetPhysicalDeviceSparseImageFormatProperties, nvkGetPipelineCacheData, nvkGetQueryPoolResults, nvkGetRenderAreaGranularity, nvkInvalidateMappedMemoryRanges, nvkMapMemory, nvkMergePipelineCaches, nvkQueueBindSparse, nvkQueueSubmit, nvkResetFences, nvkUpdateDescriptorSets, nvkWaitForFences, VK_API_VERSION_MAJOR, VK_API_VERSION_MINOR, VK_API_VERSION_PATCH, VK_API_VERSION_VARIANT, VK_MAKE_API_VERSION, VK_MAKE_VERSION, VK_VERSION_MAJOR, VK_VERSION_MINOR, VK_VERSION_PATCH, vkAllocateCommandBuffers, vkAllocateDescriptorSets, vkAllocateDescriptorSets, vkAllocateMemory, vkAllocateMemory, vkBeginCommandBuffer, vkBindBufferMemory, vkBindImageMemory, vkCmdBeginQuery, vkCmdBeginRenderPass, vkCmdBindDescriptorSets, vkCmdBindDescriptorSets, vkCmdBindIndexBuffer, vkCmdBindPipeline, vkCmdBindVertexBuffers, vkCmdBindVertexBuffers, vkCmdBlitImage, vkCmdClearAttachments, vkCmdClearColorImage, vkCmdClearColorImage, vkCmdClearDepthStencilImage, vkCmdClearDepthStencilImage, vkCmdCopyBuffer, vkCmdCopyBufferToImage, vkCmdCopyImage, vkCmdCopyImageToBuffer, vkCmdCopyQueryPoolResults, vkCmdDispatch, vkCmdDispatchIndirect, vkCmdDraw, vkCmdDrawIndexed, vkCmdDrawIndexedIndirect, vkCmdDrawIndirect, vkCmdEndQuery, vkCmdEndRenderPass, vkCmdExecuteCommands, vkCmdExecuteCommands, vkCmdFillBuffer, vkCmdNextSubpass, vkCmdPipelineBarrier, vkCmdPushConstants, vkCmdPushConstants, vkCmdPushConstants, vkCmdPushConstants, vkCmdPushConstants, vkCmdPushConstants, vkCmdPushConstants, vkCmdPushConstants, vkCmdPushConstants, vkCmdPushConstants, vkCmdPushConstants, vkCmdResetEvent, vkCmdResetQueryPool, vkCmdResolveImage, vkCmdResolveImage, vkCmdSetBlendConstants, vkCmdSetBlendConstants, vkCmdSetDepthBias, vkCmdSetDepthBounds, vkCmdSetEvent, vkCmdSetLineWidth, vkCmdSetScissor, vkCmdSetStencilCompareMask, vkCmdSetStencilReference, vkCmdSetStencilWriteMask, vkCmdSetViewport, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdWaitEvents, vkCmdWaitEvents, vkCmdWriteTimestamp, vkCreateBuffer, vkCreateBuffer, vkCreateBufferView, vkCreateBufferView, vkCreateCommandPool, vkCreateCommandPool, vkCreateComputePipelines, vkCreateComputePipelines, vkCreateDescriptorPool, vkCreateDescriptorPool, vkCreateDescriptorSetLayout, vkCreateDescriptorSetLayout, vkCreateDevice, vkCreateEvent, vkCreateEvent, vkCreateFence, vkCreateFence, vkCreateFramebuffer, vkCreateFramebuffer, vkCreateGraphicsPipelines, vkCreateGraphicsPipelines, vkCreateImage, vkCreateImage, vkCreateImageView, vkCreateImageView, vkCreateInstance, vkCreatePipelineCache, vkCreatePipelineCache, vkCreatePipelineLayout, vkCreatePipelineLayout, vkCreateQueryPool, vkCreateQueryPool, vkCreateRenderPass, vkCreateRenderPass, vkCreateSampler, vkCreateSampler, vkCreateSemaphore, vkCreateSemaphore, vkCreateShaderModule, vkCreateShaderModule, vkDestroyBuffer, vkDestroyBufferView, vkDestroyCommandPool, vkDestroyDescriptorPool, vkDestroyDescriptorSetLayout, vkDestroyDevice, vkDestroyEvent, vkDestroyFence, vkDestroyFramebuffer, vkDestroyImage, vkDestroyImageView, vkDestroyInstance, vkDestroyPipeline, vkDestroyPipelineCache, vkDestroyPipelineLayout, vkDestroyQueryPool, vkDestroyRenderPass, vkDestroySampler, vkDestroySemaphore, vkDestroyShaderModule, vkDeviceWaitIdle, vkEndCommandBuffer, vkEnumerateDeviceExtensionProperties, vkEnumerateDeviceExtensionProperties, vkEnumerateDeviceExtensionProperties, vkEnumerateDeviceExtensionProperties, vkEnumerateDeviceLayerProperties, vkEnumerateDeviceLayerProperties, vkEnumerateInstanceExtensionProperties, vkEnumerateInstanceExtensionProperties, vkEnumerateInstanceExtensionProperties, vkEnumerateInstanceExtensionProperties, vkEnumerateInstanceLayerProperties, vkEnumerateInstanceLayerProperties, vkEnumeratePhysicalDevices, vkEnumeratePhysicalDevices, vkFlushMappedMemoryRanges, vkFlushMappedMemoryRanges, vkFreeCommandBuffers, vkFreeCommandBuffers, vkFreeDescriptorSets, vkFreeDescriptorSets, vkFreeDescriptorSets, vkFreeMemory, vkGetBufferMemoryRequirements, vkGetDeviceMemoryCommitment, vkGetDeviceMemoryCommitment, vkGetDeviceProcAddr, vkGetDeviceProcAddr, vkGetDeviceQueue, vkGetEventStatus, vkGetFenceStatus, vkGetImageMemoryRequirements, vkGetImageSparseMemoryRequirements, vkGetImageSparseMemoryRequirements, vkGetImageSubresourceLayout, vkGetInstanceProcAddr, vkGetInstanceProcAddr, vkGetPhysicalDeviceFeatures, vkGetPhysicalDeviceFormatProperties, vkGetPhysicalDeviceImageFormatProperties, vkGetPhysicalDeviceMemoryProperties, vkGetPhysicalDeviceProperties, vkGetPhysicalDeviceQueueFamilyProperties, vkGetPhysicalDeviceQueueFamilyProperties, vkGetPhysicalDeviceSparseImageFormatProperties, vkGetPhysicalDeviceSparseImageFormatProperties, vkGetPipelineCacheData, vkGetQueryPoolResults, vkGetQueryPoolResults, vkGetQueryPoolResults, vkGetQueryPoolResults, vkGetQueryPoolResults, vkGetRenderAreaGranularity, vkInvalidateMappedMemoryRanges, vkInvalidateMappedMemoryRanges, vkMapMemory, vkMergePipelineCaches, vkMergePipelineCaches, vkQueueBindSparse, vkQueueBindSparse, vkQueueSubmit, vkQueueSubmit, vkQueueWaitIdle, vkResetCommandBuffer, vkResetCommandPool, vkResetDescriptorPool, vkResetEvent, vkResetFences, vkResetFences, vkResetFences, vkSetEvent, vkUnmapMemory, vkUpdateDescriptorSets, vkWaitForFences, vkWaitForFences, vkWaitForFences
-
Methods inherited from class org.lwjgl.vulkan.VK11
nvkBindBufferMemory2, nvkBindImageMemory2, nvkCreateDescriptorUpdateTemplate, nvkCreateSamplerYcbcrConversion, nvkDestroyDescriptorUpdateTemplate, nvkDestroySamplerYcbcrConversion, nvkEnumerateInstanceVersion, nvkEnumeratePhysicalDeviceGroups, nvkGetBufferMemoryRequirements2, nvkGetDescriptorSetLayoutSupport, nvkGetDeviceGroupPeerMemoryFeatures, nvkGetDeviceQueue2, nvkGetImageMemoryRequirements2, nvkGetImageSparseMemoryRequirements2, nvkGetPhysicalDeviceExternalBufferProperties, nvkGetPhysicalDeviceExternalFenceProperties, nvkGetPhysicalDeviceExternalSemaphoreProperties, nvkGetPhysicalDeviceFeatures2, nvkGetPhysicalDeviceFormatProperties2, nvkGetPhysicalDeviceImageFormatProperties2, nvkGetPhysicalDeviceMemoryProperties2, nvkGetPhysicalDeviceProperties2, nvkGetPhysicalDeviceQueueFamilyProperties2, nvkGetPhysicalDeviceSparseImageFormatProperties2, vkBindBufferMemory2, vkBindImageMemory2, vkCmdDispatchBase, vkCmdSetDeviceMask, vkCreateDescriptorUpdateTemplate, vkCreateDescriptorUpdateTemplate, vkCreateSamplerYcbcrConversion, vkCreateSamplerYcbcrConversion, vkDestroyDescriptorUpdateTemplate, vkDestroySamplerYcbcrConversion, vkEnumerateInstanceVersion, vkEnumerateInstanceVersion, vkEnumeratePhysicalDeviceGroups, vkEnumeratePhysicalDeviceGroups, vkGetBufferMemoryRequirements2, vkGetDescriptorSetLayoutSupport, vkGetDeviceGroupPeerMemoryFeatures, vkGetDeviceGroupPeerMemoryFeatures, vkGetDeviceQueue2, vkGetImageMemoryRequirements2, vkGetImageSparseMemoryRequirements2, vkGetImageSparseMemoryRequirements2, vkGetPhysicalDeviceExternalBufferProperties, vkGetPhysicalDeviceExternalFenceProperties, vkGetPhysicalDeviceExternalSemaphoreProperties, vkGetPhysicalDeviceFeatures2, vkGetPhysicalDeviceFormatProperties2, vkGetPhysicalDeviceImageFormatProperties2, vkGetPhysicalDeviceMemoryProperties2, vkGetPhysicalDeviceProperties2, vkGetPhysicalDeviceQueueFamilyProperties2, vkGetPhysicalDeviceQueueFamilyProperties2, vkGetPhysicalDeviceSparseImageFormatProperties2, vkGetPhysicalDeviceSparseImageFormatProperties2, vkTrimCommandPool, vkUpdateDescriptorSetWithTemplate
-
Methods inherited from class org.lwjgl.vulkan.VK12
nvkCmdBeginRenderPass2, nvkCmdEndRenderPass2, nvkCmdNextSubpass2, nvkCreateRenderPass2, nvkGetBufferDeviceAddress, nvkGetBufferOpaqueCaptureAddress, nvkGetDeviceMemoryOpaqueCaptureAddress, nvkGetSemaphoreCounterValue, nvkSignalSemaphore, nvkWaitSemaphores, vkCmdBeginRenderPass2, vkCmdDrawIndexedIndirectCount, vkCmdDrawIndirectCount, vkCmdEndRenderPass2, vkCmdNextSubpass2, vkCreateRenderPass2, vkCreateRenderPass2, vkGetBufferDeviceAddress, vkGetBufferOpaqueCaptureAddress, vkGetDeviceMemoryOpaqueCaptureAddress, vkGetSemaphoreCounterValue, vkGetSemaphoreCounterValue, vkResetQueryPool, vkSignalSemaphore, vkWaitSemaphores
-
-
-
-
Field Detail
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_PROPERTIES
ExtendsVkStructureType.Enum values:
-
VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES
ExtendsVkStructureType.
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES, VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO, VK_STRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFO
ExtendsVkStructureType.Enum values:
-
VK_OBJECT_TYPE_PRIVATE_DATA_SLOT
ExtendsVkObjectType.
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES
ExtendsVkStructureType.
-
VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT, VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT
ExtendsVkPipelineCreateFlagBits.Enum values:
-
VK_PIPELINE_COMPILE_REQUIRED
ExtendsVkResult.
-
VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT
ExtendsVkPipelineCacheCreateFlagBits.
-
VK_STRUCTURE_TYPE_MEMORY_BARRIER_2, VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2, VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2, VK_STRUCTURE_TYPE_DEPENDENCY_INFO, VK_STRUCTURE_TYPE_SUBMIT_INFO_2, VK_STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFO, VK_STRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFO, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES
ExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_MEMORY_BARRIER_2STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2STRUCTURE_TYPE_DEPENDENCY_INFOSTRUCTURE_TYPE_SUBMIT_INFO_2STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFOSTRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFOSTRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES
-
VK_EVENT_CREATE_DEVICE_ONLY_BIT
ExtendsVkEventCreateFlagBits.
-
VK_PIPELINE_STAGE_NONE
ExtendsVkPipelineStageFlagBits.
-
VK_ACCESS_NONE
ExtendsVkAccessFlagBits.
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES
ExtendsVkStructureType.
-
VK_STRUCTURE_TYPE_COPY_BUFFER_INFO_2, VK_STRUCTURE_TYPE_COPY_IMAGE_INFO_2, VK_STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2, VK_STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2, VK_STRUCTURE_TYPE_BLIT_IMAGE_INFO_2, VK_STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2, VK_STRUCTURE_TYPE_BUFFER_COPY_2, VK_STRUCTURE_TYPE_IMAGE_COPY_2, VK_STRUCTURE_TYPE_IMAGE_BLIT_2, VK_STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2, VK_STRUCTURE_TYPE_IMAGE_RESOLVE_2
ExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_COPY_BUFFER_INFO_2STRUCTURE_TYPE_COPY_IMAGE_INFO_2STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2STRUCTURE_TYPE_BLIT_IMAGE_INFO_2STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2STRUCTURE_TYPE_BUFFER_COPY_2STRUCTURE_TYPE_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_BLIT_2STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_RESOLVE_2
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES, VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES
-
VK_PIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT, VK_PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BIT
ExtendsVkPipelineShaderStageCreateFlagBits.Enum values:
-
VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK
ExtendsVkDescriptorType.
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES, VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK, VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO
-
VK_FORMAT_G8_B8R8_2PLANE_444_UNORM, VK_FORMAT_G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16, VK_FORMAT_G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16, VK_FORMAT_G16_B16R16_2PLANE_444_UNORM
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES
ExtendsVkStructureType.
-
VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK, VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK, VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK, VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK, VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK, VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK, VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK, VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK, VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK, VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK, VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK, VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK, VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK, VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK
ExtendsVkFormat.Enum values:
FORMAT_ASTC_4x4_SFLOAT_BLOCKFORMAT_ASTC_5x4_SFLOAT_BLOCKFORMAT_ASTC_5x5_SFLOAT_BLOCKFORMAT_ASTC_6x5_SFLOAT_BLOCKFORMAT_ASTC_6x6_SFLOAT_BLOCKFORMAT_ASTC_8x5_SFLOAT_BLOCKFORMAT_ASTC_8x6_SFLOAT_BLOCKFORMAT_ASTC_8x8_SFLOAT_BLOCKFORMAT_ASTC_10x5_SFLOAT_BLOCKFORMAT_ASTC_10x6_SFLOAT_BLOCKFORMAT_ASTC_10x8_SFLOAT_BLOCKFORMAT_ASTC_10x10_SFLOAT_BLOCKFORMAT_ASTC_12x10_SFLOAT_BLOCKFORMAT_ASTC_12x12_SFLOAT_BLOCK
-
VK_STRUCTURE_TYPE_RENDERING_INFO, VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO, VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURES, VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFO
-
VK_ATTACHMENT_STORE_OP_NONE
ExtendsVkAttachmentStoreOp.
-
VK_DYNAMIC_STATE_CULL_MODE, VK_DYNAMIC_STATE_FRONT_FACE, VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY, VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT, VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT, VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE, VK_DYNAMIC_STATE_DEPTH_TEST_ENABLE, VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLE, VK_DYNAMIC_STATE_DEPTH_COMPARE_OP, VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE, VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE, VK_DYNAMIC_STATE_STENCIL_OP
ExtendsVkDynamicState.Enum values:
DYNAMIC_STATE_CULL_MODEDYNAMIC_STATE_FRONT_FACEDYNAMIC_STATE_PRIMITIVE_TOPOLOGYDYNAMIC_STATE_VIEWPORT_WITH_COUNTDYNAMIC_STATE_SCISSOR_WITH_COUNTDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEDYNAMIC_STATE_DEPTH_TEST_ENABLEDYNAMIC_STATE_DEPTH_WRITE_ENABLEDYNAMIC_STATE_DEPTH_COMPARE_OPDYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEDYNAMIC_STATE_STENCIL_TEST_ENABLEDYNAMIC_STATE_STENCIL_OP
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIES
ExtendsVkStructureType.Enum values:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES, VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_3
ExtendsVkStructureType.
-
VK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE, VK_DYNAMIC_STATE_DEPTH_BIAS_ENABLE, VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE
ExtendsVkDynamicState.Enum values:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIES, VK_STRUCTURE_TYPE_DEVICE_BUFFER_MEMORY_REQUIREMENTS, VK_STRUCTURE_TYPE_DEVICE_IMAGE_MEMORY_REQUIREMENTS
-
VK_IMAGE_ASPECT_NONE
ExtendsVkImageAspectFlagBits.
-
VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT, VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT, VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT
VkPipelineCreationFeedbackFlagBits - Bitmask specifying pipeline or pipeline stage creation feedbackDescription
PIPELINE_CREATION_FEEDBACK_VALID_BITindicates that the feedback information is valid.PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BITindicates that a readily usable pipeline or pipeline stage was found in thepipelineCachespecified by the application in the pipeline creation command. An implementation should set thePIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BITbit if it was able to avoid the large majority of pipeline or pipeline stage creation work by using thepipelineCacheparameter ofCreateGraphicsPipelines,CreateRayTracingPipelinesKHR,CreateRayTracingPipelinesNV, orCreateComputePipelines. When an implementation sets this bit for the entire pipeline, it may leave it unset for any stage.Note
Implementations are encouraged to provide a meaningful signal to applications using this bit. The intention is to communicate to the application that the pipeline or pipeline stage was created "as fast as it gets" using the pipeline cache provided by the application. If an implementation uses an internal cache, it is discouraged from setting this bit as the feedback would be unactionable.
PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BITindicates that the base pipeline specified by thebasePipelineHandleorbasePipelineIndexmember of the stext:Vk*PipelineCreateInfo structure was used to accelerate the creation of the pipeline. An implementation should set thePIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BITbit if it was able to avoid a significant amount of work by using the base pipeline.Note
While "significant amount of work" is subjective, implementations are encouraged to provide a meaningful signal to applications using this bit. For example, a 1% reduction in duration may not warrant setting this bit, while a 50% reduction would.
See Also
VkPipelineCreationFeedback,VkPipelineCreationFeedbackCreateInfo
-
VK_TOOL_PURPOSE_VALIDATION_BIT, VK_TOOL_PURPOSE_PROFILING_BIT, VK_TOOL_PURPOSE_TRACING_BIT, VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT, VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT
VkToolPurposeFlagBits - Bitmask specifying the purposes of an active toolDescription
TOOL_PURPOSE_VALIDATION_BITspecifies that the tool provides validation of API usage.TOOL_PURPOSE_PROFILING_BITspecifies that the tool provides profiling of API usage.TOOL_PURPOSE_TRACING_BITspecifies that the tool is capturing data about the application’s API usage, including anything from simple logging to capturing data for later replay.TOOL_PURPOSE_ADDITIONAL_FEATURES_BITspecifies that the tool provides additional API features/extensions on top of the underlying implementation.TOOL_PURPOSE_MODIFYING_FEATURES_BITspecifies that the tool modifies the API features/limits/extensions presented to the application.TOOL_PURPOSE_DEBUG_REPORTING_BIT_EXTspecifies that the tool reports additional information to the application via callbacks specified byCreateDebugReportCallbackEXTorCreateDebugUtilsMessengerEXTTOOL_PURPOSE_DEBUG_MARKERS_BIT_EXTspecifies that the tool consumes debug markers or object debug annotation, queue labels, or command buffer labels
-
VK_PIPELINE_STAGE_2_NONE, VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT, VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT, VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT, VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT, VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT, VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT, VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT, VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT, VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT, VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT, VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT, VK_PIPELINE_STAGE_2_HOST_BIT, VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT, VK_PIPELINE_STAGE_2_COPY_BIT, VK_PIPELINE_STAGE_2_RESOLVE_BIT, VK_PIPELINE_STAGE_2_BLIT_BIT, VK_PIPELINE_STAGE_2_CLEAR_BIT, VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT, VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT, VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT
VkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV.PIPELINE_STAGE_2_TASK_SHADER_BIT_NVspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_NVspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes subpass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes subpass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline after blending where the final color values are output from the pipeline. This stage also includes subpass load and store operations and multisample resolve operations for framebuffer attachments with a color or depth/stencil format.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_NVPIPELINE_STAGE_2_MESH_SHADER_BIT_NVPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the stage of the pipeline where video decode operation are performed.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the stage of the pipeline where video encode operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADING_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.
-
VK_ACCESS_2_NONE, VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT, VK_ACCESS_2_INDEX_READ_BIT, VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT, VK_ACCESS_2_UNIFORM_READ_BIT, VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT, VK_ACCESS_2_SHADER_READ_BIT, VK_ACCESS_2_SHADER_WRITE_BIT, VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT, VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT, VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT, VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT, VK_ACCESS_2_TRANSFER_READ_BIT, VK_ACCESS_2_TRANSFER_WRITE_BIT, VK_ACCESS_2_HOST_READ_BIT, VK_ACCESS_2_HOST_WRITE_BIT, VK_ACCESS_2_MEMORY_READ_BIT, VK_ACCESS_2_MEMORY_WRITE_BIT, VK_ACCESS_2_SHADER_SAMPLED_READ_BIT, VK_ACCESS_2_SHADER_STORAGE_READ_BIT, VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT
VkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADING_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_READ_BITspecifies read access to a shader binding table in any shader pipeline. In addition, it is equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending, logic operations, or via certain subpass load operations. It does not include advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color, resolve, or depth/stencil resolve attachment during a render pass or via certain subpass load and store operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or via certain subpass load operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or via certain subpass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to a invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource as part of a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource as part of a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource as part of a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource as part of a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.
-
VK_SUBMIT_PROTECTED_BIT
VkSubmitFlagBits - Bitmask specifying behavior of a submissionDescription
SUBMIT_PROTECTED_BITspecifies that this batch is a protected submission.
-
VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT, VK_RENDERING_SUSPENDING_BIT, VK_RENDERING_RESUMING_BIT
VkRenderingFlagBits - Bitmask specifying additional properties of a dynamic render pass instanceDescription
RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITspecifies that draw calls for the render pass instance will be recorded in secondary command buffers.RENDERING_RESUMING_BITspecifies that the render pass instance is resuming an earlier suspended render pass instance.RENDERING_SUSPENDING_BITspecifies that the render pass instance will be suspended.
The contents of
pRenderingInfomust match between suspended render pass instances and the render pass instances that resume them, other than the presence or absence of theRENDERING_RESUMING_BIT,RENDERING_SUSPENDING_BIT, andRENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITflags. No action or synchronization commands, or other render pass instances, are allowed between suspending and resuming render pass instances.
-
VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT, VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT, VK_FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BIT, VK_FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BIT, VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BIT, VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BIT, VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BIT, VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT, VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT, VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT, VK_FORMAT_FEATURE_2_BLIT_SRC_BIT, VK_FORMAT_FEATURE_2_BLIT_DST_BIT, VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BIT, VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT, VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT, VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT, VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BIT, VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT, VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT, VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT, VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT, VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT, VK_FORMAT_FEATURE_2_DISJOINT_BIT, VK_FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BIT, VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT, VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT, VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
VkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending and as an input attachment.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with numeric type other than*UINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as an output for video decode operationsFORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as a DPB for video decode operationsFORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an input to video encode operationsFORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as a DPB for video encode operationsFORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views created with this format can be used as storage images for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views created with this format can be used as storage images for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Drefinstructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.
-
VK_API_VERSION_1_3
The API version number for Vulkan 1.3.
-
-
Method Detail
-
nvkGetPhysicalDeviceToolProperties
public static int nvkGetPhysicalDeviceToolProperties(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pToolCount, long pToolProperties)Unsafe version of:GetPhysicalDeviceToolProperties- Parameters:
pToolCount- a pointer to an integer describing the number of tools active onphysicalDevice.
-
vkGetPhysicalDeviceToolProperties
public static int vkGetPhysicalDeviceToolProperties(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, java.nio.IntBuffer pToolCount, @Nullable VkPhysicalDeviceToolProperties.Buffer pToolProperties)Reports properties of tools active on the specified physical device.C Specification
Information about tools providing debugging, profiling, or similar services, active for a given physical device, can be obtained by calling:
VkResult vkGetPhysicalDeviceToolProperties( VkPhysicalDevice physicalDevice, uint32_t* pToolCount, VkPhysicalDeviceToolProperties* pToolProperties);or the equivalent command
VkResult vkGetPhysicalDeviceToolPropertiesEXT( VkPhysicalDevice physicalDevice, uint32_t* pToolCount, VkPhysicalDeviceToolProperties* pToolProperties);Description
If
pToolPropertiesisNULL, then the number of tools currently active onphysicalDeviceis returned inpToolCount. Otherwise,pToolCountmust point to a variable set by the user to the number of elements in thepToolPropertiesarray, and on return the variable is overwritten with the number of structures actually written topToolProperties. IfpToolCountis less than the number of currently active tools, at mostpToolCountstructures will be written.The count and properties of active tools may change in response to events outside the scope of the specification. An application should assume these properties might change at any given time.
Valid Usage (Implicit)
physicalDevicemust be a validVkPhysicalDevicehandlepToolCountmust be a valid pointer to auint32_tvalue- If the value referenced by
pToolCountis not 0, andpToolPropertiesis notNULL,pToolPropertiesmust be a valid pointer to an array ofpToolCountVkPhysicalDeviceToolPropertiesstructures
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
physicalDevice- the handle to the physical device to query for active tools.pToolCount- a pointer to an integer describing the number of tools active onphysicalDevice.pToolProperties- eitherNULLor a pointer to an array ofVkPhysicalDeviceToolPropertiesstructures.
-
nvkCreatePrivateDataSlot
public static int nvkCreatePrivateDataSlot(org.lwjgl.vulkan.VkDevice device, long pCreateInfo, long pAllocator, long pPrivateDataSlot)Unsafe version of:CreatePrivateDataSlot
-
vkCreatePrivateDataSlot
public static int vkCreatePrivateDataSlot(org.lwjgl.vulkan.VkDevice device, VkPrivateDataSlotCreateInfo pCreateInfo, @Nullable VkAllocationCallbacks pAllocator, java.nio.LongBuffer pPrivateDataSlot)Create a slot for private data storage.C Specification
To create a private data slot, call:
VkResult vkCreatePrivateDataSlot( VkDevice device, const VkPrivateDataSlotCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPrivateDataSlot* pPrivateDataSlot);or the equivalent command
VkResult vkCreatePrivateDataSlotEXT( VkDevice device, const VkPrivateDataSlotCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPrivateDataSlot* pPrivateDataSlot);Valid Usage
- The
privateDatafeature must be enabled
Valid Usage (Implicit)
devicemust be a validVkDevicehandlepCreateInfomust be a valid pointer to a validVkPrivateDataSlotCreateInfostructure- If
pAllocatoris notNULL,pAllocatormust be a valid pointer to a validVkAllocationCallbacksstructure pPrivateDataSlotmust be a valid pointer to aVkPrivateDataSlothandle
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
device- the logical device associated with the creation of the object(s) holding the private data slot.pCreateInfo- a pointer to aVkPrivateDataSlotCreateInfopAllocator- controls host memory allocation as described in the Memory Allocation chapter.pPrivateDataSlot- a pointer to aVkPrivateDataSlothandle in which the resulting private data slot is returned
- The
-
nvkDestroyPrivateDataSlot
public static void nvkDestroyPrivateDataSlot(org.lwjgl.vulkan.VkDevice device, long privateDataSlot, long pAllocator)Unsafe version of:DestroyPrivateDataSlot
-
vkDestroyPrivateDataSlot
public static void vkDestroyPrivateDataSlot(org.lwjgl.vulkan.VkDevice device, long privateDataSlot, @Nullable VkAllocationCallbacks pAllocator)Destroy a private data slot.C Specification
To destroy a private data slot, call:
void vkDestroyPrivateDataSlot( VkDevice device, VkPrivateDataSlot privateDataSlot, const VkAllocationCallbacks* pAllocator);or the equivalent command
void vkDestroyPrivateDataSlotEXT( VkDevice device, VkPrivateDataSlot privateDataSlot, const VkAllocationCallbacks* pAllocator);Valid Usage
- If
VkAllocationCallbackswere provided whenprivateDataSlotwas created, a compatible set of callbacks must be provided here - If no
VkAllocationCallbackswere provided whenprivateDataSlotwas created,pAllocatormust beNULL
Valid Usage (Implicit)
devicemust be a validVkDevicehandle- If
privateDataSlotis notNULL_HANDLE,privateDataSlotmust be a validVkPrivateDataSlothandle - If
pAllocatoris notNULL,pAllocatormust be a valid pointer to a validVkAllocationCallbacksstructure - If
privateDataSlotis a valid handle, it must have been created, allocated, or retrieved fromdevice
Host Synchronization
- Host access to
privateDataSlotmust be externally synchronized
See Also
- Parameters:
device- the logical device associated with the creation of the object(s) holding the private data slot.privateDataSlot- the private data slot to destroy.pAllocator- controls host memory allocation as described in the Memory Allocation chapter.
- If
-
vkSetPrivateData
public static int vkSetPrivateData(org.lwjgl.vulkan.VkDevice device, int objectType, long objectHandle, long privateDataSlot, long data)Associate data with a Vulkan object.C Specification
To store user defined data in a slot associated with a Vulkan object, call:
VkResult vkSetPrivateData( VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t data);or the equivalent command
VkResult vkSetPrivateDataEXT( VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t data);Valid Usage
objectHandlemust bedeviceor a child ofdeviceobjectHandlemust be a valid handle to an object of typeobjectType
Valid Usage (Implicit)
devicemust be a validVkDevicehandleobjectTypemust be a validVkObjectTypevalueprivateDataSlotmust be a validVkPrivateDataSlothandleprivateDataSlotmust have been created, allocated, or retrieved fromdevice
Return Codes
- On success, this command returns
- On failure, this command returns
- Parameters:
device- the device that created the object.objectType- aVkObjectTypespecifying the type of object to associate data with.objectHandle- a handle to the object to associate data with.privateDataSlot- a handle to aVkPrivateDataSlotspecifying location of private data storage.data- user defined data to associate the object with. This data will be stored atprivateDataSlot.
-
nvkGetPrivateData
public static void nvkGetPrivateData(org.lwjgl.vulkan.VkDevice device, int objectType, long objectHandle, long privateDataSlot, long pData)Unsafe version of:GetPrivateData
-
vkGetPrivateData
public static void vkGetPrivateData(org.lwjgl.vulkan.VkDevice device, int objectType, long objectHandle, long privateDataSlot, java.nio.LongBuffer pData)Retrieve data associated with a Vulkan object.C Specification
To retrieve user defined data from a slot associated with a Vulkan object, call:
void vkGetPrivateData( VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t* pData);or the equivalent command
void vkGetPrivateDataEXT( VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t* pData);Description
Note
Due to platform details on Android, implementations might not be able to reliably return 0 from calls to
vkGetPrivateDataforVkSwapchainKHRobjects on whichvkSetPrivateDatahas not previously been called. This erratum is exclusive to the Android platform and objects of typeVkSwapchainKHR.Valid Usage
objectTypemust beOBJECT_TYPE_DEVICE, or an object type whose parent isVkDevice
Valid Usage (Implicit)
devicemust be a validVkDevicehandleobjectTypemust be a validVkObjectTypevalueprivateDataSlotmust be a validVkPrivateDataSlothandlepDatamust be a valid pointer to auint64_tvalueprivateDataSlotmust have been created, allocated, or retrieved fromdevice
- Parameters:
device- the device that created the objectobjectType- aVkObjectTypespecifying the type of object data is associated with.objectHandle- a handle to the object data is associated with.privateDataSlot- a handle to aVkPrivateDataSlotspecifying location of private data pointer storage.pData- a pointer to specify where user data is returned. 0 will be written in the absence of a previous call tovkSetPrivateDatausing the object specified byobjectHandle.
-
nvkCmdSetEvent2
public static void nvkCmdSetEvent2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long event, long pDependencyInfo)Unsafe version of:CmdSetEvent2
-
vkCmdSetEvent2
public static void vkCmdSetEvent2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long event, VkDependencyInfo pDependencyInfo)Set an event object to signaled state.C Specification
To signal an event from a device, call:
void vkCmdSetEvent2( VkCommandBuffer commandBuffer, VkEvent event, const VkDependencyInfo* pDependencyInfo);or the equivalent command
void vkCmdSetEvent2KHR( VkCommandBuffer commandBuffer, VkEvent event, const VkDependencyInfo* pDependencyInfo);Description
When
CmdSetEvent2is submitted to a queue, it defines the first half of memory dependencies defined bypDependencyInfo, as well as an event signal operation which sets the event to the signaled state. A memory dependency is defined between the event signal operation and commands that occur earlier in submission order.The first synchronization scope and access scope are defined by the union of all the memory dependencies defined by
pDependencyInfo, and are applied to all operations that occur earlier in submission order. Queue family ownership transfers and image layout transitions defined bypDependencyInfoare also included in the first scopes.The second synchronization scope includes only the event signal operation, and any queue family ownership transfers and image layout transitions defined by
pDependencyInfo.The second access scope includes only queue family ownership transfers and image layout transitions.
Future
CmdWaitEvents2commands rely on all values of each element inpDependencyInfomatching exactly with those used to signal the corresponding event.CmdWaitEventsmust not be used to wait on the result of a signal operation defined byvkCmdSetEvent2.Note
The extra information provided by
CmdSetEvent2compared toCmdSetEventallows implementations to more efficiently schedule the operations required to satisfy the requested dependencies. WithCmdSetEvent, the full dependency information is not known untilCmdWaitEventsis recorded, forcing implementations to insert the required operations at that point and not before.If
eventis already in the signaled state whenCmdSetEvent2is executed on the device, thenCmdSetEvent2has no effect, no event signal operation occurs, and no dependency is generated.Valid Usage
- The
synchronization2feature must be enabled - The
dependencyFlagsmember ofpDependencyInfomust be 0 - The current device mask of
commandBuffermust include exactly one physical device - The
srcStageMaskmember of any element of thepMemoryBarriers,pBufferMemoryBarriers, orpImageMemoryBarriersmembers ofpDependencyInfomust only include pipeline stages valid for the queue family that was used to create the command pool thatcommandBufferwas allocated from - The
dstStageMaskmember of any element of thepMemoryBarriers,pBufferMemoryBarriers, orpImageMemoryBarriersmembers ofpDependencyInfomust only include pipeline stages valid for the queue family that was used to create the command pool thatcommandBufferwas allocated from
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandleeventmust be a validVkEventhandlepDependencyInfomust be a valid pointer to a validVkDependencyInfostructurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics, or compute operations - This command must only be called outside of a render pass instance
- Both of
commandBuffer, andeventmust have been created, allocated, or retrieved from the sameVkDevice
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Outside Graphics Compute See Also
- Parameters:
commandBuffer- the command buffer into which the command is recorded.event- the event that will be signaled.pDependencyInfo- a pointer to aVkDependencyInfostructure defining the first scopes of this operation.
- The
-
vkCmdResetEvent2
public static void vkCmdResetEvent2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long event, long stageMask)Reset an event object to non-signaled state.C Specification
To unsignal the event from a device, call:
void vkCmdResetEvent2( VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags2 stageMask);or the equivalent command
void vkCmdResetEvent2KHR( VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags2 stageMask);Description
When
CmdResetEvent2is submitted to a queue, it defines an execution dependency on commands that were submitted before it, and defines an event unsignal operation which resets the event to the unsignaled state.The first synchronization scope includes all commands that occur earlier in submission order. The synchronization scope is limited to operations by
stageMaskor stages that are logically earlier thanstageMask.The second synchronization scope includes only the event unsignal operation.
If
eventis already in the unsignaled state whenCmdResetEvent2is executed on the device, then this command has no effect, no event unsignal operation occurs, and no execution dependency is generated.Valid Usage
- If the geometry shaders feature is not enabled,
stageMaskmust not containPIPELINE_STAGE_2_GEOMETRY_SHADER_BIT - If the tessellation shaders feature is not enabled,
stageMaskmust not containPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITorPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT - If the conditional rendering feature is not enabled,
stageMaskmust not containPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT - If the fragment density map feature is not enabled,
stageMaskmust not containPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT - If the transform feedback feature is not enabled,
stageMaskmust not containPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT - If the mesh shaders feature is not enabled,
stageMaskmust not containPIPELINE_STAGE_2_MESH_SHADER_BIT_NV - If the task shaders feature is not enabled,
stageMaskmust not containPIPELINE_STAGE_2_TASK_SHADER_BIT_NV - If the shading rate image feature is not enabled,
stageMaskmust not containPIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NV - If the subpass shading feature is not enabled,
stageMaskmust not containPIPELINE_STAGE_2_SUBPASS_SHADING_BIT_HUAWEI - If the invocation mask image feature is not enabled,
stageMaskmust not containPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEI - The
synchronization2feature must be enabled stageMaskmust not includePIPELINE_STAGE_2_HOST_BIT- There must be an execution dependency between
vkCmdResetEvent2and the execution of anyCmdWaitEventsthat includeseventin itspEventsparameter - There must be an execution dependency between
vkCmdResetEvent2and the execution of anyCmdWaitEvents2that includeseventin itspEventsparameter commandBuffer’s current device mask must include exactly one physical device
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandleeventmust be a validVkEventhandlestageMaskmust be a valid combination ofVkPipelineStageFlagBits2valuescommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics, or compute operations - This command must only be called outside of a render pass instance
- Both of
commandBuffer, andeventmust have been created, allocated, or retrieved from the sameVkDevice
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Outside Graphics Compute - Parameters:
commandBuffer- the command buffer into which the command is recorded.event- the event that will be unsignaled.stageMask- aVkPipelineStageFlags2mask of pipeline stages used to determine the first synchronization scope.
- If the geometry shaders feature is not enabled,
-
nvkCmdWaitEvents2
public static void nvkCmdWaitEvents2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int eventCount, long pEvents, long pDependencyInfos)Unsafe version of:CmdWaitEvents2- Parameters:
eventCount- the length of thepEventsarray.
-
vkCmdWaitEvents2
public static void vkCmdWaitEvents2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, java.nio.LongBuffer pEvents, VkDependencyInfo.Buffer pDependencyInfos)Wait for one or more events.C Specification
To wait for one or more events to enter the signaled state on a device, call:
void vkCmdWaitEvents2( VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* pEvents, const VkDependencyInfo* pDependencyInfos);or the equivalent command
void vkCmdWaitEvents2KHR( VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* pEvents, const VkDependencyInfo* pDependencyInfos);Description
When
vkCmdWaitEvents2is submitted to a queue, it inserts memory dependencies according to the elements ofpDependencyInfosand each corresponding element ofpEvents.vkCmdWaitEvents2must not be used to wait on event signal operations occurring on other queues, or signal operations executed byCmdSetEvent.The first synchronization scope and access scope of each memory dependency defined by any element
iofpDependencyInfosare applied to operations that occurred earlier in submission order than the last event signal operation on elementiofpEvents.Signal operations for an event at index
iare only included if:- The event was signaled by a
CmdSetEvent2command that occurred earlier in submission order with adependencyInfoparameter exactly equal to the element ofpDependencyInfosat indexi; or - The event was created without
EVENT_CREATE_DEVICE_ONLY_BIT, and the first synchronization scope defined by the element ofpDependencyInfosat indexionly includes host operations (PIPELINE_STAGE_2_HOST_BIT).
The second synchronization scope and access scope of each memory dependency defined by any element
iofpDependencyInfosare applied to operations that occurred later in submission order thanvkCmdWaitEvents2.Note
CmdWaitEvents2is used withCmdSetEvent2to define a memory dependency between two sets of action commands, roughly in the same way as pipeline barriers, but split into two commands such that work between the two may execute unhindered.Note
Applications should be careful to avoid race conditions when using events. There is no direct ordering guarantee between
vkCmdSetEvent2andCmdResetEvent2,CmdResetEvent, orCmdSetEvent. Another execution dependency (e.g. a pipeline barrier or semaphore withPIPELINE_STAGE_2_ALL_COMMANDS_BIT) is needed to prevent such a race condition.Valid Usage
- The
synchronization2feature must be enabled - Members of
pEventsmust not have been signaled byCmdSetEvent - For any element
iofpEvents, if that event is signaled byCmdSetEvent2, that command’sdependencyInfoparameter must be exactly equal to theith element ofpDependencyInfos - For any element
iofpEvents, if that event is signaled bySetEvent, barriers in theith element ofpDependencyInfosmust include only host operations in their first synchronization scope - For any element
iofpEvents, if barriers in theith element ofpDependencyInfosinclude only host operations, theith element ofpEventsmust be signaled beforeCmdWaitEvents2is executed - For any element
iofpEvents, if barriers in theith element ofpDependencyInfosdo not include host operations, theith element ofpEventsmust be signaled by a correspondingCmdSetEvent2that occurred earlier in submission order - The
srcStageMaskmember of any element of thepMemoryBarriers,pBufferMemoryBarriers, orpImageMemoryBarriersmembers ofpDependencyInfosmust either include only pipeline stages valid for the queue family that was used to create the command pool thatcommandBufferwas allocated from, or include onlyPIPELINE_STAGE_2_HOST_BIT - The
dstStageMaskmember of any element of thepMemoryBarriers,pBufferMemoryBarriers, orpImageMemoryBarriersmembers ofpDependencyInfosmust only include pipeline stages valid for the queue family that was used to create the command pool thatcommandBufferwas allocated from - The
dependencyFlagsmember of any element ofpDependencyInfomust be 0 - If
pEventsincludes one or more events that will be signaled bySetEventaftercommandBufferhas been submitted to a queue, thenvkCmdWaitEvents2must not be called inside a render pass instance commandBuffer’s current device mask must include exactly one physical device
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepEventsmust be a valid pointer to an array ofeventCountvalidVkEventhandlespDependencyInfosmust be a valid pointer to an array ofeventCountvalidVkDependencyInfostructurescommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics, or compute operations eventCountmust be greater than 0- Both of
commandBuffer, and the elements ofpEventsmust have been created, allocated, or retrieved from the sameVkDevice
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Both Graphics Compute See Also
- Parameters:
commandBuffer- the command buffer into which the command is recorded.pEvents- a pointer to an array ofeventCountevents to wait on.pDependencyInfos- a pointer to an array ofeventCountVkDependencyInfostructures, defining the second synchronization scope.
- The event was signaled by a
-
nvkCmdPipelineBarrier2
public static void nvkCmdPipelineBarrier2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pDependencyInfo)Unsafe version of:CmdPipelineBarrier2
-
vkCmdPipelineBarrier2
public static void vkCmdPipelineBarrier2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkDependencyInfo pDependencyInfo)Insert a memory dependency.C Specification
To record a pipeline barrier, call:
void vkCmdPipelineBarrier2( VkCommandBuffer commandBuffer, const VkDependencyInfo* pDependencyInfo);or the equivalent command
void vkCmdPipelineBarrier2KHR( VkCommandBuffer commandBuffer, const VkDependencyInfo* pDependencyInfo);Description
When
CmdPipelineBarrier2is submitted to a queue, it defines memory dependencies between commands that were submitted before it, and those submitted after it.The first synchronization scope and access scope of each memory dependency defined by
pDependencyInfoare applied to operations that occurred earlier in submission order.The second synchronization scope and access scope of each memory dependency defined by
pDependencyInfoare applied to operations that occurred later in submission order.If
vkCmdPipelineBarrier2is recorded within a render pass instance, the synchronization scopes are limited to operations within the same subpass.Valid Usage
- If
vkCmdPipelineBarrier2is called within a render pass instance, the render pass must have been created with at least oneVkSubpassDependencyinstance inVkRenderPassCreateInfo::pDependenciesthat expresses a dependency from the current subpass to itself, with synchronization scopes and access scopes that are all supersets of the scopes defined in this command - If
vkCmdPipelineBarrier2is called within a render pass instance, it must not include any buffer memory barriers - If
vkCmdPipelineBarrier2is called within a render pass instance, theimagemember of any image memory barrier included in this command must be an attachment used in the current subpass both as an input attachment, and as either a color or depth/stencil attachment - If
vkCmdPipelineBarrier2is called within a render pass instance, theoldLayoutandnewLayoutmembers of any image memory barrier included in this command must be equal - If
vkCmdPipelineBarrier2is called within a render pass instance, thesrcQueueFamilyIndexanddstQueueFamilyIndexmembers of any image memory barrier included in this command must be equal - If
vkCmdPipelineBarrier2is called outside of a render pass instance,DEPENDENCY_VIEW_LOCAL_BITmust not be included in the dependency flags - If
vkCmdPipelineBarrier2is called within a render pass instance, the render pass must not have been started withCmdBeginRendering - The
synchronization2feature must be enabled - The
srcStageMaskmember of any element of thepMemoryBarriers,pBufferMemoryBarriers, orpImageMemoryBarriersmembers ofpDependencyInfomust only include pipeline stages valid for the queue family that was used to create the command pool thatcommandBufferwas allocated from - The
dstStageMaskmember of any element of thepMemoryBarriers,pBufferMemoryBarriers, orpImageMemoryBarriersmembers ofpDependencyInfomust only include pipeline stages valid for the queue family that was used to create the command pool thatcommandBufferwas allocated from
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepDependencyInfomust be a valid pointer to a validVkDependencyInfostructurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support transfer, graphics, or compute operations
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Both Transfer Graphics Compute See Also
- Parameters:
commandBuffer- the command buffer into which the command is recorded.pDependencyInfo- a pointer to aVkDependencyInfostructure defining the scopes of this operation.
- If
-
vkCmdWriteTimestamp2
public static void vkCmdWriteTimestamp2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long stage, long queryPool, int query)Write a device timestamp into a query object.C Specification
To request a timestamp, call:
void vkCmdWriteTimestamp2( VkCommandBuffer commandBuffer, VkPipelineStageFlags2 stage, VkQueryPool queryPool, uint32_t query);or the equivalent command
void vkCmdWriteTimestamp2KHR( VkCommandBuffer commandBuffer, VkPipelineStageFlags2 stage, VkQueryPool queryPool, uint32_t query);Description
When
vkCmdWriteTimestamp2is submitted to a queue, it defines an execution dependency on commands that were submitted before it, and writes a timestamp to a query pool.The first synchronization scope includes all commands that occur earlier in submission order. The synchronization scope is limited to operations on the pipeline stage specified by
stage.The second synchronization scope includes only the timestamp write operation.
When the timestamp value is written, the availability status of the query is set to available.
Note
If an implementation is unable to detect completion and latch the timer at any specific stage of the pipeline, it may instead do so at any logically later stage.
Comparisons between timestamps are not meaningful if the timestamps are written by commands submitted to different queues.
Note
An example of such a comparison is subtracting an older timestamp from a newer one to determine the execution time of a sequence of commands.
If
vkCmdWriteTimestamp2is called while executing a render pass instance that has multiview enabled, the timestamp usesNconsecutive query indices in the query pool (starting atquery) whereNis the number of bits set in the view mask of the subpass the command is executed in. The resulting query values are determined by an implementation-dependent choice of one of the following behaviors:- The first query is a timestamp value and (if more than one bit is set in the view mask) zero is written to the remaining queries. If two timestamps are written in the same subpass, the sum of the execution time of all views between those commands is the difference between the first query written by each command.
- All
Nqueries are timestamp values. If two timestamps are written in the same subpass, the sum of the execution time of all views between those commands is the sum of the difference between corresponding queries written by each command. The difference between corresponding queries may be the execution time of a single view.
In either case, the application can sum the differences between all
Nqueries to determine the total execution time.Valid Usage
- If the geometry shaders feature is not enabled,
stagemust not containPIPELINE_STAGE_2_GEOMETRY_SHADER_BIT - If the tessellation shaders feature is not enabled,
stagemust not containPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITorPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT - If the conditional rendering feature is not enabled,
stagemust not containPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT - If the fragment density map feature is not enabled,
stagemust not containPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT - If the transform feedback feature is not enabled,
stagemust not containPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT - If the mesh shaders feature is not enabled,
stagemust not containPIPELINE_STAGE_2_MESH_SHADER_BIT_NV - If the task shaders feature is not enabled,
stagemust not containPIPELINE_STAGE_2_TASK_SHADER_BIT_NV - If the shading rate image feature is not enabled,
stagemust not containPIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NV - If the subpass shading feature is not enabled,
stagemust not containPIPELINE_STAGE_2_SUBPASS_SHADING_BIT_HUAWEI - If the invocation mask image feature is not enabled,
stagemust not containPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEI - The
synchronization2feature must be enabled stagemust only include a single pipeline stagestagemust only include stages valid for the queue family that was used to create the command pool thatcommandBufferwas allocated fromqueryPoolmust have been created with aqueryTypeofQUERY_TYPE_TIMESTAMP- The query identified by
queryPoolandquerymust be unavailable - The command pool’s queue family must support a non-zero
timestampValidBits querymust be less than the number of queries inqueryPool- All queries used by the command must be unavailable
- If
vkCmdWriteTimestamp2is called within a render pass instance, the sum ofqueryand the number of bits set in the current subpass’s view mask must be less than or equal to the number of queries inqueryPool
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlestagemust be a valid combination ofVkPipelineStageFlagBits2valuesqueryPoolmust be a validVkQueryPoolhandlecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support transfer, graphics, compute, decode, or encode operations - Both of
commandBuffer, andqueryPoolmust have been created, allocated, or retrieved from the sameVkDevice
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Both Transfer Graphics Compute Decode Encode - Parameters:
commandBuffer- the command buffer into which the command will be recorded.stage- specifies a stage of the pipeline.queryPool- the query pool that will manage the timestamp.query- the query within the query pool that will contain the timestamp.
-
nvkQueueSubmit2
public static int nvkQueueSubmit2(org.lwjgl.vulkan.VkQueue queue, int submitCount, long pSubmits, long fence)Unsafe version of:QueueSubmit2- Parameters:
submitCount- the number of elements in thepSubmitsarray.
-
vkQueueSubmit2
public static int vkQueueSubmit2(org.lwjgl.vulkan.VkQueue queue, @Nullable VkSubmitInfo2.Buffer pSubmits, long fence)Submits command buffers to a queue.C Specification
To submit command buffers to a queue, call:
VkResult vkQueueSubmit2( VkQueue queue, uint32_t submitCount, const VkSubmitInfo2* pSubmits, VkFence fence);or the equivalent command
VkResult vkQueueSubmit2KHR( VkQueue queue, uint32_t submitCount, const VkSubmitInfo2* pSubmits, VkFence fence);Description
vkQueueSubmit2is a queue submission command, with each batch defined by an element ofpSubmits.Semaphore operations submitted with
QueueSubmit2have additional ordering constraints compared to other submission commands, with dependencies involving previous and subsequent queue operations. Information about these additional constraints can be found in the semaphore section of the synchronization chapter.If any command buffer submitted to this queue is in the executable state, it is moved to the pending state. Once execution of all submissions of a command buffer complete, it moves from the pending state, back to the executable state. If a command buffer was recorded with the
COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BITflag, it instead moves back to the invalid state.If
vkQueueSubmit2fails, it may returnERROR_OUT_OF_HOST_MEMORYorERROR_OUT_OF_DEVICE_MEMORY. If it does, the implementation must ensure that the state and contents of any resources or synchronization primitives referenced by the submitted command buffers and any semaphores referenced bypSubmitsis unaffected by the call or its failure. IfvkQueueSubmit2fails in such a way that the implementation is unable to make that guarantee, the implementation must returnERROR_DEVICE_LOST. See Lost Device.Valid Usage
- If
fenceis notNULL_HANDLE,fencemust be unsignaled - If
fenceis notNULL_HANDLE,fencemust not be associated with any other queue command that has not yet completed execution on that queue - The
synchronization2feature must be enabled - If a command recorded into the
commandBuffermember of any element of thepCommandBufferInfosmember of any element ofpSubmitsreferenced anVkEvent, that event must not be referenced by a command that has been submitted to another queue and is still in the pending state - The
semaphoremember of any binary semaphore element of thepSignalSemaphoreInfosmember of any element ofpSubmitsmust be unsignaled when the semaphore signal operation it defines is executed on the device - The
stageMaskmember of any element of thepSignalSemaphoreInfosmember of any element ofpSubmitsmust only include pipeline stages that are supported by the queue family whichqueuebelongs to - The
stageMaskmember of any element of thepWaitSemaphoreInfosmember of any element ofpSubmitsmust only include pipeline stages that are supported by the queue family whichqueuebelongs to - When a semaphore wait operation for a binary semaphore is executed, as defined by the
semaphoremember of any element of thepWaitSemaphoreInfosmember of any element ofpSubmits, there must be no other queues waiting on the same semaphore - The
semaphoremember of any element of thepWaitSemaphoreInfosmember of any element ofpSubmitsmust be semaphores that are signaled, or have semaphore signal operations previously submitted for execution - Any
semaphoremember of any element of thepWaitSemaphoreInfosmember of any element ofpSubmitsthat was created with aVkSemaphoreTypeKHRofSEMAPHORE_TYPE_BINARY_KHRmust reference a semaphore signal operation that has been submitted for execution and any semaphore signal operations on which it depends (if any) must have also been submitted for execution - The
commandBuffermember of any element of thepCommandBufferInfosmember of any element ofpSubmitsmust be in the pending or executable state - If a command recorded into the
commandBuffermember of any element of thepCommandBufferInfosmember of any element ofpSubmitswas not recorded with theCOMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT, it must not be in the pending state - Any secondary command buffers recorded into the
commandBuffermember of any element of thepCommandBufferInfosmember of any element ofpSubmitsmust be in the pending or executable state - If any secondary command buffers recorded into the
commandBuffermember of any element of thepCommandBufferInfosmember of any element ofpSubmitswas not recorded with theCOMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT, it must not be in the pending state - The
commandBuffermember of any element of thepCommandBufferInfosmember of any element ofpSubmitsmust have been allocated from aVkCommandPoolthat was created for the same queue familyqueuebelongs to - If a command recorded into the
commandBuffermember of any element of thepCommandBufferInfosmember of any element ofpSubmitsincludes a Queue Family Transfer Acquire Operation, there must exist a previously submitted Queue Family Transfer Release Operation on a queue in the queue family identified by the acquire operation, with parameters matching the acquire operation as defined in the definition of such acquire operations, and which happens before the acquire operation - If a command recorded into the
commandBuffermember of any element of thepCommandBufferInfosmember of any element ofpSubmitswas aCmdBeginQuerywhosequeryPoolwas created with aqueryTypeofQUERY_TYPE_PERFORMANCE_QUERY_KHR, the profiling lock must have been held continuously on theVkDevicethatqueuewas retrieved from, throughout recording of those command buffers - If
queuewas not created withDEVICE_QUEUE_CREATE_PROTECTED_BIT, theflagsmember of any element ofpSubmitsmust not includeSUBMIT_PROTECTED_BIT_KHR
Valid Usage (Implicit)
queuemust be a validVkQueuehandle- If
submitCountis not 0,pSubmitsmust be a valid pointer to an array ofsubmitCountvalidVkSubmitInfo2structures - If
fenceis notNULL_HANDLE,fencemust be a validVkFencehandle - Both of
fence, andqueuethat are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the sameVkDevice
Host Synchronization
- Host access to
queuemust be externally synchronized - Host access to
fencemust be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types - - Any Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
queue- the queue that the command buffers will be submitted to.pSubmits- a pointer to an array ofVkSubmitInfo2structures, each specifying a command buffer submission batch.fence- an optional handle to a fence to be signaled once all submitted command buffers have completed execution. Iffenceis notNULL_HANDLE, it defines a fence signal operation.
- If
-
nvkCmdCopyBuffer2
public static void nvkCmdCopyBuffer2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pCopyBufferInfo)Unsafe version of:CmdCopyBuffer2
-
vkCmdCopyBuffer2
public static void vkCmdCopyBuffer2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkCopyBufferInfo2 pCopyBufferInfo)Copy data between buffer regions.C Specification
To copy data between buffer objects, call:
void vkCmdCopyBuffer2( VkCommandBuffer commandBuffer, const VkCopyBufferInfo2* pCopyBufferInfo);or the equivalent command
void vkCmdCopyBuffer2KHR( VkCommandBuffer commandBuffer, const VkCopyBufferInfo2* pCopyBufferInfo);Description
This command is functionally identical to
CmdCopyBuffer, but includes extensible sub-structures that includesTypeandpNextparameters, allowing them to be more easily extended.Valid Usage
- If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,srcBuffermust not be a protected buffer - If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,dstBuffermust not be a protected buffer - If
commandBufferis a protected command buffer andprotectedNoFaultis not supported,dstBuffermust not be an unprotected buffer
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepCopyBufferInfomust be a valid pointer to a validVkCopyBufferInfo2structurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support transfer, graphics, or compute operations - This command must only be called outside of a render pass instance
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Outside Transfer Graphics Compute See Also
- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pCopyBufferInfo- a pointer to aVkCopyBufferInfo2structure describing the copy parameters.
- If
-
nvkCmdCopyImage2
public static void nvkCmdCopyImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pCopyImageInfo)Unsafe version of:CmdCopyImage2
-
vkCmdCopyImage2
public static void vkCmdCopyImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkCopyImageInfo2 pCopyImageInfo)Copy data between images.C Specification
To copy data between image objects, call:
void vkCmdCopyImage2( VkCommandBuffer commandBuffer, const VkCopyImageInfo2* pCopyImageInfo);or the equivalent command
void vkCmdCopyImage2KHR( VkCommandBuffer commandBuffer, const VkCopyImageInfo2* pCopyImageInfo);Description
This command is functionally identical to
CmdCopyImage, but includes extensible sub-structures that includesTypeandpNextparameters, allowing them to be more easily extended.Valid Usage
- If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,srcImagemust not be a protected image - If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,dstImagemust not be a protected image - If
commandBufferis a protected command buffer andprotectedNoFaultis not supported,dstImagemust not be an unprotected image
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepCopyImageInfomust be a valid pointer to a validVkCopyImageInfo2structurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support transfer, graphics, or compute operations - This command must only be called outside of a render pass instance
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Outside Transfer Graphics Compute See Also
- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pCopyImageInfo- a pointer to aVkCopyImageInfo2structure describing the copy parameters.
- If
-
nvkCmdCopyBufferToImage2
public static void nvkCmdCopyBufferToImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pCopyBufferToImageInfo)Unsafe version of:CmdCopyBufferToImage2
-
vkCmdCopyBufferToImage2
public static void vkCmdCopyBufferToImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkCopyBufferToImageInfo2 pCopyBufferToImageInfo)Copy data from a buffer into an image.C Specification
To copy data from a buffer object to an image object, call:
void vkCmdCopyBufferToImage2( VkCommandBuffer commandBuffer, const VkCopyBufferToImageInfo2* pCopyBufferToImageInfo);or the equivalent command
void vkCmdCopyBufferToImage2KHR( VkCommandBuffer commandBuffer, const VkCopyBufferToImageInfo2* pCopyBufferToImageInfo);Description
This command is functionally identical to
CmdCopyBufferToImage, but includes extensible sub-structures that includesTypeandpNextparameters, allowing them to be more easily extended.Valid Usage
- If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,srcBuffermust not be a protected buffer - If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,dstImagemust not be a protected image - If
commandBufferis a protected command buffer andprotectedNoFaultis not supported,dstImagemust not be an unprotected image
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepCopyBufferToImageInfomust be a valid pointer to a validVkCopyBufferToImageInfo2structurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support transfer, graphics, or compute operations - This command must only be called outside of a render pass instance
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Outside Transfer Graphics Compute See Also
- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pCopyBufferToImageInfo- a pointer to aVkCopyBufferToImageInfo2structure describing the copy parameters.
- If
-
nvkCmdCopyImageToBuffer2
public static void nvkCmdCopyImageToBuffer2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pCopyImageToBufferInfo)Unsafe version of:CmdCopyImageToBuffer2
-
vkCmdCopyImageToBuffer2
public static void vkCmdCopyImageToBuffer2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkCopyImageToBufferInfo2 pCopyImageToBufferInfo)Copy image data into a buffer.C Specification
To copy data from an image object to a buffer object, call:
void vkCmdCopyImageToBuffer2( VkCommandBuffer commandBuffer, const VkCopyImageToBufferInfo2* pCopyImageToBufferInfo);or the equivalent command
void vkCmdCopyImageToBuffer2KHR( VkCommandBuffer commandBuffer, const VkCopyImageToBufferInfo2* pCopyImageToBufferInfo);Description
This command is functionally identical to
CmdCopyImageToBuffer, but includes extensible sub-structures that includesTypeandpNextparameters, allowing them to be more easily extended.Valid Usage
- If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,srcImagemust not be a protected image - If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,dstBuffermust not be a protected buffer - If
commandBufferis a protected command buffer andprotectedNoFaultis not supported,dstBuffermust not be an unprotected buffer
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepCopyImageToBufferInfomust be a valid pointer to a validVkCopyImageToBufferInfo2structurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support transfer, graphics, or compute operations - This command must only be called outside of a render pass instance
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Outside Transfer Graphics Compute See Also
- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pCopyImageToBufferInfo- a pointer to aVkCopyImageToBufferInfo2structure describing the copy parameters.
- If
-
nvkCmdBlitImage2
public static void nvkCmdBlitImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pBlitImageInfo)Unsafe version of:CmdBlitImage2
-
vkCmdBlitImage2
public static void vkCmdBlitImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkBlitImageInfo2 pBlitImageInfo)Copy regions of an image, potentially performing format conversion,.C Specification
To copy regions of a source image into a destination image, potentially performing format conversion, arbitrary scaling, and filtering, call:
void vkCmdBlitImage2( VkCommandBuffer commandBuffer, const VkBlitImageInfo2* pBlitImageInfo);or the equivalent command
void vkCmdBlitImage2KHR( VkCommandBuffer commandBuffer, const VkBlitImageInfo2* pBlitImageInfo);Description
This command is functionally identical to
CmdBlitImage, but includes extensible sub-structures that includesTypeandpNextparameters, allowing them to be more easily extended.Valid Usage
- If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,srcImagemust not be a protected image - If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,dstImagemust not be a protected image - If
commandBufferis a protected command buffer andprotectedNoFaultis not supported,dstImagemust not be an unprotected image
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepBlitImageInfomust be a valid pointer to a validVkBlitImageInfo2structurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - This command must only be called outside of a render pass instance
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Outside Graphics See Also
- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pBlitImageInfo- a pointer to aVkBlitImageInfo2structure describing the blit parameters.
- If
-
nvkCmdResolveImage2
public static void nvkCmdResolveImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pResolveImageInfo)Unsafe version of:CmdResolveImage2
-
vkCmdResolveImage2
public static void vkCmdResolveImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkResolveImageInfo2 pResolveImageInfo)Resolve regions of an image.C Specification
To resolve a multisample image to a non-multisample image, call:
void vkCmdResolveImage2( VkCommandBuffer commandBuffer, const VkResolveImageInfo2* pResolveImageInfo);or the equivalent command
void vkCmdResolveImage2KHR( VkCommandBuffer commandBuffer, const VkResolveImageInfo2* pResolveImageInfo);Description
This command is functionally identical to
CmdResolveImage, but includes extensible sub-structures that includesTypeandpNextparameters, allowing them to be more easily extended.Valid Usage
- If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,srcImagemust not be a protected image - If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,dstImagemust not be a protected image - If
commandBufferis a protected command buffer andprotectedNoFaultis not supported,dstImagemust not be an unprotected image
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepResolveImageInfomust be a valid pointer to a validVkResolveImageInfo2structurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - This command must only be called outside of a render pass instance
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Outside Graphics See Also
- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pResolveImageInfo- a pointer to aVkResolveImageInfo2structure describing the resolve parameters.
- If
-
nvkCmdBeginRendering
public static void nvkCmdBeginRendering(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pRenderingInfo)Unsafe version of:CmdBeginRendering
-
vkCmdBeginRendering
public static void vkCmdBeginRendering(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkRenderingInfo pRenderingInfo)Begin a dynamic render pass instance.C Specification
To begin a render pass instance, call:
void vkCmdBeginRendering( VkCommandBuffer commandBuffer, const VkRenderingInfo* pRenderingInfo);or the equivalent command
void vkCmdBeginRenderingKHR( VkCommandBuffer commandBuffer, const VkRenderingInfo* pRenderingInfo);Description
After beginning a render pass instance, the command buffer is ready to record draw commands.
If
pRenderingInfo\u2192flagsincludesRENDERING_RESUMING_BITthen this render pass is resumed from a render pass instance that has been suspended earlier in submission order.Valid Usage
- The
dynamicRenderingfeature must be enabled - If
commandBufferis a secondary command buffer,pRenderingInfo\u2192flagsmust not includeRENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepRenderingInfomust be a valid pointer to a validVkRenderingInfostructurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - This command must only be called outside of a render pass instance
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Outside Graphics See Also
- Parameters:
commandBuffer- the command buffer in which to record the command.pRenderingInfo- a pointer to aVkRenderingInfostructure specifying details of the render pass instance to begin.
- The
-
vkCmdEndRendering
public static void vkCmdEndRendering(org.lwjgl.vulkan.VkCommandBuffer commandBuffer)
End a dynamic render pass instance.C Specification
To end a render pass instance, call:
void vkCmdEndRendering( VkCommandBuffer commandBuffer);or the equivalent command
void vkCmdEndRenderingKHR( VkCommandBuffer commandBuffer);Description
If the value of
pRenderingInfo\u2192flagsused to begin this render pass instance includedRENDERING_SUSPENDING_BIT, then this render pass is suspended and will be resumed later in submission order.Valid Usage
- The current render pass instance must have been begun with
CmdBeginRendering - The current render pass instance must have been begun in
commandBuffer
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - This command must only be called inside of a render pass instance
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Inside Graphics - Parameters:
commandBuffer- the command buffer in which to record the command.
- The current render pass instance must have been begun with
-
vkCmdSetCullMode
public static void vkCmdSetCullMode(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int cullMode)Set cull mode dynamically for a command buffer.C Specification
To dynamically set the cull mode, call:
void vkCmdSetCullMode( VkCommandBuffer commandBuffer, VkCullModeFlags cullMode);or the equivalent command
void vkCmdSetCullModeEXT( VkCommandBuffer commandBuffer, VkCullModeFlags cullMode);Description
This command sets the cull mode for subsequent drawing commands when the graphics pipeline is created with
DYNAMIC_STATE_CULL_MODEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineRasterizationStateCreateInfo::cullModevalue used to create the currently active pipeline.Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlecullModemust be a valid combination ofVkCullModeFlagBitsvaluescommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Both Graphics - Parameters:
commandBuffer- the command buffer into which the command will be recorded.cullMode- specifies the cull mode property to use for drawing.
-
vkCmdSetFrontFace
public static void vkCmdSetFrontFace(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int frontFace)Set front face orientation dynamically for a command buffer.C Specification
To dynamically set the front face orientation, call:
void vkCmdSetFrontFace( VkCommandBuffer commandBuffer, VkFrontFace frontFace);or the equivalent command
void vkCmdSetFrontFaceEXT( VkCommandBuffer commandBuffer, VkFrontFace frontFace);Description
This command sets the front face orientation for subsequent drawing commands when the graphics pipeline is created with
DYNAMIC_STATE_FRONT_FACEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineRasterizationStateCreateInfo::frontFacevalue used to create the currently active pipeline.Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlefrontFacemust be a validVkFrontFacevaluecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Both Graphics - Parameters:
commandBuffer- the command buffer into which the command will be recorded.frontFace- aVkFrontFacevalue specifying the front-facing triangle orientation to be used for culling.
-
vkCmdSetPrimitiveTopology
public static void vkCmdSetPrimitiveTopology(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int primitiveTopology)Set primitive topology state dynamically for a command buffer.C Specification
To dynamically set primitive topology, call:
void vkCmdSetPrimitiveTopology( VkCommandBuffer commandBuffer, VkPrimitiveTopology primitiveTopology);or the equivalent command
void vkCmdSetPrimitiveTopologyEXT( VkCommandBuffer commandBuffer, VkPrimitiveTopology primitiveTopology);Description
This command sets the primitive topology for subsequent drawing commands when the graphics pipeline is created with
DYNAMIC_STATE_PRIMITIVE_TOPOLOGYset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineInputAssemblyStateCreateInfo::topologyvalue used to create the currently active pipeline.Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandleprimitiveTopologymust be a validVkPrimitiveTopologyvaluecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Both Graphics - Parameters:
commandBuffer- the command buffer into which the command will be recorded.primitiveTopology- specifies the primitive topology to use for drawing.
-
nvkCmdSetViewportWithCount
public static void nvkCmdSetViewportWithCount(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int viewportCount, long pViewports)Unsafe version of:CmdSetViewportWithCount- Parameters:
viewportCount- specifies the viewport count.
-
vkCmdSetViewportWithCount
public static void vkCmdSetViewportWithCount(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkViewport.Buffer pViewports)Set the viewport count and viewports dynamically for a command buffer.C Specification
To dynamically set the viewport count and viewports, call:
void vkCmdSetViewportWithCount( VkCommandBuffer commandBuffer, uint32_t viewportCount, const VkViewport* pViewports);or the equivalent command
void vkCmdSetViewportWithCountEXT( VkCommandBuffer commandBuffer, uint32_t viewportCount, const VkViewport* pViewports);Description
This command sets the viewport count and viewports state for subsequent drawing commands when the graphics pipeline is created with
DYNAMIC_STATE_VIEWPORT_WITH_COUNTset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by the correspondingVkPipelineViewportStateCreateInfo::viewportCountandpViewportsvalues used to create the currently active pipeline.Valid Usage
viewportCountmust be between 1 andVkPhysicalDeviceLimits::maxViewports, inclusive- If the multiple viewports feature is not enabled,
viewportCountmust be 1 commandBuffermust not haveVkCommandBufferInheritanceViewportScissorInfoNV::viewportScissor2Denabled
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepViewportsmust be a valid pointer to an array ofviewportCountvalidVkViewportstructurescommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations viewportCountmust be greater than 0
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Both Graphics See Also
- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pViewports- specifies the viewports to use for drawing.
-
nvkCmdSetScissorWithCount
public static void nvkCmdSetScissorWithCount(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int scissorCount, long pScissors)Unsafe version of:CmdSetScissorWithCount- Parameters:
scissorCount- specifies the scissor count.
-
vkCmdSetScissorWithCount
public static void vkCmdSetScissorWithCount(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkRect2D.Buffer pScissors)Set the scissor count and scissor rectangular bounds dynamically for a command buffer.C Specification
To dynamically set the scissor count and scissor rectangular bounds, call:
void vkCmdSetScissorWithCount( VkCommandBuffer commandBuffer, uint32_t scissorCount, const VkRect2D* pScissors);or the equivalent command
void vkCmdSetScissorWithCountEXT( VkCommandBuffer commandBuffer, uint32_t scissorCount, const VkRect2D* pScissors);Description
This command sets the scissor count and scissor rectangular bounds state for subsequence drawing commands when the graphics pipeline is created with
DYNAMIC_STATE_SCISSOR_WITH_COUNTset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by the correspondingVkPipelineViewportStateCreateInfo::scissorCountandpScissorsvalues used to create the currently active pipeline.Valid Usage
scissorCountmust be between 1 andVkPhysicalDeviceLimits::maxViewports, inclusive- If the multiple viewports feature is not enabled,
scissorCountmust be 1 - The
xandymembers ofoffsetmember of any element ofpScissorsmust be greater than or equal to 0 - Evaluation of
(offset.x + extent.width)must not cause a signed integer addition overflow for any element ofpScissors - Evaluation of
(offset.y + extent.height)must not cause a signed integer addition overflow for any element ofpScissors commandBuffermust not haveVkCommandBufferInheritanceViewportScissorInfoNV::viewportScissor2Denabled
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepScissorsmust be a valid pointer to an array ofscissorCountVkRect2DstructurescommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations scissorCountmust be greater than 0
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Both Graphics See Also
- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pScissors- specifies the scissors to use for drawing.
-
nvkCmdBindVertexBuffers2
public static void nvkCmdBindVertexBuffers2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int firstBinding, int bindingCount, long pBuffers, long pOffsets, long pSizes, long pStrides)Unsafe version of:CmdBindVertexBuffers2- Parameters:
bindingCount- the number of vertex input bindings whose state is updated by the command.
-
vkCmdBindVertexBuffers2
public static void vkCmdBindVertexBuffers2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int firstBinding, java.nio.LongBuffer pBuffers, java.nio.LongBuffer pOffsets, @Nullable java.nio.LongBuffer pSizes, @Nullable java.nio.LongBuffer pStrides)Bind vertex buffers to a command buffer and dynamically set strides.C Specification
Alternatively, to bind vertex buffers, along with their sizes and strides, to a command buffer for use in subsequent drawing commands, call:
void vkCmdBindVertexBuffers2( VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets, const VkDeviceSize* pSizes, const VkDeviceSize* pStrides);or the equivalent command
void vkCmdBindVertexBuffers2EXT( VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets, const VkDeviceSize* pSizes, const VkDeviceSize* pStrides);Description
The values taken from elements
iofpBuffersandpOffsetsreplace the current state for the vertex input bindingfirstBinding + i, foriin[0, bindingCount). The vertex input binding is updated to start at the offset indicated bypOffsets[i] from the start of the bufferpBuffers[i]. IfpSizesis notNULLthenpSizes[i] specifies the bound size of the vertex buffer starting from the corresponding elements ofpBuffers[i] pluspOffsets[i]. All vertex input attributes that use each of these bindings will use these updated addresses in their address calculations for subsequent drawing commands. If the nullDescriptor feature is enabled, elements ofpBufferscan beNULL_HANDLE, and can be used by the vertex shader. If a vertex input attribute is bound to a vertex input binding that isNULL_HANDLE, the values taken from memory are considered to be zero, and missing G, B, or A components are filled with(0,0,1).This command also dynamically sets the byte strides between consecutive elements within buffer
pBuffers[i] to the correspondingpStrides[i] value when the graphics pipeline is created withDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, strides are specified by theVkVertexInputBindingDescription::stridevalues used to create the currently active pipeline.If the bound pipeline state object was also created with the
DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled thenCmdSetVertexInputEXTcan be used instead ofvkCmdBindVertexBuffers2to set the stride.Valid Usage
firstBindingmust be less thanVkPhysicalDeviceLimits::maxVertexInputBindings- The sum of
firstBindingandbindingCountmust be less than or equal toVkPhysicalDeviceLimits::maxVertexInputBindings - All elements of
pOffsetsmust be less than the size of the corresponding element inpBuffers - If
pSizesis notNULL, all elements ofpOffsetspluspSizesmust be less than or equal to the size of the corresponding element inpBuffers - All elements of
pBuffersmust have been created with theBUFFER_USAGE_VERTEX_BUFFER_BITflag - Each element of
pBuffersthat is non-sparse must be bound completely and contiguously to a singleVkDeviceMemoryobject - If the nullDescriptor feature is not enabled, all elements of
pBuffersmust not beNULL_HANDLE - If an element of
pBuffersisNULL_HANDLE, then the corresponding element ofpOffsetsmust be zero - If
pStridesis notNULLeach element ofpStridesmust be less than or equal toVkPhysicalDeviceLimits::maxVertexInputBindingStride - If
pStridesis notNULLeach element ofpStridesmust be either 0 or greater than or equal to the maximum extent of all vertex input attributes fetched from the corresponding binding, where the extent is calculated as theVkVertexInputAttributeDescription::offsetplusVkVertexInputAttributeDescription::formatsize
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepBuffersmust be a valid pointer to an array ofbindingCountvalid orNULL_HANDLEVkBufferhandlespOffsetsmust be a valid pointer to an array ofbindingCountVkDeviceSizevalues- If
pSizesis notNULL,pSizesmust be a valid pointer to an array ofbindingCountVkDeviceSizevalues - If
pStridesis notNULL,pStridesmust be a valid pointer to an array ofbindingCountVkDeviceSizevalues commandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - If any of
pSizes, orpStridesare notNULL,bindingCountmust be greater than 0 - Both of
commandBuffer, and the elements ofpBuffersthat are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the sameVkDevice
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Both Graphics - Parameters:
commandBuffer- the command buffer into which the command is recorded.firstBinding- the index of the first vertex input binding whose state is updated by the command.pBuffers- a pointer to an array of buffer handles.pOffsets- a pointer to an array of buffer offsets.pSizes-NULLor a pointer to an array of the size in bytes of vertex data bound frompBuffers.pStrides-NULLor a pointer to an array of buffer strides.
-
vkCmdSetDepthTestEnable
public static void vkCmdSetDepthTestEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthTestEnable)Set depth test enable dynamically for a command buffer.C Specification
To dynamically enable or disable the depth test, call:
void vkCmdSetDepthTestEnable( VkCommandBuffer commandBuffer, VkBool32 depthTestEnable);or the equivalent command
void vkCmdSetDepthTestEnableEXT( VkCommandBuffer commandBuffer, VkBool32 depthTestEnable);Description
This command sets the depth test enable for subsequent drawing commands when the graphics pipeline is created with
DYNAMIC_STATE_DEPTH_TEST_ENABLEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineDepthStencilStateCreateInfo::depthTestEnablevalue used to create the currently active pipeline.Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Both Graphics - Parameters:
commandBuffer- the command buffer into which the command will be recorded.depthTestEnable- specifies if the depth test is enabled.
-
vkCmdSetDepthWriteEnable
public static void vkCmdSetDepthWriteEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthWriteEnable)Set depth write enable dynamically for a command buffer.C Specification
To dynamically set the depth write enable, call:
void vkCmdSetDepthWriteEnable( VkCommandBuffer commandBuffer, VkBool32 depthWriteEnable);or the equivalent command
void vkCmdSetDepthWriteEnableEXT( VkCommandBuffer commandBuffer, VkBool32 depthWriteEnable);Description
This command sets the depth write enable for subsequent drawing commands when the graphics pipeline is created with
DYNAMIC_STATE_DEPTH_WRITE_ENABLEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineDepthStencilStateCreateInfo::depthWriteEnablevalue used to create the currently active pipeline.Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Both Graphics - Parameters:
commandBuffer- the command buffer into which the command will be recorded.depthWriteEnable- specifies if depth writes are enabled.
-
vkCmdSetDepthCompareOp
public static void vkCmdSetDepthCompareOp(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int depthCompareOp)Set depth comparison operator dynamically for a command buffer.C Specification
To dynamically set the depth compare operator, call:
void vkCmdSetDepthCompareOp( VkCommandBuffer commandBuffer, VkCompareOp depthCompareOp);or the equivalent command
void vkCmdSetDepthCompareOpEXT( VkCommandBuffer commandBuffer, VkCompareOp depthCompareOp);Description
This command sets the depth comparison operator for subsequent drawing commands when the graphics pipeline is created with
DYNAMIC_STATE_DEPTH_COMPARE_OPset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineDepthStencilStateCreateInfo::depthCompareOpvalue used to create the currently active pipeline.Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandledepthCompareOpmust be a validVkCompareOpvaluecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Both Graphics - Parameters:
commandBuffer- the command buffer into which the command will be recorded.depthCompareOp- specifies the depth comparison operator.
-
vkCmdSetDepthBoundsTestEnable
public static void vkCmdSetDepthBoundsTestEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthBoundsTestEnable)Set depth bounds test enable dynamically for a command buffer.C Specification
To dynamically enable or disable the depth bounds test, call:
void vkCmdSetDepthBoundsTestEnable( VkCommandBuffer commandBuffer, VkBool32 depthBoundsTestEnable);or the equivalent command
void vkCmdSetDepthBoundsTestEnableEXT( VkCommandBuffer commandBuffer, VkBool32 depthBoundsTestEnable);Description
This command sets the depth bounds enable for subsequent drawing commands when the graphics pipeline is created with
DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineDepthStencilStateCreateInfo::depthBoundsTestEnablevalue used to create the currently active pipeline.Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Both Graphics - Parameters:
commandBuffer- the command buffer into which the command will be recorded.depthBoundsTestEnable- specifies if the depth bounds test is enabled.
-
vkCmdSetStencilTestEnable
public static void vkCmdSetStencilTestEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean stencilTestEnable)Set stencil test enable dynamically for a command buffer.C Specification
To dynamically enable or disable the stencil test, call:
void vkCmdSetStencilTestEnable( VkCommandBuffer commandBuffer, VkBool32 stencilTestEnable);or the equivalent command
void vkCmdSetStencilTestEnableEXT( VkCommandBuffer commandBuffer, VkBool32 stencilTestEnable);Description
This command sets the stencil test enable for subsequent drawing commands when the graphics pipeline is created with
DYNAMIC_STATE_STENCIL_TEST_ENABLEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineDepthStencilStateCreateInfo::stencilTestEnablevalue used to create the currently active pipeline.Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Both Graphics - Parameters:
commandBuffer- the command buffer into which the command will be recorded.stencilTestEnable- specifies if the stencil test is enabled.
-
vkCmdSetStencilOp
public static void vkCmdSetStencilOp(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int faceMask, int failOp, int passOp, int depthFailOp, int compareOp)Set stencil operation dynamically for a command buffer.C Specification
To dynamically set the stencil operation, call:
void vkCmdSetStencilOp( VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, VkStencilOp failOp, VkStencilOp passOp, VkStencilOp depthFailOp, VkCompareOp compareOp);or the equivalent command
void vkCmdSetStencilOpEXT( VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, VkStencilOp failOp, VkStencilOp passOp, VkStencilOp depthFailOp, VkCompareOp compareOp);Description
This command sets the stencil operation for subsequent drawing commands when the graphics pipeline is created with
DYNAMIC_STATE_STENCIL_OPset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by the correspondingVkPipelineDepthStencilStateCreateInfo::failOp,passOp,depthFailOp, andcompareOpvalues used to create the currently active pipeline, for both front and back faces.Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlefaceMaskmust be a valid combination ofVkStencilFaceFlagBitsvaluesfaceMaskmust not be 0failOpmust be a validVkStencilOpvaluepassOpmust be a validVkStencilOpvaluedepthFailOpmust be a validVkStencilOpvaluecompareOpmust be a validVkCompareOpvaluecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Both Graphics - Parameters:
commandBuffer- the command buffer into which the command will be recorded.faceMask- a bitmask ofVkStencilFaceFlagBitsspecifying the set of stencil state for which to update the stencil operation.failOp- aVkStencilOpvalue specifying the action performed on samples that fail the stencil test.passOp- aVkStencilOpvalue specifying the action performed on samples that pass both the depth and stencil tests.depthFailOp- aVkStencilOpvalue specifying the action performed on samples that pass the stencil test and fail the depth test.compareOp- aVkCompareOpvalue specifying the comparison operator used in the stencil test.
-
vkCmdSetRasterizerDiscardEnable
public static void vkCmdSetRasterizerDiscardEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean rasterizerDiscardEnable)Control whether primitives are discarded before the rasterization stage dynamically for a command buffer.C Specification
To dynamically enable whether primitives are discarded before the rasterization stage, call:
void vkCmdSetRasterizerDiscardEnable( VkCommandBuffer commandBuffer, VkBool32 rasterizerDiscardEnable);or the equivalent command
void vkCmdSetRasterizerDiscardEnableEXT( VkCommandBuffer commandBuffer, VkBool32 rasterizerDiscardEnable);Description
This command sets the discard enable for subsequent drawing commands when the graphics pipeline is created with
DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineRasterizationStateCreateInfo::rasterizerDiscardEnablevalue used to create the currently active pipeline.Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Both Graphics - Parameters:
commandBuffer- the command buffer into which the command will be recorded.rasterizerDiscardEnable- controls whether primitives are discarded immediately before the rasterization stage.
-
vkCmdSetDepthBiasEnable
public static void vkCmdSetDepthBiasEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthBiasEnable)Control whether to bias fragment depth values dynamically for a command buffer.C Specification
To dynamically enable whether to bias fragment depth values, call:
void vkCmdSetDepthBiasEnable( VkCommandBuffer commandBuffer, VkBool32 depthBiasEnable);or the equivalent command
void vkCmdSetDepthBiasEnableEXT( VkCommandBuffer commandBuffer, VkBool32 depthBiasEnable);Description
This command sets the depth bias enable for subsequent drawing commands when the graphics pipeline is created with
DYNAMIC_STATE_DEPTH_BIAS_ENABLEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineRasterizationStateCreateInfo::depthBiasEnablevalue used to create the currently active pipeline.Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Both Graphics - Parameters:
commandBuffer- the command buffer into which the command will be recorded.depthBiasEnable- controls whether to bias fragment depth values.
-
vkCmdSetPrimitiveRestartEnable
public static void vkCmdSetPrimitiveRestartEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean primitiveRestartEnable)Set primitive assembly restart state dynamically for a command buffer.C Specification
To dynamically control whether a special vertex index value is treated as restarting the assembly of primitives, call:
void vkCmdSetPrimitiveRestartEnable( VkCommandBuffer commandBuffer, VkBool32 primitiveRestartEnable);or the equivalent command
void vkCmdSetPrimitiveRestartEnableEXT( VkCommandBuffer commandBuffer, VkBool32 primitiveRestartEnable);Description
This command sets the primitive restart enable for subsequent drawing commands when the graphics pipeline is created with
DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineInputAssemblyStateCreateInfo::primitiveRestartEnablevalue used to create the currently active pipeline.Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Secondary Both Graphics - Parameters:
commandBuffer- the command buffer into which the command will be recorded.primitiveRestartEnable- controls whether a special vertex index value is treated as restarting the assembly of primitives. It behaves in the same way asVkPipelineInputAssemblyStateCreateInfo::primitiveRestartEnable
-
nvkGetDeviceBufferMemoryRequirements
public static void nvkGetDeviceBufferMemoryRequirements(org.lwjgl.vulkan.VkDevice device, long pInfo, long pMemoryRequirements)Unsafe version of:GetDeviceBufferMemoryRequirements
-
vkGetDeviceBufferMemoryRequirements
public static void vkGetDeviceBufferMemoryRequirements(org.lwjgl.vulkan.VkDevice device, VkDeviceBufferMemoryRequirements pInfo, VkMemoryRequirements2 pMemoryRequirements)Returns the memory requirements for specified Vulkan object.C Specification
To determine the memory requirements for a buffer resource without creating an object, call:
void vkGetDeviceBufferMemoryRequirements( VkDevice device, const VkDeviceBufferMemoryRequirements* pInfo, VkMemoryRequirements2* pMemoryRequirements);or the equivalent command
void vkGetDeviceBufferMemoryRequirementsKHR( VkDevice device, const VkDeviceBufferMemoryRequirements* pInfo, VkMemoryRequirements2* pMemoryRequirements);Valid Usage (Implicit)
devicemust be a validVkDevicehandlepInfomust be a valid pointer to a validVkDeviceBufferMemoryRequirementsstructurepMemoryRequirementsmust be a valid pointer to aVkMemoryRequirements2structure
See Also
- Parameters:
device- the logical device intended to own the buffer.pInfo- a pointer to aVkDeviceBufferMemoryRequirementsstructure containing parameters required for the memory requirements query.pMemoryRequirements- a pointer to aVkMemoryRequirements2structure in which the memory requirements of the buffer object are returned.
-
nvkGetDeviceImageMemoryRequirements
public static void nvkGetDeviceImageMemoryRequirements(org.lwjgl.vulkan.VkDevice device, long pInfo, long pMemoryRequirements)Unsafe version of:GetDeviceImageMemoryRequirements
-
vkGetDeviceImageMemoryRequirements
public static void vkGetDeviceImageMemoryRequirements(org.lwjgl.vulkan.VkDevice device, VkDeviceImageMemoryRequirements pInfo, VkMemoryRequirements2 pMemoryRequirements)Returns the memory requirements for specified Vulkan object.C Specification
To determine the memory requirements for an image resource without creating an object, call:
void vkGetDeviceImageMemoryRequirements( VkDevice device, const VkDeviceImageMemoryRequirements* pInfo, VkMemoryRequirements2* pMemoryRequirements);or the equivalent command
void vkGetDeviceImageMemoryRequirementsKHR( VkDevice device, const VkDeviceImageMemoryRequirements* pInfo, VkMemoryRequirements2* pMemoryRequirements);Valid Usage (Implicit)
devicemust be a validVkDevicehandlepInfomust be a valid pointer to a validVkDeviceImageMemoryRequirementsstructurepMemoryRequirementsmust be a valid pointer to aVkMemoryRequirements2structure
See Also
- Parameters:
device- the logical device intended to own the image.pInfo- a pointer to aVkDeviceImageMemoryRequirementsstructure containing parameters required for the memory requirements query.pMemoryRequirements- a pointer to aVkMemoryRequirements2structure in which the memory requirements of the image object are returned.
-
nvkGetDeviceImageSparseMemoryRequirements
public static void nvkGetDeviceImageSparseMemoryRequirements(org.lwjgl.vulkan.VkDevice device, long pInfo, long pSparseMemoryRequirementCount, long pSparseMemoryRequirements)Unsafe version of:GetDeviceImageSparseMemoryRequirements- Parameters:
pSparseMemoryRequirementCount- a pointer to an integer related to the number of sparse memory requirements available or queried, as described below.
-
vkGetDeviceImageSparseMemoryRequirements
public static void vkGetDeviceImageSparseMemoryRequirements(org.lwjgl.vulkan.VkDevice device, VkDeviceImageMemoryRequirements pInfo, java.nio.IntBuffer pSparseMemoryRequirementCount, @Nullable VkSparseImageMemoryRequirements2.Buffer pSparseMemoryRequirements)Query the memory requirements for a sparse image.C Specification
To determine the sparse memory requirements for an image resource without creating an object, call:
void vkGetDeviceImageSparseMemoryRequirements( VkDevice device, const VkDeviceImageMemoryRequirements* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements);or the equivalent command
void vkGetDeviceImageSparseMemoryRequirementsKHR( VkDevice device, const VkDeviceImageMemoryRequirements* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements);Valid Usage (Implicit)
devicemust be a validVkDevicehandlepInfomust be a valid pointer to a validVkDeviceImageMemoryRequirementsstructurepSparseMemoryRequirementCountmust be a valid pointer to auint32_tvalue- If the value referenced by
pSparseMemoryRequirementCountis not 0, andpSparseMemoryRequirementsis notNULL,pSparseMemoryRequirementsmust be a valid pointer to an array ofpSparseMemoryRequirementCountVkSparseImageMemoryRequirements2structures
See Also
VkDeviceImageMemoryRequirements,VkSparseImageMemoryRequirements2- Parameters:
device- the logical device intended to own the image.pInfo- a pointer to aVkDeviceImageMemoryRequirementsstructure containing parameters required for the memory requirements query.pSparseMemoryRequirementCount- a pointer to an integer related to the number of sparse memory requirements available or queried, as described below.pSparseMemoryRequirements- eitherNULLor a pointer to an array ofVkSparseImageMemoryRequirements2structures.
-
vkGetPhysicalDeviceToolProperties
public static int vkGetPhysicalDeviceToolProperties(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, int[] pToolCount, @Nullable VkPhysicalDeviceToolProperties.Buffer pToolProperties)Array version of:GetPhysicalDeviceToolProperties
-
vkCreatePrivateDataSlot
public static int vkCreatePrivateDataSlot(org.lwjgl.vulkan.VkDevice device, VkPrivateDataSlotCreateInfo pCreateInfo, @Nullable VkAllocationCallbacks pAllocator, long[] pPrivateDataSlot)Array version of:CreatePrivateDataSlot
-
vkGetPrivateData
public static void vkGetPrivateData(org.lwjgl.vulkan.VkDevice device, int objectType, long objectHandle, long privateDataSlot, long[] pData)Array version of:GetPrivateData
-
vkCmdWaitEvents2
public static void vkCmdWaitEvents2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long[] pEvents, VkDependencyInfo.Buffer pDependencyInfos)Array version of:CmdWaitEvents2
-
vkCmdBindVertexBuffers2
public static void vkCmdBindVertexBuffers2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int firstBinding, long[] pBuffers, long[] pOffsets, @Nullable long[] pSizes, @Nullable long[] pStrides)Array version of:CmdBindVertexBuffers2
-
vkGetDeviceImageSparseMemoryRequirements
public static void vkGetDeviceImageSparseMemoryRequirements(org.lwjgl.vulkan.VkDevice device, VkDeviceImageMemoryRequirements pInfo, int[] pSparseMemoryRequirementCount, @Nullable VkSparseImageMemoryRequirements2.Buffer pSparseMemoryRequirements)Array version of:GetDeviceImageSparseMemoryRequirements
-
-