@bartkus/glsl-loader
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

glsl-loader

Webpack GLSL loader allows you to import glsl files as raw text for WebGL

Example

This would import the raw text from "dots/vs.glsl" as a variable called "vs".

import vs from './dots/vs.glsl';

Readme

Keywords

Package Sidebar

Install

npm i @bartkus/glsl-loader

Weekly Downloads

0

Version

1.0.2

License

BSD-3-Clause

Unpacked Size

2.55 kB

Total Files

5

Last publish

Collaborators

  • bartkus