vk · Unions · C1
3 public declarations with native signatures and source-owned contracts.
Unvk::ClearColorValue
Contract
Native union VkClearColorValue.
Fields
float32
float32: [f32; 4]Native field float32.
int32
int32: [i32; 4]Native field int32.
uint32
uint32: [u32; 4]Native field uint32.
Methods and associated items
new
Construct the record with its default native state.
set_float32
Set native field float32 without native effects.
set_int32
Set native field int32 without native effects.
set_uint32
Set native field uint32 without native effects.
clone
default
Unvk::ClearValue
Contract
Native union VkClearValue.
Fields
color
color: ClearColorValueNative field color.
depth_stencil
depth_stencil: ClearDepthStencilValueNative field depthStencil.
Methods and associated items
new
Construct the record with its default native state.
set_color
Set native field color without native effects.
set_depth_stencil
Set native field depthStencil without native effects.
clone
default
Unvk::ClusterAccelerationStructureOpInputNV
pub union ClusterAccelerationStructureOpInputNV<'a> {
pub p_clusters_bottom_level: *mut ClusterAccelerationStructureClustersBottomLevelInputNV<'a>,
pub p_triangle_clusters: *mut ClusterAccelerationStructureTriangleClusterInputNV<'a>,
pub p_move_objects: *mut ClusterAccelerationStructureMoveObjectsInputNV<'a>,
/* private fields */
}Contract
Native union VkClusterAccelerationStructureOpInputNV.
Fields
p_clusters_bottom_level
p_clusters_bottom_level: *mut ClusterAccelerationStructureClustersBottomLevelInputNV<'a>Native field pClustersBottomLevel.
p_triangle_clusters
p_triangle_clusters: *mut ClusterAccelerationStructureTriangleClusterInputNV<'a>Native field pTriangleClusters.
p_move_objects
p_move_objects: *mut ClusterAccelerationStructureMoveObjectsInputNV<'a>Native field pMoveObjects.
Methods and associated items
new
Construct the record with its default native state.
set_clusters_bottom_level
Set native field pClustersBottomLevel without native effects.
set_triangle_clusters
Set native field pTriangleClusters without native effects.
set_move_objects
Set native field pMoveObjects without native effects.