Object

io.scalajs.dom.html.pixijs

PIXI

Related Doc: package pixijs

Permalink

object PIXI extends Object

Pixi.js — A 2D JavaScript Renderer

The aim of this project is to provide a fast lightweight 2D library that works across all devices. The Pixi renderer allows everyone to enjoy the power of hardware acceleration without prior knowledge of WebGL. Also, it's fast. Really fast.

If you want to keep up to date with the latest pixi.js news then feel free to follow us on twitter (@doormat23, and @rolnaaba) and we will keep you posted! You can also check back on our site as any breakthroughs will be posted up there too!

Annotations
@native() @JSName( "PIXI" )
Version

3.0

See also

http://pixijs.github.io/docs

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PIXI
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type DisplayObject = pixijs.DisplayObject

    Permalink
  2. type DisplayObjectContainer = pixijs.DisplayObjectContainer

    Permalink
  3. type Matrix = pixijs.Matrix

    Permalink
  4. type Texture = pixijs.Texture

    Permalink

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. object BLEND_MODES extends Object

    Permalink

    Various blend modes supported by PIXI.

    Various blend modes supported by PIXI. IMPORTANT - The WebGL renderer only supports the NORMAL, ADD, MULTIPLY and SCREEN blend modes. Anything else will silently act like NORMAL.

    Annotations
    @native() @JSName( "BLEND_MODES" )
  5. object DEFAULT_RENDER_OPTIONS extends Object

    Permalink

    The default render options if none are supplied to PIXI.WebGLRenderer or PIXI.CanvasRenderer.

    The default render options if none are supplied to PIXI.WebGLRenderer or PIXI.CanvasRenderer.

    Annotations
    @native() @JSName( "DEFAULT_RENDER_OPTIONS" )
    See also

    http://pixijs.github.io/docs/PIXI.html#.RENDERER_TYPE

  6. object DRAW_MODES extends Object

    Permalink

    Various webgl draw modes.

    Various webgl draw modes. These can be used to specify which GL drawMode to use under certain situations and renderers.

    Annotations
    @native() @JSName( "DRAW_MODES" )
  7. val PI_2: Double

    Permalink

    Constant: Two Pi

  8. val RAD_TO_DEG: Double

    Permalink

    Constant conversion factor for converting radians to degrees.

  9. object RENDERER_TYPE extends Object

    Permalink

    Constant to identify the Renderer Type.

    Constant to identify the Renderer Type.

    Annotations
    @native() @JSName( "RENDERER_TYPE" )
  10. val RETINA_PREFIX: String

    Permalink

    The prefix that denotes a URL is for a retina asset.

  11. object SCALE_MODES extends Object

    Permalink

    The scale modes that are supported by pixi.

    The scale modes that are supported by pixi. The DEFAULT scale mode affects the default scaling mode of future operations. It can be re-assigned to either LINEAR or NEAREST, depending upon suitability.

    Annotations
    @native() @JSName( "SCALE_MODES" )
  12. object SHAPES extends Object

    Permalink

    Constants that identify shapes, mainly to prevent instanceof calls.

    Constants that identify shapes, mainly to prevent instanceof calls.

    Annotations
    @native() @JSName( "SHAPES" )
  13. val TARGET_FPMS: Double

    Permalink

    Target frames per millisecond.

  14. val VERSION: String

    Permalink

    String of the current PIXI version

  15. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  16. def autoDetectRenderer(width: Double = js.native, height: Double = js.native, options: |[AutoDetectRendererOptions, RawOptions] = js.native, noWebGL: Boolean = js.native): AbstractRenderer

    Permalink

    This helper function will automatically detect which renderer you should be using.

    This helper function will automatically detect which renderer you should be using. WebGL is the preferred renderer as it is a lot faster. If webGL is not supported by the browser then this function will return a canvas renderer.

    width

    the width of the renderers view

    height

    the height of the renderers view

    options

    The optional renderer parameters

    noWebGL

    prevents selection of WebGL renderer, even if such is present

    returns

    WebGL renderer if available, otherwise CanvasRenderer

  17. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. object filters extends Object

    Permalink

    Filter implementations

    Filter implementations

    Annotations
    @native() @JSName( "filters" )
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

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

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

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

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

    Permalink
    Definition Classes
    Object
  27. var loader: Loader

    Permalink

    A pre-made instance of the loader that can be used to loader resources.

  28. object loaders extends Object

    Permalink

    PIXI.loaders object

    PIXI.loaders object

    Annotations
    @native() @JSName( "loaders" )
  29. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  32. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. object tickers extends Object

    Permalink
    Annotations
    @native() @JSName( "tickers" )
  35. def toLocaleString(): String

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

    Permalink
    Definition Classes
    AnyRef → Any
  37. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  38. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. 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