vk · Structs · M4
15 public declarations with native signatures and source-owned contracts.
Stvk::MicromapCreateInfoEXT
Contract
Native structure VkMicromapCreateInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
create_flags
create_flags: MicromapCreateFlagsEXTNative field createFlags.
buffer
buffer: BufferNative field buffer.
offset
offset: DeviceSizeNative field offset.
size
size: DeviceSizeNative field size.
type
type: MicromapTypeEXTNative field type.
device_address
device_address: DeviceAddressNative field deviceAddress.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_create_flags
Set native field createFlags without native effects.
set_buffer
Set native field buffer without native effects.
set_offset
Set native field offset without native effects.
set_size
Set native field size without native effects.
set_type
Set native field type without native effects.
set_device_address
Set native field deviceAddress 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::MicromapEXT
Contract
Raw Vulkan handle VkMicromapEXT.
Khronos reference: VkMicromapEXT
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::MicromapTriangleKHR
Contract
Native structure VkMicromapTriangleKHR.
Fields
data_offset
data_offset: u32Native field dataOffset.
subdivision_level
subdivision_level: u16Native field subdivisionLevel.
format
format: u16Native field format.
Methods and associated items
new
Construct the record with its default native state.
set_data_offset
Set native field dataOffset without native effects.
set_subdivision_level
Set native field subdivisionLevel without native effects.
set_format
Set native field format without native effects.
clone
default
Stvk::MicromapTypeEXT
Contract
Open integer representation of VkMicromapTypeEXT.
Fields
0
0: i32Methods and associated items
OPACITY_MICROMAP_EXT
Native value VK_MICROMAP_TYPE_OPACITY_MICROMAP_EXT.
DISPLACEMENT_MICROMAP_NV
Native value VK_MICROMAP_TYPE_DISPLACEMENT_MICROMAP_NV.
Khronos reference: VK_MICROMAP_TYPE_DISPLACEMENT_MICROMAP_NV
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::MicromapUsageEXT
Contract
Native structure VkMicromapUsageEXT.
Fields
count
count: u32Native field count.
subdivision_level
subdivision_level: u32Native field subdivisionLevel.
format
format: u32Native field format.
Methods and associated items
new
Construct the record with its default native state.
set_count
Set native field count without native effects.
set_subdivision_level
Set native field subdivisionLevel without native effects.
set_format
Set native field format without native effects.
clone
default
Stvk::MicromapUsageKHR
Contract
Native structure VkMicromapUsageKHR.
Fields
count
count: u32Native field count.
subdivision_level
subdivision_level: u32Native field subdivisionLevel.
format
format: OpacityMicromapFormatKHRNative field format.
Methods and associated items
new
Construct the record with its default native state.
set_count
Set native field count without native effects.
set_subdivision_level
Set native field subdivisionLevel without native effects.
set_format
Set native field format without native effects.
clone
default
Stvk::MicromapVersionInfoEXT
Contract
Native structure VkMicromapVersionInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
p_version_data
p_version_data: *const u8Native field pVersionData.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_version_data
Borrow the two UUIDs required by the native version-data extent.
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::MultiDrawIndexedInfoEXT
Contract
Native structure VkMultiDrawIndexedInfoEXT.
Fields
first_index
first_index: u32Native field firstIndex.
index_count
index_count: u32Native field indexCount.
vertex_offset
vertex_offset: i32Native field vertexOffset.
Methods and associated items
new
Construct the record with its default native state.
set_first_index
Set native field firstIndex without native effects.
set_index_count
Set native field indexCount without native effects.
set_vertex_offset
Set native field vertexOffset without native effects.
clone
default
Stvk::MultiDrawInfoEXT
Contract
Native structure VkMultiDrawInfoEXT.
Fields
first_vertex
first_vertex: u32Native field firstVertex.
vertex_count
vertex_count: u32Native field vertexCount.
Methods and associated items
new
Construct the record with its default native state.
set_first_vertex
Set native field firstVertex without native effects.
set_vertex_count
Set native field vertexCount without native effects.
clone
default
Stvk::MultisampledRenderToSingleSampledInfoEXT
Contract
Native structure VkMultisampledRenderToSingleSampledInfoEXT.
Khronos reference: VkMultisampledRenderToSingleSampledInfoEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
multisampled_render_to_single_sampled_enable
multisampled_render_to_single_sampled_enable: Bool32Native field multisampledRenderToSingleSampledEnable.
rasterization_samples
rasterization_samples: SampleCountFlagBitsNative field rasterizationSamples.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_multisampled_render_to_single_sampled_enable
Set native field multisampledRenderToSingleSampledEnable without native effects.
set_rasterization_samples
Set native field rasterizationSamples 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::MultisamplePropertiesEXT
Contract
Native structure VkMultisamplePropertiesEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_sample_location_grid_size
max_sample_location_grid_size: Extent2DNative field maxSampleLocationGridSize.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_sample_location_grid_size
Set native field maxSampleLocationGridSize 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::MultiviewPerViewAttributesInfoNVX
Contract
Native structure VkMultiviewPerViewAttributesInfoNVX.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
per_view_attributes
per_view_attributes: Bool32Native field perViewAttributes.
per_view_attributes_position_x_only
per_view_attributes_position_x_only: Bool32Native field perViewAttributesPositionXOnly.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_per_view_attributes
Set native field perViewAttributes without native effects.
set_per_view_attributes_position_x_only
Set native field perViewAttributesPositionXOnly 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::MultiviewPerViewRenderAreasRenderPassBeginInfoQCOM
Contract
Native structure VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM.
Khronos reference: VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
per_view_render_area_count
per_view_render_area_count: u32Native field perViewRenderAreaCount.
p_per_view_render_areas
p_per_view_render_areas: *const Rect2DNative field pPerViewRenderAreas.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_per_view_render_area_count
Set native count perViewRenderAreaCount 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_per_view_render_areas
Borrow pPerViewRenderAreas and set checked native count perViewRenderAreaCount.
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::MutableDescriptorTypeCreateInfoEXT
Contract
Native structure VkMutableDescriptorTypeCreateInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
mutable_descriptor_type_list_count
mutable_descriptor_type_list_count: u32Native field mutableDescriptorTypeListCount.
p_mutable_descriptor_type_lists
p_mutable_descriptor_type_lists: *const MutableDescriptorTypeListEXT<'a>Native field pMutableDescriptorTypeLists.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_mutable_descriptor_type_list_count
Set native count mutableDescriptorTypeListCount 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_mutable_descriptor_type_lists
Borrow pMutableDescriptorTypeLists and set checked native count mutableDescriptorTypeListCount.
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::MutableDescriptorTypeListEXT
Contract
Native structure VkMutableDescriptorTypeListEXT.
Fields
descriptor_type_count
descriptor_type_count: u32Native field descriptorTypeCount.
p_descriptor_types
p_descriptor_types: *const DescriptorTypeNative field pDescriptorTypes.
Methods and associated items
new
Construct the record with its default native state.
set_descriptor_type_count
Set native count descriptorTypeCount 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_descriptor_types
Borrow pDescriptorTypes and set checked native count descriptorTypeCount.
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.