Class

io.scalajs.dom.html.pixijs

WebGLRendererOptions

Related Doc: package pixijs

Permalink

class WebGLRendererOptions extends Object

WebGL Renderer Options

Annotations
@RawJSType() @ScalaJSDefined()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WebGLRendererOptions
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WebGLRendererOptions(view: UndefOr[HTMLCanvasElement] = js.undefined, transparent: UndefOr[Boolean] = js.undefined, autoResize: UndefOr[Boolean] = js.undefined, antialias: UndefOr[Boolean] = js.undefined, forceFXAA: UndefOr[Boolean] = js.undefined, resolution: UndefOr[Resolution] = js.undefined, clearBeforeRender: UndefOr[Boolean] = js.undefined, preserveDrawingBuffer: UndefOr[Boolean] = js.undefined)

    Permalink

    view

    the canvas to use as a view, optional

    transparent

    If the render view is transparent, default false

    autoResize

    If the render view is automatically resized, default false

    antialias

    sets antialias. If not available natively then FXAA antialiasing is used

    forceFXAA

    forces FXAA antialiasing to be used over native. FXAA is faster, but may not always lok as great

    resolution

    the resolution of the renderer retina would be 2

    clearBeforeRender

    This sets if the CanvasRenderer will clear the canvas or not before the new render pass. If you wish to set this to false, you must set preserveDrawingBuffer to true.

    preserveDrawingBuffer

    enables drawing buffer preservation, enable this if you need to call toDataUrl on the webgl context.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. var antialias: UndefOr[Boolean]

    Permalink

    sets antialias.

    sets antialias. If not available natively then FXAA antialiasing is used

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. var autoResize: UndefOr[Boolean]

    Permalink

    If the render view is automatically resized, default false

  7. var clearBeforeRender: UndefOr[Boolean]

    Permalink

    This sets if the CanvasRenderer will clear the canvas or not before the new render pass.

    This sets if the CanvasRenderer will clear the canvas or not before the new render pass. If you wish to set this to false, you must set preserveDrawingBuffer to true.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. var forceFXAA: UndefOr[Boolean]

    Permalink

    forces FXAA antialiasing to be used over native.

    forces FXAA antialiasing to be used over native. FXAA is faster, but may not always lok as great

  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. var preserveDrawingBuffer: UndefOr[Boolean]

    Permalink

    enables drawing buffer preservation, enable this if you need to call toDataUrl on the webgl context.

  22. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  23. var resolution: UndefOr[Resolution]

    Permalink

    the resolution of the renderer retina would be 2

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. var transparent: UndefOr[Boolean]

    Permalink

    If the render view is transparent, default false

  28. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  29. var view: UndefOr[HTMLCanvasElement]

    Permalink

    the canvas to use as a view, optional

  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped