Realm

vk · Structs · G1

16 public declarations with native signatures and source-owned contracts.

StRustExperimental

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 */ }
Native structure VkGeneratedCommandsInfoEXT.

Contract

Native structure VkGeneratedCommandsInfoEXT.

Khronos reference: VkGeneratedCommandsInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

shader_stages

Field
shader_stages: ShaderStageFlags

Native field shaderStages.

indirect_execution_set

Field
indirect_execution_set: IndirectExecutionSetEXT

Native field indirectExecutionSet.

indirect_commands_layout

Field
indirect_commands_layout: IndirectCommandsLayoutEXT

Native field indirectCommandsLayout.

indirect_address

Field
indirect_address: DeviceAddress

Native field indirectAddress.

indirect_address_size

Field
indirect_address_size: DeviceSize

Native field indirectAddressSize.

preprocess_address

Field
preprocess_address: DeviceAddress

Native field preprocessAddress.

preprocess_size

Field
preprocess_size: DeviceSize

Native field preprocessSize.

max_sequence_count

Field
max_sequence_count: u32

Native field maxSequenceCount.

sequence_count_address

Field
sequence_count_address: DeviceAddress

Native field sequenceCountAddress.

max_draw_count

Field
max_draw_count: u32

Native field maxDrawCount.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_shader_stages

Method
pub fn set_shader_stages(self, value: ShaderStageFlags) -> Self

Set native field shaderStages without native effects.

set_indirect_execution_set

Method
pub fn set_indirect_execution_set(self, value: IndirectExecutionSetEXT) -> Self

Set native field indirectExecutionSet without native effects.

set_indirect_commands_layout

Method
pub fn set_indirect_commands_layout( self, value: IndirectCommandsLayoutEXT, ) -> Self

Set native field indirectCommandsLayout without native effects.

set_indirect_address

Method
pub fn set_indirect_address(self, value: DeviceAddress) -> Self

Set native field indirectAddress without native effects.

set_indirect_address_size

Method
pub fn set_indirect_address_size(self, value: DeviceSize) -> Self

Set native field indirectAddressSize without native effects.

set_preprocess_address

Method
pub fn set_preprocess_address(self, value: DeviceAddress) -> Self

Set native field preprocessAddress without native effects.

set_preprocess_size

Method
pub fn set_preprocess_size(self, value: DeviceSize) -> Self

Set native field preprocessSize without native effects.

set_max_sequence_count

Method
pub fn set_max_sequence_count(self, value: u32) -> Self

Set native field maxSequenceCount without native effects.

set_sequence_count_address

Method
pub fn set_sequence_count_address(self, value: DeviceAddress) -> Self

Set native field sequenceCountAddress without native effects.

set_max_draw_count

Method
pub fn set_max_draw_count(self, value: u32) -> Self

Set native field maxDrawCount without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

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 */ }
Native structure VkGeneratedCommandsInfoNV.

Contract

Native structure VkGeneratedCommandsInfoNV.

Khronos reference: VkGeneratedCommandsInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

pipeline_bind_point

Field
pipeline_bind_point: PipelineBindPoint

Native field pipelineBindPoint.

pipeline

Field
pipeline: Pipeline

Native field pipeline.

indirect_commands_layout

Field
indirect_commands_layout: IndirectCommandsLayoutNV

Native field indirectCommandsLayout.

stream_count

Field
stream_count: u32

Native field streamCount.

p_streams

Field
p_streams: *const IndirectCommandsStreamNV

Native field pStreams.

sequences_count

Field
sequences_count: u32

Native field sequencesCount.

preprocess_buffer

Field
preprocess_buffer: Buffer

Native field preprocessBuffer.

preprocess_offset

Field
preprocess_offset: DeviceSize

Native field preprocessOffset.

preprocess_size

Field
preprocess_size: DeviceSize

Native field preprocessSize.

sequences_count_buffer

Field
sequences_count_buffer: Buffer

