SKGLTextureView Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| SKGLTextureView(Context) |
Initializes a new instance of the SKGLTextureView class. |
| SKGLTextureView(Context, IAttributeSet) |
Initializes a new instance of the SKGLTextureView class with the specified XML attributes. |
SKGLTextureView(Context)
Initializes a new instance of the SKGLTextureView class.
public SKGLTextureView(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
SKGLTextureView(Context, IAttributeSet)
Initializes a new instance of the SKGLTextureView class with the specified XML attributes.
public SKGLTextureView(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.