vk · Structs · D5
16 public declarations with native signatures and source-owned contracts.
Stvk::DedicatedAllocationImageCreateInfoNV
Contract
Native structure VkDedicatedAllocationImageCreateInfoNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
dedicated_allocation
dedicated_allocation: Bool32Native field dedicatedAllocation.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_dedicated_allocation
Set native field dedicatedAllocation 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::DedicatedAllocationMemoryAllocateInfoNV
Contract
Native structure VkDedicatedAllocationMemoryAllocateInfoNV.
Khronos reference: VkDedicatedAllocationMemoryAllocateInfoNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
image
image: ImageNative field image.
buffer
buffer: BufferNative field buffer.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_image
Set native field image without native effects.
set_buffer
Set native field buffer 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::DefaultVertexAttributeValueKHR
Contract
Open integer representation of VkDefaultVertexAttributeValueKHR.
Fields
0
0: i32Methods and associated items
ZERO_ZERO_ZERO_ZERO_KHR
Native value VK_DEFAULT_VERTEX_ATTRIBUTE_VALUE_ZERO_ZERO_ZERO_ZERO_KHR.
Khronos reference: VK_DEFAULT_VERTEX_ATTRIBUTE_VALUE_ZERO_ZERO_ZERO_ZERO_KHR
ZERO_ZERO_ZERO_ONE_KHR
Native value VK_DEFAULT_VERTEX_ATTRIBUTE_VALUE_ZERO_ZERO_ZERO_ONE_KHR.
Khronos reference: VK_DEFAULT_VERTEX_ATTRIBUTE_VALUE_ZERO_ZERO_ZERO_ONE_KHR
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::DeferredOperationKHR
Contract
Raw Vulkan handle VkDeferredOperationKHR.
Khronos reference: VkDeferredOperationKHR
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::DependencyFlagBits
Contract
Open integer representation of VkDependencyFlagBits.
Fields
0
0: u32Methods and associated items
BY_REGION_BIT
Native value VK_DEPENDENCY_BY_REGION_BIT.
DEVICE_GROUP_BIT
Native value VK_DEPENDENCY_DEVICE_GROUP_BIT.
VIEW_LOCAL_BIT
Native value VK_DEPENDENCY_VIEW_LOCAL_BIT.
VIEW_LOCAL_BIT_KHR
Native value VK_DEPENDENCY_VIEW_LOCAL_BIT_KHR.
DEVICE_GROUP_BIT_KHR
Native value VK_DEPENDENCY_DEVICE_GROUP_BIT_KHR.
FEEDBACK_LOOP_BIT_EXT
Native value VK_DEPENDENCY_FEEDBACK_LOOP_BIT_EXT.
QUEUE_FAMILY_OWNERSHIP_TRANSFER_USE_ALL_STAGES_BIT_KHR
Native value VK_DEPENDENCY_QUEUE_FAMILY_OWNERSHIP_TRANSFER_USE_ALL_STAGES_BIT_KHR.
Khronos reference: VK_DEPENDENCY_QUEUE_FAMILY_OWNERSHIP_TRANSFER_USE_ALL_STAGES_BIT_KHR
ASYMMETRIC_EVENT_BIT_KHR
Native value VK_DEPENDENCY_ASYMMETRIC_EVENT_BIT_KHR.
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::DependencyInfo
pub struct DependencyInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub dependency_flags: DependencyFlags,
pub memory_barrier_count: u32,
pub p_memory_barriers: *const MemoryBarrier2<'a>,
pub buffer_memory_barrier_count: u32,
pub p_buffer_memory_barriers: *const BufferMemoryBarrier2<'a>,
pub image_memory_barrier_count: u32,
pub p_image_memory_barriers: *const ImageMemoryBarrier2<'a>,
/* private fields */
}Contract
Native structure VkDependencyInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
dependency_flags
dependency_flags: DependencyFlagsNative field dependencyFlags.
memory_barrier_count
memory_barrier_count: u32Native field memoryBarrierCount.
p_memory_barriers
p_memory_barriers: *const MemoryBarrier2<'a>Native field pMemoryBarriers.
buffer_memory_barrier_count
buffer_memory_barrier_count: u32Native field bufferMemoryBarrierCount.
p_buffer_memory_barriers
p_buffer_memory_barriers: *const BufferMemoryBarrier2<'a>Native field pBufferMemoryBarriers.
image_memory_barrier_count
image_memory_barrier_count: u32Native field imageMemoryBarrierCount.
p_image_memory_barriers
p_image_memory_barriers: *const ImageMemoryBarrier2<'a>Native field pImageMemoryBarriers.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_dependency_flags
Set native field dependencyFlags without native effects.
set_memory_barrier_count
Set native count memoryBarrierCount 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_memory_barriers
Borrow pMemoryBarriers and set checked native count memoryBarrierCount.
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_buffer_memory_barrier_count
Set native count bufferMemoryBarrierCount 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_buffer_memory_barriers
Borrow pBufferMemoryBarriers and set checked native count bufferMemoryBarrierCount.
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_image_memory_barrier_count
Set native count imageMemoryBarrierCount 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_image_memory_barriers
Borrow pImageMemoryBarriers and set checked native count imageMemoryBarrierCount.
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::DepthBiasInfoEXT
Contract
Native structure VkDepthBiasInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
depth_bias_constant_factor
depth_bias_constant_factor: f32Native field depthBiasConstantFactor.
depth_bias_clamp
depth_bias_clamp: f32Native field depthBiasClamp.
depth_bias_slope_factor
depth_bias_slope_factor: f32Native field depthBiasSlopeFactor.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_depth_bias_constant_factor
Set native field depthBiasConstantFactor without native effects.
set_depth_bias_clamp
Set native field depthBiasClamp without native effects.
set_depth_bias_slope_factor
Set native field depthBiasSlopeFactor 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::DepthBiasRepresentationEXT
Contract
Open integer representation of VkDepthBiasRepresentationEXT.
Fields
0
0: i32Methods and associated items
LEAST_REPRESENTABLE_VALUE_FORMAT_EXT
Native value VK_DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORMAT_EXT.
Khronos reference: VK_DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORMAT_EXT
LEAST_REPRESENTABLE_VALUE_FORCE_UNORM_EXT
Native value VK_DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORCE_UNORM_EXT.
Khronos reference: VK_DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORCE_UNORM_EXT
FLOAT_EXT
Native value VK_DEPTH_BIAS_REPRESENTATION_FLOAT_EXT.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::DepthBiasRepresentationInfoEXT
Contract
Native structure VkDepthBiasRepresentationInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
depth_bias_representation
depth_bias_representation: DepthBiasRepresentationEXTNative field depthBiasRepresentation.
depth_bias_exact
depth_bias_exact: Bool32Native field depthBiasExact.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_depth_bias_representation
Set native field depthBiasRepresentation without native effects.
set_depth_bias_exact
Set native field depthBiasExact 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::DepthClampModeEXT
Contract
Open integer representation of VkDepthClampModeEXT.
Fields
0
0: i32Methods and associated items
VIEWPORT_RANGE_EXT
Native value VK_DEPTH_CLAMP_MODE_VIEWPORT_RANGE_EXT.
USER_DEFINED_RANGE_EXT
Native value VK_DEPTH_CLAMP_MODE_USER_DEFINED_RANGE_EXT.
Khronos reference: VK_DEPTH_CLAMP_MODE_USER_DEFINED_RANGE_EXT
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::DepthClampRangeEXT
Contract
Native structure VkDepthClampRangeEXT.
Fields
min_depth_clamp
min_depth_clamp: f32Native field minDepthClamp.
max_depth_clamp
max_depth_clamp: f32Native field maxDepthClamp.
Methods and associated items
new
Construct the record with its default native state.
set_min_depth_clamp
Set native field minDepthClamp without native effects.
set_max_depth_clamp
Set native field maxDepthClamp without native effects.
clone
default
Stvk::DescriptorAddressInfoEXT
Contract
Native structure VkDescriptorAddressInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
address
address: DeviceAddressNative field address.
range
range: DeviceSizeNative field range.
format
format: FormatNative field format.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_address
Set native field address without native effects.
set_range
Set native field range without native effects.
set_format
Set native field format 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::DescriptorBindingFlagBits
Contract
Open integer representation of VkDescriptorBindingFlagBits.
Fields
0
0: u32Methods and associated items
UPDATE_AFTER_BIND_BIT
Native value VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT.
Khronos reference: VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT
UPDATE_UNUSED_WHILE_PENDING_BIT
Native value VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT.
Khronos reference: VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT
PARTIALLY_BOUND_BIT
Native value VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT.
Khronos reference: VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT
VARIABLE_DESCRIPTOR_COUNT_BIT
Native value VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT.
Khronos reference: VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT
UPDATE_AFTER_BIND_BIT_EXT
Native value VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT.
Khronos reference: VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT
UPDATE_UNUSED_WHILE_PENDING_BIT_EXT
Native value VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXT.
Khronos reference: VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXT
PARTIALLY_BOUND_BIT_EXT
Native value VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT_EXT.
Khronos reference: VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT_EXT
VARIABLE_DESCRIPTOR_COUNT_BIT_EXT
Native value VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT.
Khronos reference: VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT
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::DescriptorBufferBindingInfoEXT
Contract
Native structure VkDescriptorBufferBindingInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
address
address: DeviceAddressNative field address.
usage
usage: BufferUsageFlagsNative field usage.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_address
Set native field address without native effects.
set_usage
Set native field usage 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::DescriptorBufferBindingPushDescriptorBufferHandleEXT
Contract
Native structure VkDescriptorBufferBindingPushDescriptorBufferHandleEXT.
Khronos reference: VkDescriptorBufferBindingPushDescriptorBufferHandleEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
buffer
buffer: BufferNative field buffer.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_buffer
Set native field buffer 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::DescriptorBufferInfo
Contract
Native structure VkDescriptorBufferInfo.
Fields
buffer
buffer: BufferNative field buffer.
offset
offset: DeviceSizeNative field offset.
range
range: DeviceSizeNative field range.
Methods and associated items
new
Construct the record with its default native state.
set_buffer
Set native field buffer without native effects.
set_offset
Set native field offset without native effects.
set_range
Set native field range without native effects.