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 */
}Contract
Native union VkIndirectCommandsTokenDataEXT.
Fields
p_push_constant
Field
p_push_constant: *const IndirectCommandsPushConstantTokenEXTNative field pPushConstant.
p_vertex_buffer
Field
p_vertex_buffer: *const IndirectCommandsVertexBufferTokenEXTNative field pVertexBuffer.
p_index_buffer
Field
p_index_buffer: *const IndirectCommandsIndexBufferTokenEXTNative field pIndexBuffer.
p_execution_set
Field
p_execution_set: *const IndirectCommandsExecutionSetTokenEXTNative field pExecutionSet.
Methods and associated items
new
Method
Construct the record with its default native state.
set_push_constant
Method
Set native field pPushConstant without native effects.
set_vertex_buffer
Method
Set native field pVertexBuffer without native effects.
set_index_buffer
Method
Set native field pIndexBuffer without native effects.
set_execution_set
Method
Set native field pExecutionSet without native effects.
clone
Method
Returns a duplicate of the value. Read more
default
Method
Returns the “default value” for a type. Read more
Unvk::IndirectExecutionSetInfoEXT
Contract
Native union 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
Construct the record with its default native state.
set_pipeline_info
Method
Set native field pPipelineInfo without native effects.
set_shader_info
Method
Set native field pShaderInfo without native effects.
clone
Method
Returns a duplicate of the value. Read more
default
Method
Returns the “default value” for a type. Read more