跳到主要内容

flywave-mapview.ipass

Home > @flywave/flywave-mapview > IPass

IPass interface

The interface for the Pass class.

Signature:

export interface IPass 

Properties

Property

Modifiers

Type

Description

enabled

boolean

Whether the Pass instance is active or not. true.

renderToScreen

boolean

Whether the render method should target a WebGLRenderTarget instance, or the frame buffer. false.

Methods

Method

Description

render(renderer, scene, camera, writeBuffer, readBuffer, delta)

The render method to extend in Pass implementations.

setSize(width, height)

The resize method to extend in Pass implementations.