Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ShadowFlow

Shadow map render flow

Hierarchy

Index

Properties

Protected _name

_name: string = ""

Protected _pipeline

_pipeline: RenderPipeline

Protected _priority

_priority: number = 0

Private _shadowRenderPass

_shadowRenderPass: RenderPass | null = null

Protected _stages

_stages: RenderStage[] = []

Protected _tag

_tag: number = 0

Accessors

name

  • get name(): string

priority

  • get priority(): number

stages

tag

  • get tag(): number

Methods

initShadowFrameBuffer

activate

Private clearShadowMap

  • clearShadowMap(validLights: Light[], camera: Camera): void

destroy

  • destroy(): void

initialize

render

  • render(camera: Camera): void

Private resizeShadowMap

  • resizeShadowMap(light: Light, size: Vec2): void

Object literals

Static initInfo

initInfo: object
en

A common initialization info for shadow map render flow

zh

一个通用的 ShadowFlow 的初始化信息对象

name

name: string = PIPELINE_FLOW_SHADOW

priority

priority: ForwardFlowPriority = ForwardFlowPriority.SHADOW

stages

stages: never[] = []

tag

tag: RenderFlowTag = RenderFlowTag.SCENE

Generated using TypeDoc