glsl-resolve

WebJar for glsl-resolve

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

glsl-resolve
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

glsl-resolve
WebJar for glsl-resolve
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/hughsk/glsl-resolve

Download glsl-resolve

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.npm : resolve jar [0.6.1,0.7)
org.webjars.npm : xtend jar [2.1.2,3)

Project Modules

There are no modules declared in this project.

glsl-resolve Flattr this!experimental

A wrapper for the resolve module that targets GLSL shaders instead of JavaScript.

Usage

glsl-resolve

The API is equivalent to resolve for both resolve.async and resolve.sync, with the following exceptions:

  • Node's core modules are excluded.

  • The "main" file for a module is looked for first in a package.json's glslify property, then if main isn't a JavaScript file it'll look there too. Otherwise, it will default to trying index.glsl.

  • Listed in order of priority, the following extensions are resolved instead of .js and .json:

    • .glsl
    • .vert
    • .frag
    • .geom
    • .vs
    • .fs
    • .gs
    • .vsh
    • .fsh
    • .gsh
    • .vshader
    • .fshader
    • .gshader

License

MIT. See LICENSE.md for details.

Versions

Version
0.0.1