Sha256: 12e8cb1508ac97826bbd6efac05ed9168464106e96e951204a7ad39a2ba5a1e0
Contents?: true
Size: 2 KB
Versions: 10
Compression:
Stored size: 2 KB
Contents
// -*- c++ -*- #pragma once #ifndef __RAYS_SRC_SHADER_H__ #define __RAYS_SRC_SHADER_H__ #include "rays/shader.h" namespace Rays { class ShaderSource; class ShaderProgram; struct ShaderBuiltinVariableNames { ShaderEnv::NameList attribute_position_names; ShaderEnv::NameList attribute_texcoord_names; ShaderEnv::NameList attribute_color_names; String varying_position_name; String varying_texcoord_name; String varying_color_name; ShaderEnv::NameList uniform_position_matrix_names; ShaderEnv::NameList uniform_texcoord_matrix_names; ShaderEnv::NameList uniform_texcoord_min_names; ShaderEnv::NameList uniform_texcoord_max_names; ShaderEnv::NameList uniform_texcoord_offset_names; ShaderEnv::NameList uniform_texture_names; ShaderBuiltinVariableNames ( const ShaderEnv::NameList& attribute_position_names, const ShaderEnv::NameList& attribute_texcoord_names, const ShaderEnv::NameList& attribute_color_names, const char* varying_position_name, const char* varying_texcoord_name, const char* varying_color_name, const ShaderEnv::NameList& uniform_position_matrix_names, const ShaderEnv::NameList& uniform_texcoord_matrix_names, const ShaderEnv::NameList& uniform_texcoord_min_names, const ShaderEnv::NameList& uniform_texcoord_max_names, const ShaderEnv::NameList& uniform_texcoord_offset_names, const ShaderEnv::NameList& uniform_texture_names); };// ShaderBuiltinVariableNames const ShaderProgram* Shader_get_program (const Shader& shader); const ShaderBuiltinVariableNames& Shader_get_builtin_variable_names ( const Shader& shader); const Shader& Shader_get_default_shader_for_shape (); const Shader& Shader_get_default_shader_for_texture (); const Shader& Shader_get_shader_for_text (); const ShaderBuiltinVariableNames& ShaderEnv_get_builtin_variable_names ( const ShaderEnv& env); uint ShaderEnv_get_flags (const ShaderEnv& env); const ShaderSource& ShaderEnv_get_default_vertex_shader_source ( ShaderEnv* env); }// Rays #endif//EOH
Version data entries
10 entries across 10 versions & 1 rubygems