#[repr(C)]pub struct WorldMeshBlockML {Show 14 fields
pub ty: StructureType,
pub next: *mut c_void,
pub uuid: UuidEXT,
pub block_result: WorldMeshBlockResultML,
pub lod: WorldMeshDetectorLodML,
pub flags: WorldMeshDetectorFlagsML,
pub index_count: u32,
pub index_buffer: *mut u16,
pub vertex_count: u32,
pub vertex_buffer: *mut Vector3f,
pub normal_count: u32,
pub normal_buffer: *mut Vector3f,
pub confidence_count: u32,
pub confidence_buffer: *mut f32,
}Expand description
See XrWorldMeshBlockML - defined by XR_ML_world_mesh_detection
Fields§
§ty: StructureType§next: *mut c_void§uuid: UuidEXT§block_result: WorldMeshBlockResultML§lod: WorldMeshDetectorLodML§flags: WorldMeshDetectorFlagsML§index_count: u32§index_buffer: *mut u16§vertex_count: u32§vertex_buffer: *mut Vector3f§normal_count: u32§normal_buffer: *mut Vector3f§confidence_count: u32§confidence_buffer: *mut f32Implementations§
Source§impl WorldMeshBlockML
impl WorldMeshBlockML
pub const TYPE: StructureType = StructureType::WORLD_MESH_BLOCK_ML
Sourcepub fn out(next: *mut BaseOutStructure) -> MaybeUninit<Self>
pub fn out(next: *mut BaseOutStructure) -> MaybeUninit<Self>
Construct a partially-initialized value suitable for passing to OpenXR
Trait Implementations§
Source§impl Clone for WorldMeshBlockML
impl Clone for WorldMeshBlockML
Source§fn clone(&self) -> WorldMeshBlockML
fn clone(&self) -> WorldMeshBlockML
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorldMeshBlockML
impl Debug for WorldMeshBlockML
impl Copy for WorldMeshBlockML
Auto Trait Implementations§
impl Freeze for WorldMeshBlockML
impl RefUnwindSafe for WorldMeshBlockML
impl !Send for WorldMeshBlockML
impl !Sync for WorldMeshBlockML
impl Unpin for WorldMeshBlockML
impl UnwindSafe for WorldMeshBlockML
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