UsesFeatureAttribute Class
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.
Declares a device feature or OpenGL ES version used by the application.
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)]
[System.Serializable]
public sealed class UsesFeatureAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)>]
[<System.Serializable>]
type UsesFeatureAttribute = class
inherit Attribute
- Inheritance
-
UsesFeatureAttribute
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Constructors
| Name | Description |
|---|---|
| UsesFeatureAttribute() |
Initializes an unnamed device-feature declaration. |
| UsesFeatureAttribute(String) |
Initializes a feature declaration with the supplied feature name. |
Properties
| Name | Description |
|---|---|
| GLESVersion |
Gets or sets the required OpenGL ES version as a packed major/minor integer. |
| Name |
Gets the feature name used by this declaration. |
| Required |
Gets or sets whether the declared device feature is required. |
| Version |
Gets or sets the device-feature version, separate from the OpenGL ES requirement. |