Edit

SKGLSurfaceView Constructors

Definition

Overloads

Name Description
SKGLSurfaceView(Context)

Initializes a new instance of the SKGLSurfaceView class.

SKGLSurfaceView(Context, IAttributeSet)

Initializes a new instance of the SKGLSurfaceView class with the specified XML attributes.

SKGLSurfaceView(Context)

Initializes a new instance of the SKGLSurfaceView class.

public SKGLSurfaceView(Android.Content.Context context);

Parameters

context
Context

The Context the view is running in, through which it can access the current theme, resources, etc.

Remarks

Use this constructor when creating the view programmatically from code.

Applies to

SKGLSurfaceView(Context, IAttributeSet)

Initializes a new instance of the SKGLSurfaceView class with the specified XML attributes.

public SKGLSurfaceView(Android.Content.Context context, Android.Util.IAttributeSet attrs);

Parameters

context
Context

The Context the view is running in, through which it can access the current theme, resources, etc.

attrs
IAttributeSet

The attributes of the XML tag that is inflating the view.

Remarks

This constructor is called when inflating the view from an Android XML layout file.

Applies to