pub trait XRWebGLBindingMethods {
    fn CreateProjectionLayer(
        &self,
        textureType: XRTextureType,
        init: &XRProjectionLayerInit
    ) -> Result<Root<Dom<XRProjectionLayer>>, Error>; fn CreateQuadLayer(
        &self,
        textureType: XRTextureType,
        init: &Option<XRQuadLayerInit>
    ) -> Result<Root<Dom<XRQuadLayer>>, Error>; fn CreateCylinderLayer(
        &self,
        textureType: XRTextureType,
        init: &Option<XRCylinderLayerInit>
    ) -> Result<Root<Dom<XRCylinderLayer>>, Error>; fn CreateEquirectLayer(
        &self,
        textureType: XRTextureType,
        init: &Option<XREquirectLayerInit>
    ) -> Result<Root<Dom<XREquirectLayer>>, Error>; fn CreateCubeLayer(
        &self,
        init: &Option<XRCubeLayerInit>
    ) -> Result<Root<Dom<XRCubeLayer>>, Error>; fn GetSubImage(
        &self,
        layer: &XRCompositionLayer,
        frame: &XRFrame,
        eye: XREye
    ) -> Result<Root<Dom<XRWebGLSubImage>>, Error>; fn GetViewSubImage(
        &self,
        layer: &XRProjectionLayer,
        view: &XRView
    ) -> Result<Root<Dom<XRWebGLSubImage>>, Error>; }

Required Methods§

source

fn CreateProjectionLayer(
    &self,
    textureType: XRTextureType,
    init: &XRProjectionLayerInit
) -> Result<Root<Dom<XRProjectionLayer>>, Error>

source

fn CreateQuadLayer(
    &self,
    textureType: XRTextureType,
    init: &Option<XRQuadLayerInit>
) -> Result<Root<Dom<XRQuadLayer>>, Error>

source

fn CreateCylinderLayer(
    &self,
    textureType: XRTextureType,
    init: &Option<XRCylinderLayerInit>
) -> Result<Root<Dom<XRCylinderLayer>>, Error>

source

fn CreateEquirectLayer(
    &self,
    textureType: XRTextureType,
    init: &Option<XREquirectLayerInit>
) -> Result<Root<Dom<XREquirectLayer>>, Error>

source

fn CreateCubeLayer(
    &self,
    init: &Option<XRCubeLayerInit>
) -> Result<Root<Dom<XRCubeLayer>>, Error>

source

fn GetSubImage(
    &self,
    layer: &XRCompositionLayer,
    frame: &XRFrame,
    eye: XREye
) -> Result<Root<Dom<XRWebGLSubImage>>, Error>

source

fn GetViewSubImage(
    &self,
    layer: &XRProjectionLayer,
    view: &XRView
) -> Result<Root<Dom<XRWebGLSubImage>>, Error>

Implementors§