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: GLsizei = 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

Accessors

blurSize

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

hasBlur

  • get hasBlur(): boolean

initialized

  • get initialized(): boolean

shadowMapTexture

Methods

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.

    Returns void

Protected assertUninitialized

  • assertUninitialized(): undefined
  • 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.

    Returns undefined

frame

  • frame(callback: function): void
  • Parameters

    • callback: function
        • (): void
        • Returns void

    Returns void

initialize

resize

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

    • size: GLsizei2
    • Default value bind: boolean = true
    • Default value unbind: boolean = true

    Returns void

resizeBlurTexture

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

    • size: GLsizei2
    • Default value bind: boolean = true
    • Default value unbind: boolean = true

    Returns void

uninitialize

  • uninitialize(): void

Static Protected assertInitializedFalse

Static Protected assertUninitializedFalse

Static assert_initialized

Static assert_uninitialized

Static initialize

  • 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

  • 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