For canvas, this is an instance of ol.render.canvas.Immediate.
An object representing the current render frame state.
Canvas context. Only available when a Canvas renderer is used, null otherwise.
WebGL context. Only available when a WebGL renderer is used, null otherwise.
The event type.
The event target.
Type.
可選opt_vectorContext: VectorContextVector context.
可選opt_frameState: FrameStateFrame state.
可選opt_context: CanvasRenderingContext2DContext.
可選opt_glContext: anyWebGL Context.
參數: type
Type.
參數: opt_vectorContext
Vector context.
參數: opt_frameState
Frame state.
參數: opt_context
Context.
參數: opt_glContext
WebGL Context.