c

io.scalajs.dom.html.pixijs

WebGLRendererOptions

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)

    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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. var antialias: UndefOr[Boolean]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. var autoResize: UndefOr[Boolean]
  7. var clearBeforeRender: UndefOr[Boolean]
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. var forceFXAA: UndefOr[Boolean]
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. var preserveDrawingBuffer: UndefOr[Boolean]
  22. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  23. var resolution: UndefOr[Resolution]
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toLocaleString(): String
    Definition Classes
    Object
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. var transparent: UndefOr[Boolean]
  28. def valueOf(): Any
    Definition Classes
    Object
  29. var view: UndefOr[HTMLCanvasElement]
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped