Table of Contents

Class GLSurfaceView

Namespace
Android.Opengl
Assembly
MASES.Netdroid.dll
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

arg0 Context

Context

GLSurfaceView(Context, AttributeSet)

public GLSurfaceView(Context arg0, AttributeSet arg1)

Parameters

arg0 Context

Context

arg1 AttributeSet

AttributeSet

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

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

DEBUG_CHECK_GL_ERROR

public static int DEBUG_CHECK_GL_ERROR { get; set; }

Property Value

int

DEBUG_LOG_GL_CALLS

public static int DEBUG_LOG_GL_CALLS { get; set; }

Property Value

int

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

RENDERMODE_CONTINUOUSLY

public static int RENDERMODE_CONTINUOUSLY { get; set; }

Property Value

int

RENDERMODE_WHEN_DIRTY

public static int RENDERMODE_WHEN_DIRTY { get; set; }

Property Value

int

Methods

CreatePoolableInstance(Context)

HPA initializer for GLSurfaceView(Android.Content.Context arg0)

public static GLSurfaceView CreatePoolableInstance(Context arg0)

Parameters

arg0 Context

Returns

GLSurfaceView

CreatePoolableInstance(Context, AttributeSet)

HPA initializer for GLSurfaceView(Android.Content.Context arg0, Android.Util.AttributeSet arg1)

public static GLSurfaceView CreatePoolableInstance(Context arg0, AttributeSet arg1)

Parameters

arg0 Context
arg1 AttributeSet

Returns

GLSurfaceView

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("Deprecated in JVM")]
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