Native field sequencesCountBuffer.

sequences_count_offset

Field
sequences_count_offset: DeviceSize

Native field sequencesCountOffset.

sequences_index_buffer

Field
sequences_index_buffer: Buffer

Native field sequencesIndexBuffer.

sequences_index_offset

Field
sequences_index_offset: DeviceSize

Native field sequencesIndexOffset.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_pipeline_bind_point

Method
pub fn set_pipeline_bind_point(self, value: PipelineBindPoint) -> Self

Set native field pipelineBindPoint without native effects.

set_pipeline

Method
pub fn set_pipeline(self, value: Pipeline) -> Self

Set native field pipeline without native effects.

set_indirect_commands_layout

Method
pub fn set_indirect_commands_layout( self, value: IndirectCommandsLayoutNV, ) -> Self

Set native field indirectCommandsLayout without native effects.

set_stream_count

Method
pub fn set_stream_count(self, value: u32) -> Self

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

Method
pub fn set_streams( self, value: &'a [IndirectCommandsStreamNV], ) -> Result<Self, ConstructionError>

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

Method
pub fn set_sequences_count(self, value: u32) -> Self

Set native field sequencesCount without native effects.

set_preprocess_buffer

Method
pub fn set_preprocess_buffer(self, value: Buffer) -> Self

Set native field preprocessBuffer without native effects.

set_preprocess_offset

Method
pub fn set_preprocess_offset(self, value: DeviceSize) -> Self

Set native field preprocessOffset without native effects.

set_preprocess_size

Method
pub fn set_preprocess_size(self, value: DeviceSize) -> Self

Set native field preprocessSize without native effects.

set_sequences_count_buffer

Method
pub fn set_sequences_count_buffer(self, value: Buffer) -> Self

Set native field sequencesCountBuffer without native effects.

set_sequences_count_offset

Method
pub fn set_sequences_count_offset(self, value: DeviceSize) -> Self

Set native field sequencesCountOffset without native effects.

set_sequences_index_buffer

Method
pub fn set_sequences_index_buffer(self, value: Buffer) -> Self

Set native field sequencesIndexBuffer without native effects.

set_sequences_index_offset

Method
pub fn set_sequences_index_offset(self, value: DeviceSize) -> Self

Set native field sequencesIndexOffset without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

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 */ }
Native structure VkGeneratedCommandsMemoryRequirementsInfoEXT.

Contract

Native structure VkGeneratedCommandsMemoryRequirementsInfoEXT.

Khronos reference: VkGeneratedCommandsMemoryRequirementsInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

indirect_execution_set

Field
indirect_execution_set: IndirectExecutionSetEXT

Native field indirectExecutionSet.

indirect_commands_layout

Field
indirect_commands_layout: IndirectCommandsLayoutEXT

Native field indirectCommandsLayout.

max_sequence_count

Field
max_sequence_count: u32

Native field maxSequenceCount.

max_draw_count

Field
max_draw_count: u32

Native field maxDrawCount.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_indirect_execution_set

Method
pub fn set_indirect_execution_set(self, value: IndirectExecutionSetEXT) -> Self

Set native field indirectExecutionSet without native effects.

set_indirect_commands_layout

Method
pub fn set_indirect_commands_layout( self, value: IndirectCommandsLayoutEXT, ) -> Self

Set native field indirectCommandsLayout without native effects.

set_max_sequence_count

Method
pub fn set_max_sequence_count(self, value: u32) -> Self

Set native field maxSequenceCount without native effects.

set_max_draw_count

Method
pub fn set_max_draw_count(self, value: u32) -> Self

Set native field maxDrawCount without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::GeneratedCommandsMemoryRequirementsInfoNV

pub struct GeneratedCommandsMemoryRequirementsInfoNV<'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 max_sequences_count: u32, /* private fields */ }
Native structure VkGeneratedCommandsMemoryRequirementsInfoNV.

