Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EnvironmentRenderingPass

This pass renders an environment from a texture in a single screen-space pass.

Hierarchy

Index

Constructors

constructor

Properties

Protected _altered

_altered: boolean = true

Protected _camera

_camera: undefined | Camera

Protected _context

_context: Context

Context, used to get context information and WebGL API access.

Protected _cubeMapProgram

_cubeMapProgram: Program

Protected _envTextureType

_envTextureType: EnvironmentTextureType

Protected _environmentTexture

_environmentTexture: undefined | Texture2D | TextureCube

Protected _environmentTexture2

_environmentTexture2: undefined | Texture2D

Protected _equiMapProgram

_equiMapProgram: Program

Protected _ndcTriangle

_ndcTriangle: NdcFillingTriangle

Protected _polarMapProgram

_polarMapProgram: Program

Protected _skipCubeLod

_skipCubeLod: boolean = false

Protected _sphereMapProgram

_sphereMapProgram: Program

Protected _uSkipLod

_uSkipLod: WebGLUniformLocation

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

camera

  • set camera(camera: Camera): void

environmentTexture

environmentTexture2

  • set environmentTexture2(texture: Texture2D): void

environmentTextureType

initialized

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

    Returns boolean

skipCubeLod

  • set skipCubeLod(skip: boolean): void

Methods

frame

  • frame(): void

initialize

  • initialize(): boolean

uninitialize

  • uninitialize(): void

update

  • update(): 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