jstimpfle / glsl-processor Goto Github PK
View Code? Open in Web Editor NEWParse and preprocess glsl files
Parse and preprocess glsl files
Glsl-processor is a tool to inspect GLSL shaders. Its intended use is as part of build setups, to generate interfaces to the shaders. Glsl-processor can increase developer productivity because it enables automation of the tedious process of compiling, linking, and using shaders. Enough information is provided to allow writing wrappers that set uniforms and attribute pointers in a type-safe way. There is also is some experimental ode for handling of #include directives. Glsl-processor is written in pure C and weighs about 2000 lines. Only dependency is a C99 compiler and a libc. Building -------- Typical use will be that you write a custom C program that links against the glsl-processor code. You can either build glsl-processor as a static library, using the provided Makefile / .vcxproj file. Or, you can just add all the files under src/ to your program and build everything at once. If you use your own method, just make sure to build the glsl-processor code as C99, and make sure to add the include/ directory to the list of include directories. For an example of a program that uses glsl-processor, look at example.c. You can compile it using "make example" (Linux) or by compiling the glsl-processor-example project that is included in the .sln (Windows). Or again, just compile and link all of example.c and src/*. Once you compiled the example, you can run it and look at the output produced in the autogenerated/ directory.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.