Realm

vk · Structs · T3

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

StRustExperimental

Stvk::TraceRaysIndirectCommandKHR

Contract

Native structure VkTraceRaysIndirectCommandKHR.

Khronos reference: VkTraceRaysIndirectCommandKHR

Fields

width

Field
width: u32

Native field width.

height

Field
height: u32

Native field height.

depth

Field
depth: u32

Native field depth.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_width

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

Set native field width without native effects.

set_height

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

Set native field height without native effects.

set_depth

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

Set native field depth without native effects.

clone

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

Stvk::TransformMatrixKHR

Contract

Native structure VkTransformMatrixKHR.

Khronos reference: VkTransformMatrixKHR

Fields

matrix

Field
matrix: [[f32; 4]; 3]

Native field matrix.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_matrix

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

Set native field matrix without native effects.