Sha256: 32e7f4f4bac21017a11e5b2fc5eab6ec20c159fce25cb39edbc2916abe1227c2
Contents?: true
Size: 869 Bytes
Versions: 16
Compression:
Stored size: 869 Bytes
Contents
// -*- c++ -*- #pragma once #ifndef __RAYS_SRC_SHADER_H__ #define __RAYS_SRC_SHADER_H__ #include <rays/shader.h> namespace Rays { #define ATTRIB_POSITION "a_Position" #define VARYING_POSITION "v_Position" #define UNIFORM_POSITION_MATRIX "u_PositionMatrix" #define ATTRIB_TEXCOORD "a_TexCoord" #define VARYING_TEXCOORD "v_TexCoord" #define UNIFORM_TEXCOORD_MIN "u_TexCoordMin" #define UNIFORM_TEXCOORD_MAX "u_TexCoordMax" #define UNIFORM_TEXCOORD_MATRIX "u_TexCoordMatrix" #define ATTRIB_COLOR "a_Color" #define VARYING_COLOR "v_Color" //#define UNIFORM_COLOR_MATRIX "u_ColorMatrix" #define UNIFORM_TEXTURE "u_Texture" #define UNIFORM_TEXTURE_SIZE "u_TextureSize" class ShaderProgram; const ShaderProgram* Shader_get_program (const Shader& shader); }// Rays #endif//EOH
Version data entries
16 entries across 16 versions & 1 rubygems