Contract

Native structure VkGeneratedCommandsMemoryRequirementsInfoNV.

Khronos reference: VkGeneratedCommandsMemoryRequirementsInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

pipeline_bind_point

Field
pipeline_bind_point: PipelineBindPoint

Native field pipelineBindPoint.

pipeline

Field
pipeline: Pipeline

Native field pipeline.

indirect_commands_layout

Field
indirect_commands_layout: IndirectCommandsLayoutNV

Native field indirectCommandsLayout.

max_sequences_count

Field
max_sequences_count: u32

Native field maxSequencesCount.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_pipeline_bind_point

Method
pub fn set_pipeline_bind_point(self, value: PipelineBindPoint) -> Self

Set native field pipelineBindPoint without native effects.

set_pipeline

Method
pub fn set_pipeline(self, value: Pipeline) -> Self

Set native field pipeline without native effects.

set_indirect_commands_layout

Method
pub fn set_indirect_commands_layout( self, value: IndirectCommandsLayoutNV, ) -> Self

Set native field indirectCommandsLayout without native effects.

set_max_sequences_count

Method
pub fn set_max_sequences_count(self, value: u32) -> Self

Set native field maxSequencesCount without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::GeneratedCommandsPipelineInfoEXT

pub struct GeneratedCommandsPipelineInfoEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub pipeline: Pipeline, /* private fields */ }
Native structure VkGeneratedCommandsPipelineInfoEXT.

Contract

Native structure VkGeneratedCommandsPipelineInfoEXT.

Khronos reference: VkGeneratedCommandsPipelineInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

pipeline

Field
pipeline: Pipeline

Native field pipeline.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_pipeline

Method
pub fn set_pipeline(self, value: Pipeline) -> Self

Set native field pipeline without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::GeneratedCommandsShaderInfoEXT

pub struct GeneratedCommandsShaderInfoEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub shader_count: u32, pub p_shaders: *const ShaderEXT, /* private fields */ }
Native structure VkGeneratedCommandsShaderInfoEXT.

Contract

Native structure VkGeneratedCommandsShaderInfoEXT.

Khronos reference: VkGeneratedCommandsShaderInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

shader_count

Field
shader_count: u32

Native field shaderCount.

p_shaders

Field
p_shaders: *const ShaderEXT

Native field pShaders.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_shader_count

Method
pub fn set_shader_count(self, value: u32) -> Self

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

Method
pub fn set_shaders( self, value: &'a [ShaderEXT], ) -> Result<Self, ConstructionError>

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

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::GeometryAABBNV

pub struct GeometryAABBNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub aabb_data: Buffer, pub num_aab_bs: u32, pub stride: u32, pub offset: DeviceSize, /* private fields */ }
Native structure VkGeometryAABBNV.

Contract

Native structure VkGeometryAABBNV.

Khronos reference: VkGeometryAABBNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

aabb_data

Field
aabb_data: Buffer

Native field aabbData.

num_aab_bs

Field
num_aab_bs: u32

Native field numAABBs.

stride

Field
stride: u32

Native field stride.

offset

Field
offset: DeviceSize

Native field offset.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_aabb_data

Method
pub fn set_aabb_data(self, value: Buffer) -> Self

Set native field aabbData without native effects.

set_num_aab_bs

Method
pub fn set_num_aab_bs(self, value: u32) -> Self

Set native field numAABBs without native effects.

set_stride

Method
pub fn set_stride(self, value: u32) -> Self

Set native field stride without native effects.

set_offset

Method
pub fn set_offset(self, value: DeviceSize) -> Self

Set native field offset without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::GeometryDataNV

Contract

Native structure VkGeometryDataNV.

Khronos reference: VkGeometryDataNV

Fields

triangles

Field
triangles: GeometryTrianglesNV<'a>

Native field triangles.

aabbs

Field
aabbs: GeometryAABBNV<'a>

Native field aabbs.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_triangles

