vk · Structs · G1
16 public declarations with native signatures and source-owned contracts.
Stvk::GeneratedCommandsInfoEXT
pub struct GeneratedCommandsInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub shader_stages: ShaderStageFlags,
pub indirect_execution_set: IndirectExecutionSetEXT,
pub indirect_commands_layout: IndirectCommandsLayoutEXT,
pub indirect_address: DeviceAddress,
pub indirect_address_size: DeviceSize,
pub preprocess_address: DeviceAddress,
pub preprocess_size: DeviceSize,
pub max_sequence_count: u32,
pub sequence_count_address: DeviceAddress,
pub max_draw_count: u32,
/* private fields */
}Contract
Native structure VkGeneratedCommandsInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
shader_stages
shader_stages: ShaderStageFlagsNative field shaderStages.
indirect_execution_set
indirect_execution_set: IndirectExecutionSetEXTNative field indirectExecutionSet.
indirect_commands_layout
indirect_commands_layout: IndirectCommandsLayoutEXTNative field indirectCommandsLayout.
indirect_address
indirect_address: DeviceAddressNative field indirectAddress.
indirect_address_size
indirect_address_size: DeviceSizeNative field indirectAddressSize.
preprocess_address
preprocess_address: DeviceAddressNative field preprocessAddress.
preprocess_size
preprocess_size: DeviceSizeNative field preprocessSize.
max_sequence_count
max_sequence_count: u32Native field maxSequenceCount.
sequence_count_address
sequence_count_address: DeviceAddressNative field sequenceCountAddress.
max_draw_count
max_draw_count: u32Native field maxDrawCount.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shader_stages
Set native field shaderStages without native effects.
set_indirect_execution_set
Set native field indirectExecutionSet without native effects.
set_indirect_commands_layout
Set native field indirectCommandsLayout without native effects.
set_indirect_address
Set native field indirectAddress without native effects.
set_indirect_address_size
Set native field indirectAddressSize without native effects.
set_preprocess_address
Set native field preprocessAddress without native effects.
set_preprocess_size
Set native field preprocessSize without native effects.
set_max_sequence_count
Set native field maxSequenceCount without native effects.
set_sequence_count_address
Set native field sequenceCountAddress without native effects.
set_max_draw_count
Set native field maxDrawCount 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::GeneratedCommandsInfoNV
pub struct GeneratedCommandsInfoNV<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub pipeline_bind_point: PipelineBindPoint,
pub pipeline: Pipeline,
pub indirect_commands_layout: IndirectCommandsLayoutNV,
pub stream_count: u32,
pub p_streams: *const IndirectCommandsStreamNV,
pub sequences_count: u32,
pub preprocess_buffer: Buffer,
pub preprocess_offset: DeviceSize,
pub preprocess_size: DeviceSize,
pub sequences_count_buffer: Buffer,
pub sequences_count_offset: DeviceSize,
pub sequences_index_buffer: Buffer,
pub sequences_index_offset: DeviceSize,
/* private fields */
}Contract
Native structure VkGeneratedCommandsInfoNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
pipeline_bind_point
pipeline_bind_point: PipelineBindPointNative field pipelineBindPoint.
pipeline
pipeline: PipelineNative field pipeline.
indirect_commands_layout
indirect_commands_layout: IndirectCommandsLayoutNVNative field indirectCommandsLayout.
stream_count
stream_count: u32Native field streamCount.
p_streams
p_streams: *const IndirectCommandsStreamNVNative field pStreams.
sequences_count
sequences_count: u32Native field sequencesCount.
preprocess_buffer
preprocess_buffer: BufferNative field preprocessBuffer.
preprocess_offset
preprocess_offset: DeviceSizeNative field preprocessOffset.
preprocess_size
preprocess_size: DeviceSizeNative field preprocessSize.
sequences_count_buffer
sequences_count_buffer: BufferNative field sequencesCountBuffer.
sequences_count_offset
sequences_count_offset: DeviceSizeNative field sequencesCountOffset.
sequences_index_buffer
sequences_index_buffer: BufferNative field sequencesIndexBuffer.
sequences_index_offset
sequences_index_offset: DeviceSizeNative field sequencesIndexOffset.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_pipeline_bind_point
Set native field pipelineBindPoint without native effects.
set_pipeline
Set native field pipeline without native effects.
set_indirect_commands_layout
Set native field indirectCommandsLayout without native effects.
set_stream_count
Set native count streamCount 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_streams
Borrow pStreams and set checked native count streamCount.
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_sequences_count
Set native field sequencesCount without native effects.
set_preprocess_buffer
Set native field preprocessBuffer without native effects.
set_preprocess_offset
Set native field preprocessOffset without native effects.
set_preprocess_size
Set native field preprocessSize without native effects.
set_sequences_count_buffer
Set native field sequencesCountBuffer without native effects.
set_sequences_count_offset
Set native field sequencesCountOffset without native effects.
set_sequences_index_buffer
Set native field sequencesIndexBuffer without native effects.
set_sequences_index_offset
Set native field sequencesIndexOffset 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::GeneratedCommandsMemoryRequirementsInfoEXT
pub struct GeneratedCommandsMemoryRequirementsInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub indirect_execution_set: IndirectExecutionSetEXT,
pub indirect_commands_layout: IndirectCommandsLayoutEXT,
pub max_sequence_count: u32,
pub max_draw_count: u32,
/* private fields */
}Contract
Native structure VkGeneratedCommandsMemoryRequirementsInfoEXT.
Khronos reference: VkGeneratedCommandsMemoryRequirementsInfoEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
indirect_execution_set
indirect_execution_set: IndirectExecutionSetEXTNative field indirectExecutionSet.
indirect_commands_layout
indirect_commands_layout: IndirectCommandsLayoutEXTNative field indirectCommandsLayout.
max_sequence_count
max_sequence_count: u32Native field maxSequenceCount.
max_draw_count
max_draw_count: u32Native field maxDrawCount.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_indirect_execution_set
Set native field indirectExecutionSet without native effects.
set_indirect_commands_layout
Set native field indirectCommandsLayout without native effects.
set_max_sequence_count
Set native field maxSequenceCount without native effects.
set_max_draw_count
Set native field maxDrawCount 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::GeneratedCommandsMemoryRequirementsInfoNV
Contract
Native structure VkGeneratedCommandsMemoryRequirementsInfoNV.
Khronos reference: VkGeneratedCommandsMemoryRequirementsInfoNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
pipeline_bind_point
pipeline_bind_point: PipelineBindPointNative field pipelineBindPoint.
pipeline
pipeline: PipelineNative field pipeline.
indirect_commands_layout
indirect_commands_layout: IndirectCommandsLayoutNVNative field indirectCommandsLayout.
max_sequences_count
max_sequences_count: u32Native field maxSequencesCount.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_pipeline_bind_point
Set native field pipelineBindPoint without native effects.
set_pipeline
Set native field pipeline without native effects.
set_indirect_commands_layout
Set native field indirectCommandsLayout without native effects.
set_max_sequences_count
Set native field maxSequencesCount 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::GeneratedCommandsPipelineInfoEXT
Contract
Native structure VkGeneratedCommandsPipelineInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
pipeline
pipeline: PipelineNative field pipeline.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_pipeline
Set native field pipeline 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::GeneratedCommandsShaderInfoEXT
Contract
Native structure VkGeneratedCommandsShaderInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
shader_count
shader_count: u32Native field shaderCount.
p_shaders
p_shaders: *const ShaderEXTNative field pShaders.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shader_count
Set native count shaderCount 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_shaders
Borrow pShaders and set checked native count shaderCount.
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::GeometryAABBNV
Contract
Native structure VkGeometryAABBNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
aabb_data
aabb_data: BufferNative field aabbData.
num_aab_bs
num_aab_bs: u32Native field numAABBs.
stride
stride: u32Native field stride.
offset
offset: DeviceSizeNative field offset.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_aabb_data
Set native field aabbData without native effects.
set_num_aab_bs
Set native field numAABBs without native effects.
set_stride
Set native field stride 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::GeometryDataNV
Contract
Native structure VkGeometryDataNV.
Fields
triangles
triangles: GeometryTrianglesNV<'a>Native field triangles.
aabbs
aabbs: GeometryAABBNV<'a>Native field aabbs.
Methods and associated items
new
Construct the record with its default native state.
set_triangles
Set native field triangles without native effects.
set_aabbs
Set native field aabbs without native effects.
default
Stvk::GeometryFlagBitsKHR
Contract
Open integer representation of VkGeometryFlagBitsKHR.
Fields
0
0: u32Methods and associated items
OPAQUE_BIT_KHR
Native value VK_GEOMETRY_OPAQUE_BIT_KHR.
NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_KHR
Native value VK_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_KHR.
Khronos reference: VK_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_KHR
OPAQUE_BIT_NV
Native value VK_GEOMETRY_OPAQUE_BIT_NV.
NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_NV
Native value VK_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_NV.
Khronos reference: VK_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_NV
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::GeometryInstanceFlagBitsKHR
Contract
Open integer representation of VkGeometryInstanceFlagBitsKHR.
Fields
0
0: u32Methods and associated items
TRIANGLE_FACING_CULL_DISABLE_BIT_KHR
Native value VK_GEOMETRY_INSTANCE_TRIANGLE_FACING_CULL_DISABLE_BIT_KHR.
Khronos reference: VK_GEOMETRY_INSTANCE_TRIANGLE_FACING_CULL_DISABLE_BIT_KHR
TRIANGLE_FLIP_FACING_BIT_KHR
Native value VK_GEOMETRY_INSTANCE_TRIANGLE_FLIP_FACING_BIT_KHR.
Khronos reference: VK_GEOMETRY_INSTANCE_TRIANGLE_FLIP_FACING_BIT_KHR
FORCE_OPAQUE_BIT_KHR
Native value VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_KHR.
Khronos reference: VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_KHR
FORCE_NO_OPAQUE_BIT_KHR
Native value VK_GEOMETRY_INSTANCE_FORCE_NO_OPAQUE_BIT_KHR.
Khronos reference: VK_GEOMETRY_INSTANCE_FORCE_NO_OPAQUE_BIT_KHR
TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_KHR
Native value VK_GEOMETRY_INSTANCE_TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_KHR.
Khronos reference: VK_GEOMETRY_INSTANCE_TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_KHR
TRIANGLE_CULL_DISABLE_BIT_NV
Native value VK_GEOMETRY_INSTANCE_TRIANGLE_CULL_DISABLE_BIT_NV.
Khronos reference: VK_GEOMETRY_INSTANCE_TRIANGLE_CULL_DISABLE_BIT_NV
TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_NV
Native value VK_GEOMETRY_INSTANCE_TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_NV.
Khronos reference: VK_GEOMETRY_INSTANCE_TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_NV
FORCE_OPAQUE_BIT_NV
Native value VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_NV.
FORCE_NO_OPAQUE_BIT_NV
Native value VK_GEOMETRY_INSTANCE_FORCE_NO_OPAQUE_BIT_NV.
Khronos reference: VK_GEOMETRY_INSTANCE_FORCE_NO_OPAQUE_BIT_NV
FORCE_OPACITY_MICROMAP_2_STATE_BIT_EXT
Native value VK_GEOMETRY_INSTANCE_FORCE_OPACITY_MICROMAP_2_STATE_BIT_EXT.
Khronos reference: VK_GEOMETRY_INSTANCE_FORCE_OPACITY_MICROMAP_2_STATE_BIT_EXT
FORCE_OPACITY_MICROMAP_2_STATE_EXT
Native value VK_GEOMETRY_INSTANCE_FORCE_OPACITY_MICROMAP_2_STATE_EXT.
Khronos reference: VK_GEOMETRY_INSTANCE_FORCE_OPACITY_MICROMAP_2_STATE_EXT
DISABLE_OPACITY_MICROMAPS_BIT_EXT
Native value VK_GEOMETRY_INSTANCE_DISABLE_OPACITY_MICROMAPS_BIT_EXT.
Khronos reference: VK_GEOMETRY_INSTANCE_DISABLE_OPACITY_MICROMAPS_BIT_EXT
DISABLE_OPACITY_MICROMAPS_EXT
Native value VK_GEOMETRY_INSTANCE_DISABLE_OPACITY_MICROMAPS_EXT.
Khronos reference: VK_GEOMETRY_INSTANCE_DISABLE_OPACITY_MICROMAPS_EXT
FORCE_OPACITY_MICROMAP_2_STATE_BIT_KHR
Native value VK_GEOMETRY_INSTANCE_FORCE_OPACITY_MICROMAP_2_STATE_BIT_KHR.
Khronos reference: VK_GEOMETRY_INSTANCE_FORCE_OPACITY_MICROMAP_2_STATE_BIT_KHR
DISABLE_OPACITY_MICROMAPS_BIT_KHR
Native value VK_GEOMETRY_INSTANCE_DISABLE_OPACITY_MICROMAPS_BIT_KHR.
Khronos reference: VK_GEOMETRY_INSTANCE_DISABLE_OPACITY_MICROMAPS_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::GeometryNV
Contract
Native structure VkGeometryNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
geometry_type
geometry_type: GeometryTypeKHRNative field geometryType.
geometry
geometry: GeometryDataNV<'a>Native field geometry.
flags
flags: GeometryFlagsKHRNative field flags.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_geometry_type
Set native field geometryType without native effects.
set_geometry
Set native field geometry without native effects.
set_flags
Set native field flags 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::GeometryTrianglesNV
pub struct GeometryTrianglesNV<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub vertex_data: Buffer,
pub vertex_offset: DeviceSize,
pub vertex_count: u32,
pub vertex_stride: DeviceSize,
pub vertex_format: Format,
pub index_data: Buffer,
pub index_offset: DeviceSize,
pub index_count: u32,
pub index_type: IndexType,
pub transform_data: Buffer,
pub transform_offset: DeviceSize,
/* private fields */
}Contract
Native structure VkGeometryTrianglesNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
vertex_data
vertex_data: BufferNative field vertexData.
vertex_offset
vertex_offset: DeviceSizeNative field vertexOffset.
vertex_count
vertex_count: u32Native field vertexCount.
vertex_stride
vertex_stride: DeviceSizeNative field vertexStride.
vertex_format
vertex_format: FormatNative field vertexFormat.
index_data
index_data: BufferNative field indexData.
index_offset
index_offset: DeviceSizeNative field indexOffset.
index_count
index_count: u32Native field indexCount.
index_type
index_type: IndexTypeNative field indexType.
transform_data
transform_data: BufferNative field transformData.
transform_offset
transform_offset: DeviceSizeNative field transformOffset.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_vertex_data
Set native field vertexData without native effects.
set_vertex_offset
Set native field vertexOffset without native effects.
set_vertex_count
Set native field vertexCount without native effects.
set_vertex_stride
Set native field vertexStride without native effects.
set_vertex_format
Set native field vertexFormat without native effects.
set_index_data
Set native field indexData without native effects.
set_index_offset
Set native field indexOffset without native effects.
set_index_count
Set native field indexCount without native effects.
set_index_type
Set native field indexType without native effects.
set_transform_data
Set native field transformData without native effects.
set_transform_offset
Set native field transformOffset 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::GeometryTypeKHR
Contract
Open integer representation of VkGeometryTypeKHR.
Fields
0
0: i32Methods and associated items
TRIANGLES_KHR
Native value VK_GEOMETRY_TYPE_TRIANGLES_KHR.
AABBS_KHR
Native value VK_GEOMETRY_TYPE_AABBS_KHR.
INSTANCES_KHR
Native value VK_GEOMETRY_TYPE_INSTANCES_KHR.
TRIANGLES_NV
Native value VK_GEOMETRY_TYPE_TRIANGLES_NV.
AABBS_NV
Native value VK_GEOMETRY_TYPE_AABBS_NV.
SPHERES_NV
Native value VK_GEOMETRY_TYPE_SPHERES_NV.
LINEAR_SWEPT_SPHERES_NV
Native value VK_GEOMETRY_TYPE_LINEAR_SWEPT_SPHERES_NV.
DENSE_GEOMETRY_FORMAT_TRIANGLES_AMDX
Native value VK_GEOMETRY_TYPE_DENSE_GEOMETRY_FORMAT_TRIANGLES_AMDX.
Khronos reference: VK_GEOMETRY_TYPE_DENSE_GEOMETRY_FORMAT_TRIANGLES_AMDX
MICROMAP_KHR
Native value VK_GEOMETRY_TYPE_MICROMAP_KHR.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::GetLatencyMarkerInfoNV
Contract
Native structure VkGetLatencyMarkerInfoNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
timing_count
timing_count: u32Native field timingCount.
p_timings
p_timings: *mut LatencyTimingsFrameReportNV<'a>Native field pTimings.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_timing_count
Set native count timingCount 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_timings
Borrow pTimings and set checked native count timingCount.
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::GpaDeviceClockModeAMD
Contract
Open integer representation of VkGpaDeviceClockModeAMD.
Fields
0
0: i32Methods and associated items
DEFAULT_AMD
Native value VK_GPA_DEVICE_CLOCK_MODE_DEFAULT_AMD.
QUERY_AMD
Native value VK_GPA_DEVICE_CLOCK_MODE_QUERY_AMD.
PROFILING_AMD
Native value VK_GPA_DEVICE_CLOCK_MODE_PROFILING_AMD.
MIN_MEMORY_AMD
Native value VK_GPA_DEVICE_CLOCK_MODE_MIN_MEMORY_AMD.
MIN_ENGINE_AMD
Native value VK_GPA_DEVICE_CLOCK_MODE_MIN_ENGINE_AMD.
PEAK_AMD
Native value VK_GPA_DEVICE_CLOCK_MODE_PEAK_AMD.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::GpaDeviceClockModeInfoAMD
Contract
Native structure VkGpaDeviceClockModeInfoAMD.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
clock_mode
clock_mode: GpaDeviceClockModeAMDNative field clockMode.
memory_clock_ratio_to_peak
memory_clock_ratio_to_peak: f32Native field memoryClockRatioToPeak.
engine_clock_ratio_to_peak
engine_clock_ratio_to_peak: f32Native field engineClockRatioToPeak.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_clock_mode
Set native field clockMode without native effects.
set_memory_clock_ratio_to_peak
Set native field memoryClockRatioToPeak without native effects.
set_engine_clock_ratio_to_peak
Set native field engineClockRatioToPeak 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.