![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | node_modules/ | 2 years ago | - | |
![]() | LICENSE.md | 2 years ago | 1.1K | 0fb859dc fixed mobile overflwo options [كارل مبارك] |
![]() | README.md | 2 years ago | 1.4K | 0fb859dc fixed mobile overflwo options [كارل مبارك] |
![]() | index.js | 2 years ago | 958 | 0fb859dc fixed mobile overflwo options [كارل مبارك] |
![]() | package.json | 2 years ago | 1.5K | 0fb859dc fixed mobile overflwo options [كارل مبارك] |
A wrapper for the resolve module that targets GLSL shaders instead of JavaScript.
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
MIT. See LICENSE.md for details.