Method
pub fn set_triangles(self, value: GeometryTrianglesNV<'a>) -> Self

Set native field triangles without native effects.

set_aabbs

Method
pub fn set_aabbs(self, value: GeometryAABBNV<'a>) -> Self

Set native field aabbs without native effects.

Stvk::GeometryFlagBitsKHR

Contract

Open integer representation of VkGeometryFlagBitsKHR.

Khronos reference: VkGeometryFlagBitsKHR

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = GeometryFlagBitsKHR
The resulting type after applying the & operator.

Output-1

Method
type Output = GeometryFlagBitsKHR
The resulting type after applying the | operator.

Output-2

Method
type Output = GeometryFlagBitsKHR
The resulting type after applying the ^ operator.

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> GeometryFlagBitsKHR
Returns the “default value” for a type. Read more

Output-3

Method
type Output = GeometryFlagBitsKHR
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &GeometryFlagBitsKHR) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::GeometryInstanceFlagBitsKHR

Contract

Open integer representation of VkGeometryInstanceFlagBitsKHR.

Khronos reference: VkGeometryInstanceFlagBitsKHR

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = GeometryInstanceFlagBitsKHR
The resulting type after applying the & operator.

Output-1

Method
type Output = GeometryInstanceFlagBitsKHR
The resulting type after applying the | operator.

Output-2

Method
type Output = GeometryInstanceFlagBitsKHR
The resulting type after applying the ^ operator.

clone

Method
fn clone(&self) -> GeometryInstanceFlagBitsKHR
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> GeometryInstanceFlagBitsKHR
Returns the “default value” for a type. Read more

Output-3

Method
type Output = GeometryInstanceFlagBitsKHR
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &GeometryInstanceFlagBitsKHR) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::GeometryNV

pub struct GeometryNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub geometry_type: GeometryTypeKHR, pub geometry: GeometryDataNV<'a>, pub flags: GeometryFlagsKHR, /* private fields */ }
Native structure VkGeometryNV.

Contract

Native structure VkGeometryNV.

Khronos reference: VkGeometryNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

geometry_type

Field
geometry_type: GeometryTypeKHR

Native field geometryType.

geometry

Field
geometry: GeometryDataNV<'a>

Native field geometry.

flags

Field
flags: GeometryFlagsKHR

Native field flags.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_geometry_type

Method
pub fn set_geometry_type(self, value: GeometryTypeKHR) -> Self

Set native field geometryType without native effects.

set_geometry

Method
pub fn set_geometry(self, value: GeometryDataNV<'a>) -> Self

Set native field geometry without native effects.

set_flags

Method
pub fn set_flags(self, value: GeometryFlagsKHR) -> Self

Set native field flags without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

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 */ }
Native structure VkGeometryTrianglesNV.

Contract

Native structure VkGeometryTrianglesNV.

Khronos reference: VkGeometryTrianglesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

vertex_data

Field
vertex_data: Buffer

Native field vertexData.

vertex_offset

Field
vertex_offset: DeviceSize

Native field vertexOffset.

vertex_count

Field
vertex_count: u32

Native field vertexCount.

vertex_stride

Field
vertex_stride: DeviceSize

Native field vertexStride.

vertex_format

Field
vertex_format: Format

Native field vertexFormat.

index_data

Field
index_data: Buffer

Native field indexData.

index_offset

Field
index_offset: DeviceSize

Native field indexOffset.

index_count

Field
index_count: u32

Native field indexCount.

index_type

Field
index_type: IndexType

Native field indexType.

transform_data

Field
transform_data: Buffer

Native field transformData.

transform_offset

Field
transform_offset: DeviceSize

Native field transformOffset.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_vertex_data

Method
pub fn set_vertex_data(self, value: Buffer) -> Self

Set native field vertexData without native effects.

set_vertex_offset

Method
pub fn set_vertex_offset(self, value: DeviceSize) -> Self

