#[repr(C)]pub struct CgaTransformPushConstants {
pub num_points: u32,
pub op_type: u32,
pub sphere_cx: f32,
pub sphere_cy: f32,
pub sphere_cz: f32,
pub sphere_radius: f32,
pub param_lambda: f32,
pub param_dy: f32,
pub param_dz: f32,
pub _pad0: u32,
pub _pad1: u32,
pub _pad2: u32,
}Expand description
Push constant payload for 3D Conformal Geometric Algebra (CGA) spherical inversion on GPU.
Fields§
§num_points: u32§op_type: u32§sphere_cx: f32§sphere_cy: f32§sphere_cz: f32§sphere_radius: f32§param_lambda: f32§param_dy: f32§param_dz: f32§_pad0: u32§_pad1: u32§_pad2: u32Implementations§
Trait Implementations§
Source§impl Clone for CgaTransformPushConstants
impl Clone for CgaTransformPushConstants
impl Copy for CgaTransformPushConstants
Source§impl Debug for CgaTransformPushConstants
impl Debug for CgaTransformPushConstants
impl StructuralPartialEq for CgaTransformPushConstants
Auto Trait Implementations§
impl Forget for CgaTransformPushConstants
impl Freeze for CgaTransformPushConstants
impl Move for CgaTransformPushConstants
impl RefUnwindSafe for CgaTransformPushConstants
impl Send for CgaTransformPushConstants
impl Sync for CgaTransformPushConstants
impl Unpin for CgaTransformPushConstants
impl UnsafeUnpin for CgaTransformPushConstants
impl UnwindSafe for CgaTransformPushConstants
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more