Realm

vk · Unions · C1

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

UnRustExperimental

Unvk::ClearColorValue

Contract

Native union VkClearColorValue.

Khronos reference: VkClearColorValue

Fields

float32

Field
float32: [f32; 4]

Native field float32.

int32

Field
int32: [i32; 4]

Native field int32.

uint32

Field
uint32: [u32; 4]

Native field uint32.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_float32

Method
pub fn set_float32(self, value: [f32; 4]) -> Self

Set native field float32 without native effects.

set_int32

Method
pub fn set_int32(self, value: [i32; 4]) -> Self

Set native field int32 without native effects.

set_uint32

Method
pub fn set_uint32(self, value: [u32; 4]) -> Self

Set native field uint32 without native effects.

Unvk::ClearValue

Contract

Native union VkClearValue.

Khronos reference: VkClearValue

Fields

color

Field
color: ClearColorValue

Native field color.

depth_stencil

Field
depth_stencil: ClearDepthStencilValue

Native field depthStencil.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_color

Method
pub fn set_color(self, value: ClearColorValue) -> Self

Set native field color without native effects.

set_depth_stencil

Method
pub fn set_depth_stencil(self, value: ClearDepthStencilValue) -> Self

Set native field depthStencil without native effects.

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 */ }
Native union VkClusterAccelerationStructureOpInputNV.

Contract

Native union VkClusterAccelerationStructureOpInputNV.

Khronos reference: VkClusterAccelerationStructureOpInputNV

Fields

p_clusters_bottom_level

Field
p_clusters_bottom_level: *mut ClusterAccelerationStructureClustersBottomLevelInputNV<'a>

Native field pClustersBottomLevel.

p_triangle_clusters

Field
p_triangle_clusters: *mut ClusterAccelerationStructureTriangleClusterInputNV<'a>

Native field pTriangleClusters.

p_move_objects

Field
p_move_objects: *mut ClusterAccelerationStructureMoveObjectsInputNV<'a>

Native field pMoveObjects.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_clusters_bottom_level

Method
pub fn set_clusters_bottom_level( self, value: &'a mut ClusterAccelerationStructureClustersBottomLevelInputNV<'a>, ) -> Self

Set native field pClustersBottomLevel without native effects.

set_triangle_clusters

Method
pub fn set_triangle_clusters( self, value: &'a mut ClusterAccelerationStructureTriangleClusterInputNV<'a>, ) -> Self

Set native field pTriangleClusters without native effects.

set_move_objects

Method
pub fn set_move_objects( self, value: &'a mut ClusterAccelerationStructureMoveObjectsInputNV<'a>, ) -> Self

Set native field pMoveObjects without native effects.