Updated glsl-optimizer.

This commit is contained in:
Branimir Karadžić
2014-02-10 23:06:13 -08:00
parent e7b42f13c6
commit 557dcef3dd
1539 changed files with 53254 additions and 48891 deletions

View File

@@ -0,0 +1,17 @@
#include <node.h>
#include "shader.h"
using namespace v8;
void InitAll(Handle<Object> exports)
{
// Export constants
exports->Set(String::NewSymbol("VERTEX_SHADER"), Int32::New(kGlslOptShaderVertex), ReadOnly);
exports->Set(String::NewSymbol("FRAGMENT_SHADER"), Int32::New(kGlslOptShaderFragment), ReadOnly);
// Export classes
Compiler::Init(exports);
Shader::Init(exports);
}
NODE_MODULE(glslOptimizer, InitAll);