vk · Structs · V1
16 public declarations with native signatures and source-owned contracts.
Stvk::ValidationCacheCreateFlagsEXT
Contract
Open integer representation of VkValidationCacheCreateFlagsEXT.
Fields
0
0: u32Methods and associated items
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
self and other values to be equal, and is used by ==.Stvk::ValidationCacheCreateInfoEXT
Contract
Native structure VkValidationCacheCreateInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: ValidationCacheCreateFlagsEXTNative field flags.
initial_data_size
initial_data_size: usizeNative field initialDataSize.
p_initial_data
p_initial_data: *const c_voidNative field pInitialData.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_flags
Set native field flags without native effects.
set_initial_data_size
Set native count initialDataSize directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
set_initial_data
Borrow pInitialData and set checked native byte size initialDataSize.
The borrow covers this storage only; nested raw pointers, format, alignment
and asynchronous retention remain native-call obligations.
Output storage must be initialized; returned sizes do not enlarge its capacity.
Errors
Returns a construction error if the length exceeds the native count width.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::ValidationCacheEXT
Contract
Raw Vulkan handle VkValidationCacheEXT.
Khronos reference: VkValidationCacheEXT
Calls using this identity must satisfy Vulkan lifetime and synchronization rules.
Fields
0
0: u64Methods and associated items
NULL
is_null
from_raw
as_raw
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::ValidationCacheHeaderVersionEXT
Contract
Open integer representation of VkValidationCacheHeaderVersionEXT.
Fields
0
0: i32Methods and associated items
ONE_EXT
Native value VK_VALIDATION_CACHE_HEADER_VERSION_ONE_EXT.
Khronos reference: VK_VALIDATION_CACHE_HEADER_VERSION_ONE_EXT
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::ValidationCheckEXT
Contract
Open integer representation of VkValidationCheckEXT.
Fields
0
0: i32Methods and associated items
ALL_EXT
Native value VK_VALIDATION_CHECK_ALL_EXT.
SHADERS_EXT
Native value VK_VALIDATION_CHECK_SHADERS_EXT.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::ValidationFeatureDisableEXT
Contract
Open integer representation of VkValidationFeatureDisableEXT.
Fields
0
0: i32Methods and associated items
ALL_EXT
Native value VK_VALIDATION_FEATURE_DISABLE_ALL_EXT.
SHADERS_EXT
Native value VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT.
Khronos reference: VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT
THREAD_SAFETY_EXT
Native value VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT.
Khronos reference: VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT
API_PARAMETERS_EXT
Native value VK_VALIDATION_FEATURE_DISABLE_API_PARAMETERS_EXT.
Khronos reference: VK_VALIDATION_FEATURE_DISABLE_API_PARAMETERS_EXT
OBJECT_LIFETIMES_EXT
Native value VK_VALIDATION_FEATURE_DISABLE_OBJECT_LIFETIMES_EXT.
Khronos reference: VK_VALIDATION_FEATURE_DISABLE_OBJECT_LIFETIMES_EXT
CORE_CHECKS_EXT
Native value VK_VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT.
Khronos reference: VK_VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT
UNIQUE_HANDLES_EXT
Native value VK_VALIDATION_FEATURE_DISABLE_UNIQUE_HANDLES_EXT.
Khronos reference: VK_VALIDATION_FEATURE_DISABLE_UNIQUE_HANDLES_EXT
SHADER_VALIDATION_CACHE_EXT
Native value VK_VALIDATION_FEATURE_DISABLE_SHADER_VALIDATION_CACHE_EXT.
Khronos reference: VK_VALIDATION_FEATURE_DISABLE_SHADER_VALIDATION_CACHE_EXT
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::ValidationFeatureEnableEXT
Contract
Open integer representation of VkValidationFeatureEnableEXT.
Fields
0
0: i32Methods and associated items
GPU_ASSISTED_EXT
Native value VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT.
Khronos reference: VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT
GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT
Native value VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT.
Khronos reference: VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT
BEST_PRACTICES_EXT
Native value VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT.
Khronos reference: VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT
DEBUG_PRINTF_EXT
Native value VK_VALIDATION_FEATURE_ENABLE_DEBUG_PRINTF_EXT.
Khronos reference: VK_VALIDATION_FEATURE_ENABLE_DEBUG_PRINTF_EXT
SYNCHRONIZATION_VALIDATION_EXT
Native value VK_VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXT.
Khronos reference: VK_VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXT
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::ValidationFeaturesEXT
pub struct ValidationFeaturesEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub enabled_validation_feature_count: u32,
pub p_enabled_validation_features: *const ValidationFeatureEnableEXT,
pub disabled_validation_feature_count: u32,
pub p_disabled_validation_features: *const ValidationFeatureDisableEXT,
/* private fields */
}Contract
Native structure VkValidationFeaturesEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
enabled_validation_feature_count
enabled_validation_feature_count: u32Native field enabledValidationFeatureCount.
p_enabled_validation_features
p_enabled_validation_features: *const ValidationFeatureEnableEXTNative field pEnabledValidationFeatures.
disabled_validation_feature_count
disabled_validation_feature_count: u32Native field disabledValidationFeatureCount.
p_disabled_validation_features
p_disabled_validation_features: *const ValidationFeatureDisableEXTNative field pDisabledValidationFeatures.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_enabled_validation_feature_count
Set native count enabledValidationFeatureCount directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
set_enabled_validation_features
Borrow pEnabledValidationFeatures and set checked native count enabledValidationFeatureCount.
The borrow covers this storage only; nested raw pointers, format, alignment
and asynchronous retention remain native-call obligations.
Output storage must be initialized; returned sizes do not enlarge its capacity.
Errors
Returns a construction error if the length exceeds the native count width.
set_disabled_validation_feature_count
Set native count disabledValidationFeatureCount directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
set_disabled_validation_features
Borrow pDisabledValidationFeatures and set checked native count disabledValidationFeatureCount.
The borrow covers this storage only; nested raw pointers, format, alignment
and asynchronous retention remain native-call obligations.
Output storage must be initialized; returned sizes do not enlarge its capacity.
Errors
Returns a construction error if the length exceeds the native count width.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::ValidationFlagsEXT
Contract
Native structure VkValidationFlagsEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
disabled_validation_check_count
disabled_validation_check_count: u32Native field disabledValidationCheckCount.
p_disabled_validation_checks
p_disabled_validation_checks: *const ValidationCheckEXTNative field pDisabledValidationChecks.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_disabled_validation_check_count
Set native count disabledValidationCheckCount directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
set_disabled_validation_checks
Borrow pDisabledValidationChecks and set checked native count disabledValidationCheckCount.
The borrow covers this storage only; nested raw pointers, format, alignment
and asynchronous retention remain native-call obligations.
Output storage must be initialized; returned sizes do not enlarge its capacity.
Errors
Returns a construction error if the length exceeds the native count width.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::VendorId
Contract
Open integer representation of VkVendorId.
Fields
0
0: i32Methods and associated items
KHRONOS
Native value VK_VENDOR_ID_KHRONOS.
VIV
Native value VK_VENDOR_ID_VIV.
VSI
Native value VK_VENDOR_ID_VSI.
KAZAN
Native value VK_VENDOR_ID_KAZAN.
CODEPLAY
Native value VK_VENDOR_ID_CODEPLAY.
MESA
Native value VK_VENDOR_ID_MESA.
POCL
Native value VK_VENDOR_ID_POCL.
MOBILEYE
Native value VK_VENDOR_ID_MOBILEYE.
APE
Native value VK_VENDOR_ID_APE.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::VertexInputAttributeDescription
Contract
Native structure VkVertexInputAttributeDescription.
Fields
location
location: u32Native field location.
binding
binding: u32Native field binding.
format
format: FormatNative field format.
offset
offset: u32Native field offset.
Methods and associated items
new
Construct the record with its default native state.
set_location
Set native field location without native effects.
set_binding
Set native field binding without native effects.
set_format
Set native field format without native effects.
set_offset
Set native field offset without native effects.
clone
default
Stvk::VertexInputAttributeDescription2EXT
Contract
Native structure VkVertexInputAttributeDescription2EXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
location
location: u32Native field location.
binding
binding: u32Native field binding.
format
format: FormatNative field format.
offset
offset: u32Native field offset.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_location
Set native field location without native effects.
set_binding
Set native field binding without native effects.
set_format
Set native field format without native effects.
set_offset
Set native field offset without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::VertexInputBindingDescription
Contract
Native structure VkVertexInputBindingDescription.
Fields
binding
binding: u32Native field binding.
stride
stride: u32Native field stride.
input_rate
input_rate: VertexInputRateNative field inputRate.
Methods and associated items
new
Construct the record with its default native state.
set_binding
Set native field binding without native effects.
set_stride
Set native field stride without native effects.
set_input_rate
Set native field inputRate without native effects.
clone
default
Stvk::VertexInputBindingDescription2EXT
Contract
Native structure VkVertexInputBindingDescription2EXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
binding
binding: u32Native field binding.
stride
stride: u32Native field stride.
input_rate
input_rate: VertexInputRateNative field inputRate.
divisor
divisor: u32Native field divisor.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_binding
Set native field binding without native effects.
set_stride
Set native field stride without native effects.
set_input_rate
Set native field inputRate without native effects.
set_divisor
Set native field divisor without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::VertexInputBindingDivisorDescription
Contract
Native structure VkVertexInputBindingDivisorDescription.
Fields
binding
binding: u32Native field binding.
divisor
divisor: u32Native field divisor.
Methods and associated items
new
Construct the record with its default native state.
set_binding
Set native field binding without native effects.
set_divisor
Set native field divisor without native effects.
clone
default
Stvk::VertexInputRate
Contract
Open integer representation of VkVertexInputRate.
Fields
0
0: i32Methods and associated items
VERTEX
Native value VK_VERTEX_INPUT_RATE_VERTEX.
INSTANCE
Native value VK_VERTEX_INPUT_RATE_INSTANCE.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.