[−]Struct jni_android_sys::android::opengl::GLSurfaceView
public class GLSurfaceView
Required feature: "android-opengl-GLSurfaceView"
Methods
impl GLSurfaceView
pub fn new_Context<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, GLSurfaceView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, GLSurfaceView>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn new_Context_AttributeSet<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, GLSurfaceView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, GLSurfaceView>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn setGLWrapper<'env>(
&'env self,
arg0: impl Into<Option<&'env GLSurfaceView_GLWrapper>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env GLSurfaceView_GLWrapper>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-opengl-GLSurfaceView_GLWrapper"
pub fn setDebugFlags<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getDebugFlags<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn setPreserveEGLContextOnPause<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getPreserveEGLContextOnPause<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setRenderer<'env>(
&'env self,
arg0: impl Into<Option<&'env GLSurfaceView_Renderer>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env GLSurfaceView_Renderer>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-opengl-GLSurfaceView_Renderer"
pub fn setEGLContextFactory<'env>(
&'env self,
arg0: impl Into<Option<&'env GLSurfaceView_EGLContextFactory>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env GLSurfaceView_EGLContextFactory>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-opengl-GLSurfaceView_EGLContextFactory"
pub fn setEGLWindowSurfaceFactory<'env>(
&'env self,
arg0: impl Into<Option<&'env GLSurfaceView_EGLWindowSurfaceFactory>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env GLSurfaceView_EGLWindowSurfaceFactory>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-opengl-GLSurfaceView_EGLWindowSurfaceFactory"
pub fn setEGLConfigChooser_EGLConfigChooser<'env>(
&'env self,
arg0: impl Into<Option<&'env GLSurfaceView_EGLConfigChooser>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env GLSurfaceView_EGLConfigChooser>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-opengl-GLSurfaceView_EGLConfigChooser"
pub fn setEGLConfigChooser_boolean<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setEGLConfigChooser_int_int_int_int_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setEGLContextClientVersion<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setRenderMode<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getRenderMode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn requestRender<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn surfaceCreated<'env>(
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-SurfaceHolder"
pub fn surfaceDestroyed<'env>(
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-SurfaceHolder"
pub fn surfaceChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-SurfaceHolder"
pub fn surfaceRedrawNeededAsync<'env>(
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder>>,
arg1: impl Into<Option<&'env Runnable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder>>,
arg1: impl Into<Option<&'env Runnable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-SurfaceHolder", "java-lang-Runnable"
pub fn surfaceRedrawNeeded<'env>(
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-SurfaceHolder"
pub fn onPause<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onResume<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn queueEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Runnable"
pub const DEBUG_CHECK_GL_ERROR: i32
[src]
public static final DEBUG_CHECK_GL_ERROR
pub const DEBUG_LOG_GL_CALLS: i32
[src]
public static final DEBUG_LOG_GL_CALLS
pub const RENDERMODE_CONTINUOUSLY: i32
[src]
public static final RENDERMODE_CONTINUOUSLY
pub const RENDERMODE_WHEN_DIRTY: i32
[src]
public static final RENDERMODE_WHEN_DIRTY
Methods from Deref<Target = SurfaceView>
pub fn getHolder<'env>(
&'env self
) -> Result<Option<Local<'env, SurfaceHolder>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SurfaceHolder>>, Local<'env, Throwable>>
Required features: "android-view-SurfaceHolder"
pub fn setVisibility<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn gatherTransparentRegion<'env>(
&'env self,
arg0: impl Into<Option<&'env Region>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Region>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-graphics-Region"
pub fn draw<'env>(
&'env self,
arg0: impl Into<Option<&'env Canvas>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Canvas>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Canvas"
pub fn setZOrderMediaOverlay<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setZOrderOnTop<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setSecure<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
Trait Implementations
impl AsJValue for GLSurfaceView
impl AsRef<SurfaceHolder_Callback2> for GLSurfaceView
fn as_ref(&self) -> &SurfaceHolder_Callback2
impl AsValidJObjectAndEnv for GLSurfaceView
impl Deref for GLSurfaceView
impl JniType for GLSurfaceView
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for GLSurfaceView
impl !Send for GLSurfaceView
impl !Sync for GLSurfaceView
impl Unpin for GLSurfaceView
impl UnwindSafe for GLSurfaceView
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,