interface IRenderEngine {
    _breakTextureSample: boolean;
    _context: any;
    _enableStatistics: boolean;
    _lodTextureSample: boolean;
    _remapZ: boolean;
    _screenInvertY: boolean;
    addTexGammaDefine(key: number, value: ShaderDefine): void;
    copySubFrameBuffertoTex(
        texture: InternalTexture,
        level: number,
        xoffset: number,
        yoffset: number,
        x: number,
        y: number,
        width: number,
        height: number,
    ): void;
    createBuffer(
        targetType: BufferTargetType,
        bufferUsageType: BufferUsage,
    ): GLBuffer;
    endFrame(): void;
    getCapable(capatableType: RenderCapable): boolean;
    getCreateRenderOBJContext(): IRenderEngineFactory;
    getDefineByName(name: string): ShaderDefine;
    getNamesByDefineData(defineData: IDefineDatas, out: string[]): void;
    getParams(params: RenderParams): number;
    getTextureContext(): ITextureContext;
    getUBOPointer(name: string): number;
    initRenderEngine(canvas: any): void;
    propertyIDToName(id: number): string;
    propertyNameToID(name: string): number;
    resizeOffScreen(width: number, height: number): void;
    startFrame(): void;
}

实现于

属性

_breakTextureSample: boolean
_context: any
_enableStatistics: boolean
_lodTextureSample: boolean
_remapZ: boolean
_screenInvertY: boolean

方法