Table of Contents

Class GLSurfaceView

Namespace
Android.Opengl
Assembly
MASES.Netdroid.dll
public class GLSurfaceView : SurfaceView, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAccessibilityEventSource
Inheritance
JVMBridgeBase
JVMBridgeBase<View>
GLSurfaceView
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<View>.IsAssignableFrom(IJavaType)
JVMBridgeBase<View>.IsAssignableFrom<T>()
JVMBridgeBase<View>.Execute<T>(params T[])
JVMBridgeBase<View>.DynBridgeClazz
JVMBridgeBase<View>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

GLSurfaceView()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public GLSurfaceView()

GLSurfaceView(Context)

public GLSurfaceView(Context arg0)

Parameters

arg0 Context

Context

GLSurfaceView(Context, AttributeSet)

public GLSurfaceView(Context arg0, AttributeSet arg1)

Parameters

arg0 Context

Context

arg1 AttributeSet

AttributeSet

GLSurfaceView(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public GLSurfaceView(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

DEBUG_CHECK_GL_ERROR

public static int DEBUG_CHECK_GL_ERROR { get; }

Property Value

int

DEBUG_LOG_GL_CALLS

public static int DEBUG_LOG_GL_CALLS { get; }

Property Value

int

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

RENDERMODE_CONTINUOUSLY

public static int RENDERMODE_CONTINUOUSLY { get; }

Property Value

int

RENDERMODE_WHEN_DIRTY

public static int RENDERMODE_WHEN_DIRTY { get; }

Property Value

int

Methods

GetDebugFlags()

public int GetDebugFlags()

Returns

int

int

GetPreserveEGLContextOnPause()

public bool GetPreserveEGLContextOnPause()

Returns

bool

bool

GetRenderMode()

public int GetRenderMode()

Returns

int

int

OnPause()

public void OnPause()

OnResume()

public void OnResume()

QueueEvent(Runnable)

public void QueueEvent(Runnable arg0)

Parameters

arg0 Runnable

Runnable

RequestRender()

public void RequestRender()

SetDebugFlags(int)

public void SetDebugFlags(int arg0)

Parameters

arg0 int

int

SetEGLConfigChooser(EGLConfigChooser)

public void SetEGLConfigChooser(GLSurfaceView.EGLConfigChooser arg0)

Parameters

arg0 GLSurfaceView.EGLConfigChooser

GLSurfaceView.EGLConfigChooser

SetEGLConfigChooser(bool)

public void SetEGLConfigChooser(bool arg0)

Parameters

arg0 bool

bool

SetEGLConfigChooser(int, int, int, int, int, int)

public void SetEGLConfigChooser(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 int

int

SetEGLContextClientVersion(int)

public void SetEGLContextClientVersion(int arg0)

Parameters

arg0 int

int

SetEGLContextFactory(EGLContextFactory)

public void SetEGLContextFactory(GLSurfaceView.EGLContextFactory arg0)

Parameters

arg0 GLSurfaceView.EGLContextFactory

GLSurfaceView.EGLContextFactory

SetEGLWindowSurfaceFactory(EGLWindowSurfaceFactory)

public void SetEGLWindowSurfaceFactory(GLSurfaceView.EGLWindowSurfaceFactory arg0)

Parameters

arg0 GLSurfaceView.EGLWindowSurfaceFactory

GLSurfaceView.EGLWindowSurfaceFactory

SetGLWrapper(GLWrapper)

public void SetGLWrapper(GLSurfaceView.GLWrapper arg0)

Parameters

arg0 GLSurfaceView.GLWrapper

GLSurfaceView.GLWrapper

SetPreserveEGLContextOnPause(bool)

public void SetPreserveEGLContextOnPause(bool arg0)

Parameters

arg0 bool

bool

SetRenderMode(int)

public void SetRenderMode(int arg0)

Parameters

arg0 int

int

SetRenderer(Renderer)

public void SetRenderer(GLSurfaceView.Renderer arg0)

Parameters

arg0 GLSurfaceView.Renderer

GLSurfaceView.Renderer

SurfaceChanged(SurfaceHolder, int, int, int)

public void SurfaceChanged(SurfaceHolder arg0, int arg1, int arg2, int arg3)

Parameters

arg0 SurfaceHolder

SurfaceHolder

arg1 int

int

arg2 int

int

arg3 int

int

SurfaceCreated(SurfaceHolder)

public void SurfaceCreated(SurfaceHolder arg0)

Parameters

arg0 SurfaceHolder

SurfaceHolder

SurfaceDestroyed(SurfaceHolder)

public void SurfaceDestroyed(SurfaceHolder arg0)

Parameters

arg0 SurfaceHolder

SurfaceHolder

SurfaceRedrawNeeded(SurfaceHolder)

[Obsolete]
public void SurfaceRedrawNeeded(SurfaceHolder arg0)

Parameters

arg0 SurfaceHolder

SurfaceHolder

SurfaceRedrawNeededAsync(SurfaceHolder, Runnable)

public void SurfaceRedrawNeededAsync(SurfaceHolder arg0, Runnable arg1)

Parameters

arg0 SurfaceHolder

SurfaceHolder

arg1 Runnable

Runnable