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: Camera | undefined

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: Texture2D | TextureCube | undefined

Protected _environmentTexture2

_environmentTexture2: Texture2D | undefined

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

Accessors

camera

  • set camera(camera: Camera): void

environmentTexture

environmentTexture2

  • set environmentTexture2(texture: Texture2D): void

environmentTextureType

initialized

  • get initialized(): boolean

skipCubeLod

  • set skipCubeLod(skip: boolean): void

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(): void

initialize

  • initialize(): boolean

uninitialize

  • uninitialize(): void

update

  • update(): void

Static Protected Readonly assertInitializedFalse

Static Protected Readonly assertUninitializedFalse

Static assert_initialized

Static assert_uninitialized

Static discard

  • 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

  • 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