pixi-gl-core

WebJar for pixi-gl-core

License

License

MIT
Categories

Categories

JavaScript Languages Github Development Tools Version Controls
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

github-com-pixijs-pixi-gl-core
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

pixi-gl-core
WebJar for pixi-gl-core
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/pixijs/pixi-gl-core

Download github-com-pixijs-pixi-gl-core

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/github-com-pixijs-pixi-gl-core/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>github-com-pixijs-pixi-gl-core</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-pixijs-pixi-gl-core/
implementation 'org.webjars.npm:github-com-pixijs-pixi-gl-core:1.0.2'
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-pixijs-pixi-gl-core/
implementation ("org.webjars.npm:github-com-pixijs-pixi-gl-core:1.0.2")
'org.webjars.npm:github-com-pixijs-pixi-gl-core:jar:1.0.2'
<dependency org="org.webjars.npm" name="github-com-pixijs-pixi-gl-core" rev="1.0.2">
  <artifact name="github-com-pixijs-pixi-gl-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='github-com-pixijs-pixi-gl-core', version='1.0.2')
)
libraryDependencies += "org.webjars.npm" % "github-com-pixijs-pixi-gl-core" % "1.0.2"
[org.webjars.npm/github-com-pixijs-pixi-gl-core "1.0.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

PIXI GL Core

Build Status

A set of tidy little pixi objects that make working with WebGL simpler.

They are used under the hood in Pixi v4. They should also give more users the ability to do more advanced stuff with WebGL in v4 too.

See the components in action here.

Installing

Installing using NPM:

npm install pixi-gl-core --save

Usage

Including using Node:

var gl = require('pixi-gl-core');

Including in the Browser:

<canvas id="stage"></canvas>
<script src="node_modules/pixi-gl-core/bin/pixi-gl-core.min.js"></script>
<script>
    try 
    {
        var context = pixi.gl.createContext(document.getElementById('stage'));
    }
    catch(e)
    {
        console.error("Unable to create WebGL context");
    }
</script>

Rebuilding

After install NPM module with npm install, build using:

npm run build

To run a watch, development command.

npm run watch

To generate the documention.

npm run doc

To deploy the documention to the gh-pages branch:

npm run deploy

Documentation

The API documentation can be found here.

License

This content is released under the MIT License.

org.webjars.npm

PixiJS

Versions

Version
1.0.2