laya-coreui-es
Version:
laya核心库、ui库es版本,剔除了媒体、TTF等功能。基于 LayaAir-release_2.12.0 修改
30 lines (29 loc) • 836 B
TypeScript
/**
* 系统工具。
*/
export declare class SystemUtils {
/**
* 图形设备支持的最大纹理数量。
*/
static get maxTextureCount(): number;
/**
* 图形设备支持的最大纹理尺寸。
*/
static get maxTextureSize(): number;
/**
* 图形设备着色器的大致能力等级,类似于DirectX的shader model概念。
*/
static get shaderCapailityLevel(): number;
/**
* 是否支持纹理格式。
* @param format 纹理格式。
* @returns 是否支持。
*/
static supportTextureFormat(format: number): boolean;
/**
* 是否支持渲染纹理格式。
* @param format 渲染纹理格式。
* @returns 是否支持。
*/
static supportRenderTextureFormat(format: number): boolean;
}