GLTextureView 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 |
|---|---|
| GLTextureView(Context) |
Initializes a new instance of the GLTextureView class. |
| GLTextureView(Context, IAttributeSet) |
Initializes a new instance of the GLTextureView class with the specified XML attributes. |
GLTextureView(Context)
Initializes a new instance of the GLTextureView class.
public GLTextureView(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
GLTextureView(Context, IAttributeSet)
Initializes a new instance of the GLTextureView class with the specified XML attributes.
public GLTextureView(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.