Sha256: ad79130f111f2f323ffea6a4275f917c182c045a3dd8f119e76343eda8f99b62
Contents?: true
Size: 2 KB
Versions: 8
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
8 entries across 8 versions & 1 rubygems