Set native field vertexOffset without native effects.

set_vertex_count

Method
pub fn set_vertex_count(self, value: u32) -> Self

Set native field vertexCount without native effects.

set_vertex_stride

Method
pub fn set_vertex_stride(self, value: DeviceSize) -> Self

Set native field vertexStride without native effects.

set_vertex_format

Method
pub fn set_vertex_format(self, value: Format) -> Self

Set native field vertexFormat without native effects.

set_index_data

Method
pub fn set_index_data(self, value: Buffer) -> Self

Set native field indexData without native effects.

set_index_offset

Method
pub fn set_index_offset(self, value: DeviceSize) -> Self

Set native field indexOffset without native effects.

set_index_count

Method
pub fn set_index_count(self, value: u32) -> Self

Set native field indexCount without native effects.

set_index_type

Method
pub fn set_index_type(self, value: IndexType) -> Self

Set native field indexType without native effects.

set_transform_data

Method
pub fn set_transform_data(self, value: Buffer) -> Self

Set native field transformData without native effects.

set_transform_offset

Method
pub fn set_transform_offset(self, value: DeviceSize) -> Self

Set native field transformOffset without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::GeometryTypeKHR

Contract

Open integer representation of VkGeometryTypeKHR.

Khronos reference: VkGeometryTypeKHR

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> GeometryTypeKHR
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &GeometryTypeKHR) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::GetLatencyMarkerInfoNV

pub struct GetLatencyMarkerInfoNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub timing_count: u32, pub p_timings: *mut LatencyTimingsFrameReportNV<'a>, /* private fields */ }
Native structure VkGetLatencyMarkerInfoNV.

Contract

Native structure VkGetLatencyMarkerInfoNV.

Khronos reference: VkGetLatencyMarkerInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

timing_count

Field
timing_count: u32

Native field timingCount.

p_timings

Field
p_timings: *mut LatencyTimingsFrameReportNV<'a>

Native field pTimings.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_timing_count

Method
pub fn set_timing_count(self, value: u32) -> Self

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

Method
pub fn set_timings( self, value: &'a mut [LatencyTimingsFrameReportNV<'a>], ) -> Result<Self, ConstructionError>

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

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::GpaDeviceClockModeAMD

Contract

Open integer representation of VkGpaDeviceClockModeAMD.

Khronos reference: VkGpaDeviceClockModeAMD

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

Method
fn clone(&self) -> GpaDeviceClockModeAMD
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> GpaDeviceClockModeAMD
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &GpaDeviceClockModeAMD) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::GpaDeviceClockModeInfoAMD

pub struct GpaDeviceClockModeInfoAMD<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub clock_mode: GpaDeviceClockModeAMD, pub memory_clock_ratio_to_peak: f32, pub engine_clock_ratio_to_peak: f32, /* private fields */ }
Native structure VkGpaDeviceClockModeInfoAMD.

Contract

Native structure VkGpaDeviceClockModeInfoAMD.

Khronos reference: VkGpaDeviceClockModeInfoAMD

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

clock_mode

Field
clock_mode: GpaDeviceClockModeAMD

Native field clockMode.

memory_clock_ratio_to_peak

Field
memory_clock_ratio_to_peak: f32

Native field memoryClockRatioToPeak.

engine_clock_ratio_to_peak

Field
engine_clock_ratio_to_peak: f32

Native field engineClockRatioToPeak.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_clock_mode

Method
pub fn set_clock_mode(self, value: GpaDeviceClockModeAMD) -> Self

Set native field clockMode without native effects.

set_memory_clock_ratio_to_peak

Method
pub fn set_memory_clock_ratio_to_peak(self, value: f32) -> Self

Set native field memoryClockRatioToPeak without native effects.

set_engine_clock_ratio_to_peak

Method
pub fn set_engine_clock_ratio_to_peak(self, value: f32) -> Self

Set native field engineClockRatioToPeak without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.