Realm

vk · Unions · I1

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

UnRustExperimental

Unvk::IndirectCommandsTokenDataEXT

pub union IndirectCommandsTokenDataEXT<'a> { pub p_push_constant: *const IndirectCommandsPushConstantTokenEXT, pub p_vertex_buffer: *const IndirectCommandsVertexBufferTokenEXT, pub p_index_buffer: *const IndirectCommandsIndexBufferTokenEXT, pub p_execution_set: *const IndirectCommandsExecutionSetTokenEXT, /* private fields */ }
Native union VkIndirectCommandsTokenDataEXT.

Contract

Native union VkIndirectCommandsTokenDataEXT.

Khronos reference: VkIndirectCommandsTokenDataEXT

Fields

p_push_constant

Field
p_push_constant: *const IndirectCommandsPushConstantTokenEXT

Native field pPushConstant.

p_vertex_buffer

Field
p_vertex_buffer: *const IndirectCommandsVertexBufferTokenEXT

Native field pVertexBuffer.

p_index_buffer

Field
p_index_buffer: *const IndirectCommandsIndexBufferTokenEXT

Native field pIndexBuffer.

p_execution_set

Field
p_execution_set: *const IndirectCommandsExecutionSetTokenEXT

Native field pExecutionSet.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_push_constant

Method
pub fn set_push_constant( self, value: &'a IndirectCommandsPushConstantTokenEXT, ) -> Self

Set native field pPushConstant without native effects.

set_vertex_buffer

Method
pub fn set_vertex_buffer( self, value: &'a IndirectCommandsVertexBufferTokenEXT, ) -> Self

Set native field pVertexBuffer without native effects.

set_index_buffer

Method
pub fn set_index_buffer( self, value: &'a IndirectCommandsIndexBufferTokenEXT, ) -> Self

Set native field pIndexBuffer without native effects.

set_execution_set

Method
pub fn set_execution_set( self, value: &'a IndirectCommandsExecutionSetTokenEXT, ) -> Self

Set native field pExecutionSet without native effects.

clone

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

Unvk::IndirectExecutionSetInfoEXT

pub union IndirectExecutionSetInfoEXT<'a> { pub p_pipeline_info: *const IndirectExecutionSetPipelineInfoEXT<'a>, pub p_shader_info: *const IndirectExecutionSetShaderInfoEXT<'a>, /* private fields */ }
Native union VkIndirectExecutionSetInfoEXT.

Contract

Native union VkIndirectExecutionSetInfoEXT.

Khronos reference: VkIndirectExecutionSetInfoEXT

Fields

p_pipeline_info

Field
p_pipeline_info: *const IndirectExecutionSetPipelineInfoEXT<'a>

Native field pPipelineInfo.

p_shader_info

Field
p_shader_info: *const IndirectExecutionSetShaderInfoEXT<'a>

Native field pShaderInfo.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_pipeline_info

Method
pub fn set_pipeline_info( self, value: &'a IndirectExecutionSetPipelineInfoEXT<'a>, ) -> Self

Set native field pPipelineInfo without native effects.

set_shader_info

Method
pub fn set_shader_info( self, value: &'a IndirectExecutionSetShaderInfoEXT<'a>, ) -> Self

Set native field pShaderInfo without native effects.

clone

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