Class GLSurfaceView
public class GLSurfaceView : SurfaceView, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IAccessibilityEventSource
- Inheritance
-
GLSurfaceView
- Implements
- Inherited Members
- Extension Methods
Constructors
GLSurfaceView(Context)
public GLSurfaceView(Context arg0)
Parameters
GLSurfaceView(Context, AttributeSet)
public GLSurfaceView(Context arg0, AttributeSet arg1)
Parameters
arg0Contextarg1AttributeSet
GLSurfaceView(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public GLSurfaceView(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
DEBUG_CHECK_GL_ERROR
public static int DEBUG_CHECK_GL_ERROR { get; set; }
Property Value
DEBUG_LOG_GL_CALLS
public static int DEBUG_LOG_GL_CALLS { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
RENDERMODE_CONTINUOUSLY
public static int RENDERMODE_CONTINUOUSLY { get; set; }
Property Value
RENDERMODE_WHEN_DIRTY
public static int RENDERMODE_WHEN_DIRTY { get; set; }
Property Value
Methods
CreatePoolableInstance(Context)
HPA initializer for GLSurfaceView(Android.Content.Context arg0)
public static GLSurfaceView CreatePoolableInstance(Context arg0)
Parameters
arg0Context
Returns
CreatePoolableInstance(Context, AttributeSet)
HPA initializer for GLSurfaceView(Android.Content.Context arg0, Android.Util.AttributeSet arg1)
public static GLSurfaceView CreatePoolableInstance(Context arg0, AttributeSet arg1)
Parameters
arg0Contextarg1AttributeSet
Returns
GetDebugFlags()
public int GetDebugFlags()
Returns
GetPreserveEGLContextOnPause()
public bool GetPreserveEGLContextOnPause()
Returns
GetRenderMode()
public int GetRenderMode()
Returns
OnPause()
public void OnPause()
OnResume()
public void OnResume()
QueueEvent(Runnable)
public void QueueEvent(Runnable arg0)
Parameters
RequestRender()
public void RequestRender()
SetDebugFlags(int)
public void SetDebugFlags(int arg0)
Parameters
SetEGLConfigChooser(EGLConfigChooser)
public void SetEGLConfigChooser(GLSurfaceView.EGLConfigChooser arg0)
Parameters
SetEGLConfigChooser(bool)
public void SetEGLConfigChooser(bool arg0)
Parameters
SetEGLConfigChooser(int, int, int, int, int, int)
public void SetEGLConfigChooser(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
Parameters
SetEGLContextClientVersion(int)
public void SetEGLContextClientVersion(int arg0)
Parameters
SetEGLContextFactory(EGLContextFactory)
public void SetEGLContextFactory(GLSurfaceView.EGLContextFactory arg0)
Parameters
SetEGLWindowSurfaceFactory(EGLWindowSurfaceFactory)
public void SetEGLWindowSurfaceFactory(GLSurfaceView.EGLWindowSurfaceFactory arg0)
Parameters
SetGLWrapper(GLWrapper)
public void SetGLWrapper(GLSurfaceView.GLWrapper arg0)
Parameters
SetPreserveEGLContextOnPause(bool)
public void SetPreserveEGLContextOnPause(bool arg0)
Parameters
SetRenderMode(int)
public void SetRenderMode(int arg0)
Parameters
SetRenderer(Renderer)
public void SetRenderer(GLSurfaceView.Renderer arg0)
Parameters
SurfaceChanged(SurfaceHolder, int, int, int)
public void SurfaceChanged(SurfaceHolder arg0, int arg1, int arg2, int arg3)
Parameters
arg0SurfaceHolderarg1intarg2intarg3int
SurfaceCreated(SurfaceHolder)
public void SurfaceCreated(SurfaceHolder arg0)
Parameters
SurfaceDestroyed(SurfaceHolder)
public void SurfaceDestroyed(SurfaceHolder arg0)
Parameters
SurfaceRedrawNeeded(SurfaceHolder)
[Obsolete("Deprecated in JVM")]
public void SurfaceRedrawNeeded(SurfaceHolder arg0)
Parameters
SurfaceRedrawNeededAsync(SurfaceHolder, Runnable)
public void SurfaceRedrawNeededAsync(SurfaceHolder arg0, Runnable arg1)
Parameters
arg0SurfaceHolderarg1Runnable