Skip to main content

IXRPass_CustomMirrorViewMethods

Trait IXRPass_CustomMirrorViewMethods 

Source
pub trait IXRPass_CustomMirrorViewMethods: IXRPass_CustomMirrorView {
    // Provided methods
    fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
    fn invoke(
        self,
        pass: impl Into<XRPass>,
        cmd: impl Into<CommandBuffer>,
        rt: impl Into<RenderTexture>,
        viewport: impl Into<Rect>,
    ) { ... }
}

Provided Methods§

Source

fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>)

.ctor(crate::system::object::Object, ::unity::IntPtr) overload

Source

fn invoke( self, pass: impl Into<XRPass>, cmd: impl Into<CommandBuffer>, rt: impl Into<RenderTexture>, viewport: impl Into<Rect>, )

Invoke(crate::unity_engine::rendering::universal::xrpass::XRPass, crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendertexture::RenderTexture, crate::unity_engine::rect::Rect) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IXRPass_CustomMirrorView> IXRPass_CustomMirrorViewMethods for __T

Available on crate feature unity_engine-rendering-universal-xrpass only.