Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RenderContext

The object passed as a parameter to every call to setup and render the external renderer.

Read more...

Hierarchy

  • Object
    • RenderContext

Index

Properties

camera

camera: RenderCamera

The camera used to render the current frame.

Read more...

constructor

constructor: Function

The initial value of Object.prototype.constructor is the standard built-in Object constructor.

gl

gl: WebGLRenderingContext

The WebGL rendering context.

Read more...

sunLight

sunLight: SunLight

The lighting used by SceneView to render the current frame.

Read more...

Methods

bindRenderTarget

  • bindRenderTarget(): void
  • Binds the color and depth buffers an external renderer is supposed to render into.

    Read more...

    Returns void

hasOwnProperty

  • hasOwnProperty(v: PropertyKey): boolean
  • Determines whether an object has a property with the specified name.

    Parameters

    • v: PropertyKey

      A property name.

    Returns boolean

isPrototypeOf

  • isPrototypeOf(v: Object): boolean
  • Determines whether an object exists in another object's prototype chain.

    Parameters

    • v: Object

      Another object whose prototype chain is to be checked.

    Returns boolean

propertyIsEnumerable

  • propertyIsEnumerable(v: PropertyKey): boolean
  • Determines whether a specified property is enumerable.

    Parameters

    • v: PropertyKey

      A property name.

    Returns boolean

resetWebGLState

  • resetWebGLState(): void
  • A convenience function provided to completely reset the WebGL state after using it.

    Read more...

    Returns void

toLocaleString

  • toLocaleString(): string
  • Returns a date converted to a string using the current locale.

    Returns string

toString

  • toString(): string
  • Returns a string representation of an object.

    Returns string

valueOf

  • valueOf(): Object
  • Returns the primitive value of the specified object.

    Returns Object

Generated using TypeDoc