#[repr(C)]pub struct XRLayout {
pub camera: Camera,
pub xr_system: XRSystem,
}Expand description
Fields§
§camera: Camera§xr_system: XRSystemImplementations§
Source§impl XRLayout
impl XRLayout
Sourcepub fn create_pass(
&mut self,
pass_create_info: impl Into<XRPassCreateInfo>,
) -> XRPass
pub fn create_pass( &mut self, pass_create_info: impl Into<XRPassCreateInfo>, ) -> XRPass
CreatePass(crate::unity_engine::rendering::universal::xrpasscreateinfo::XRPassCreateInfo) overload
Sourcepub fn add_view_to_pass(
&mut self,
view_create_info: impl Into<XRViewCreateInfo>,
pass: impl Into<XRPass>,
)
pub fn add_view_to_pass( &mut self, view_create_info: impl Into<XRViewCreateInfo>, pass: impl Into<XRPass>, )
AddViewToPass(crate::unity_engine::rendering::universal::xrviewcreateinfo::XRViewCreateInfo, crate::unity_engine::rendering::universal::xrpass::XRPass) overload
Source§impl XRLayout
impl XRLayout
pub fn create_pass_method_info() -> &'static MethodInfo
pub fn add_view_to_pass_method_info() -> &'static MethodInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XRLayout
impl RefUnwindSafe for XRLayout
impl !Send for XRLayout
impl !Sync for XRLayout
impl Unpin for XRLayout
impl UnwindSafe for XRLayout
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)