语言

SupportsGLTextureAttribute 类

定义

声明应用程序支持的单个 GL 纹理压缩格式,并在 Android 清单中生成 <supports-gl-texture> 元素。

[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)]
[System.Serializable]
public sealed class SupportsGLTextureAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)>]
[<System.Serializable>]
type SupportsGLTextureAttribute = class
    inherit Attribute
继承
SupportsGLTextureAttribute
特性

注解

请参阅 Android 文档,了解 <supports-gl-texture>。

构造函数

名称 说明
SupportsGLTextureAttribute(String)

初始化 SupportsGLTextureAttribute 类的新实例。

属性

名称 说明
Name

获取应用程序支持的 GL 纹理压缩格式,例如 GL_OES_compressed_ETC1_RGB8_texture。

适用于