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

Version Path
rays-0.1.28 src/shader.h
rays-0.1.27 src/shader.h
rays-0.1.26 src/shader.h
rays-0.1.25 src/shader.h
rays-0.1.24 src/shader.h
rays-0.1.23 src/shader.h
rays-0.1.22 src/shader.h
rays-0.1.21 src/shader.h
rays-0.1.20 src/shader.h
rays-0.1.19 src/shader.h
rays-0.1.18 src/shader.h
rays-0.1.17 src/shader.h
rays-0.1.16 src/shader.h
rays-0.1.15 src/shader.h
rays-0.1.14 src/shader.h
rays-0.1.13 src/shader.h