Options
All
  • Public
  • Public/Protected
  • All
Menu

Glow layer options. This helps customizing the behaviour of the glow layer.

Hierarchy

  • IGlowLayerOptions

Index

Properties

alphaBlendingMode?: number

Defines the blend mode used by the merge. Default: ALPHA_ADD

blurKernelSize: number

How big is the kernel of the blur texture. Default: 32

camera: Nullable<Camera>

The camera attached to the layer. Default: null

generateStencilBuffer: boolean

Whether or not to generate a stencil buffer. Default: false

ldrMerge?: boolean

Forces the merge step to be done in ldr (clamp values > 1). Default: false

mainTextureFixedSize?: number

Enforces a fixed size texture to ensure resize independent blur. Default: undefined

mainTextureRatio: number

Multiplication factor apply to the canvas size to compute the render target size used to generated the glowing objects (the smaller the faster). Default: 0.5

mainTextureSamples?: number

Enable MSAA by choosing the number of samples. Default: 1

mainTextureType: number

The type of the main texture. Default: TEXTURETYPE_UNSIGNED_INT

renderingGroupId: number

The rendering group to draw the layer in. Default: -1

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme