跳到主要内容

flywave-mapview.ipassmanager

Home > @flywave/flywave-mapview > IPassManager

IPassManager interface

IPassManager provides a base interface for Pass managers like MapRenderingManager.

Signature:

export interface IPassManager 

Methods

Method

Description

render(renderer, args)

The render method to extend in IPassManager's implementations. This is the place where the desired setups and effect composing and chaining happen.

setSize(width, height)

The resize method to extend in Pass implementations to resize the render targets to match the size of the visible canvas. It should be called on resize events.