Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ShadowPass

Hierarchy

Index

Constructors

constructor

Properties

Protected _blurFBO

_blurFBO: Framebuffer

Protected _blurTexture

_blurTexture: Texture2D

Protected _blurredShadowMapSize

_blurredShadowMapSize: GLsizei2

Protected _context

_context: Context

Protected _gaussFilter

_gaussFilter: GaussFilter

Protected _gaussFilterKernelSize

_gaussFilterKernelSize: number = 21

Protected _intermediateBlurFBO

_intermediateBlurFBO: Framebuffer

Protected _intermediateBlurTexture

_intermediateBlurTexture: Texture2D

Protected _shadowMapFBO

_shadowMapFBO: Framebuffer

Protected _shadowMapRenderbuffer

_shadowMapRenderbuffer: Renderbuffer

Protected _shadowMapSize

_shadowMapSize: GLsizei2

Protected _shadowMapTexture

_shadowMapTexture: Texture2D

Protected _shadowType

_shadowType: ShadowMappingType

Protected assertInitialized

assertInitialized: () => void = ...

Asserts the objects initialization status to be true. Note that the implementation is cached and forwarded to either an empty function when initialized and to an acutal assert(false) otherwise.

Type declaration

    • (): void
    • Returns void

Protected assertUninitialized

assertUninitialized: () => void = ...

Asserts the objects initialization status to be false. Note that the implementation is cached and forwarded to either an empty function when uninitialized and to an acutal assert(false) otherwise.

Type declaration

    • (): void
    • Returns void

Accessors

blurSize

  • get blurSize(): number
  • set blurSize(blurSize: number): void

hasBlur

  • get hasBlur(): boolean

initialized

  • get initialized(): boolean
  • Property getter for readonly access to the initialization status of an initializable instance.

    Returns boolean

shadowMapFBO

shadowMapTexture

Methods

frame

  • frame(callback: () => void): void

initialize

resize

  • resize(size: GLsizei2, bind?: boolean, unbind?: boolean): void

resizeBlurTexture

  • resizeBlurTexture(size: GLsizei2, bind?: boolean, unbind?: boolean): void

uninitialize

  • uninitialize(): void

Static Protected Readonly assertInitializedFalse

Static Protected Readonly assertUninitializedFalse

Static assert_initialized

  • assert_initialized(): MethodDecorator

Static assert_uninitialized

  • assert_uninitialized(): MethodDecorator

Static discard

  • discard(): MethodDecorator
  • Method decorator for discarding of Initializable inheritors. This decorator asserts the initialization status of the instance that is to be discarded, invokes its uninitialization, and falsifies the initialization status. In order to encourage the use of assertInitialized and assertUninitialized they are dynamically bound to a static, always-failing assert and an empty/undefined function respectively.

    Returns MethodDecorator

Static initialize

  • initialize(): MethodDecorator
  • Method decorator for initialization of Initializable inheritors. This decorator asserts the initialization status of the instance that is to be initialized, invokes its initialization with arbitrary number of parameters, and sets the initialization status to the initialization success (either false or true). In order to encourage the use of assertInitialized and assertUninitialized they are dynamically bound to either a static, always-failing assert or an empty/undefined function.

    Returns MethodDecorator

Static uninitialize

  • uninitialize(): MethodDecorator
  • Method decorator for uninitialization of Initializable inheritors. This decorator asserts the initialization status of the instance that is to be uninitialized, invokes its uninitialization, and falsifies the initialization status. In order to encourage the use of assertInitialized and assertUninitialized they are dynamically bound to a static, always-failing assert and an empty/undefined function respectively.

    Returns MethodDecorator