Cached uniform locations for a single compiled shader program. More...
Public Attributes | |
| GLint | alpha_b_loc = -1 |
| GLint | alpha_g_loc = -1 |
| GLint | alpha_r_loc = -1 |
| GLint | alpha_value = -1 |
| GLint | amp = -1 |
| GLint | amp_high = -1 |
| GLint | amp_low = -1 |
| GLint | amp_mid = -1 |
| GLint | amp_peak = -1 |
| GLint | amp_rms = -1 |
| GLint | amp_smooth = -1 |
| GLint | amp_untouched = -1 |
| GLint | compute_work_group_size [3] = {1, 1, 1} |
| std::vector< GLint > | custom_uniform_locs |
| GLint | history_head_loc = -1 |
| Location of the array ring's oldest physical layer. | |
| GLint | history_loc = -1 |
| Location of optional uniform sampler2DArray history;. | |
| GLint | iamp = -1 |
| GLint | iChannelResolution [4] = {-1, -1, -1, -1} |
| GLint | iChannelTime [4] = {-1, -1, -1, -1} |
| GLint | iDate = -1 |
| GLint | iFrame = -1 |
| GLint | iFrameRate = -1 |
| GLint | iMouse = -1 |
| GLint | iMouseClick = -1 |
| GLint | inc_value_loc = -1 |
| GLint | inc_valuex_loc = -1 |
| GLint | index_value = -1 |
| GLint | iResolution = -1 |
| GLint | iSampleRate = -1 |
| GLint | iTime = -1 |
| GLint | iTimeDelta = -1 |
| GLint | loc = -1 |
| std::string | name |
| GLint | optx_loc = -1 |
| GLint | random_var_loc = -1 |
| GLint | restore_black_loc = -1 |
| GLint | slider_loc [4] = {-1, -1, -1, -1} |
| Locations of optional uniform float slider1..slider4;. | |
| GLint | spectrum_history_head_loc = -1 |
| Newest physical array layer. | |
| GLint | spectrum_history_loc = -1 |
| sampler1DArray spectrum_history. | |
| GLint | spectrum_history_size_loc = -1 |
| Runtime array depth. | |
| GLint | spectrum_loc = -1 |
| Live sampler1D spectrum. | |
| GLint | spectrum_zero_loc = -1 |
| Current-frame spectrum0 alias. | |
| GLint | texture_array_base_loc = -1 |
| Base location of textures[0] for bulk glUniform1iv assignment. | |
| std::vector< GLint > | texture_array_loc |
| GLint | texture_cache_loc [8] = {-1, -1, -1, -1, -1, -1, -1, -1} |
| GLint | time_f = -1 |
| GLint | time_speed_loc = -1 |
| GLint | value_alpha_b = -1 |
| GLint | value_alpha_g = -1 |
| GLint | value_alpha_r = -1 |
Cached uniform locations for a single compiled shader program.
Querying glGetUniformLocation every frame is expensive; this struct stores all locations once at compile time.
Definition at line 3107 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::alpha_b_loc = -1 |
Definition at line 3142 of file ACMX2/acmx.cpp.
Referenced by ShaderLibrary::uploadAcidCamUniforms().
| GLint ShaderLibrary::ProgramData::alpha_g_loc = -1 |
Definition at line 3142 of file ACMX2/acmx.cpp.
Referenced by ShaderLibrary::uploadAcidCamUniforms().
| GLint ShaderLibrary::ProgramData::alpha_r_loc = -1 |
Definition at line 3142 of file ACMX2/acmx.cpp.
Referenced by ShaderLibrary::uploadAcidCamUniforms().
| GLint ShaderLibrary::ProgramData::alpha_value = -1 |
Definition at line 3143 of file ACMX2/acmx.cpp.
Referenced by ShaderLibrary::uploadAcidCamUniforms().
| GLint ShaderLibrary::ProgramData::amp = -1 |
Definition at line 3112 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::amp_high = -1 |
Definition at line 3115 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::amp_low = -1 |
Definition at line 3115 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::amp_mid = -1 |
Definition at line 3115 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::amp_peak = -1 |
Definition at line 3114 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::amp_rms = -1 |
Definition at line 3114 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::amp_smooth = -1 |
Definition at line 3114 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::amp_untouched = -1 |
Definition at line 3112 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::compute_work_group_size[3] = {1, 1, 1} |
Definition at line 3109 of file ACMX2/acmx.cpp.
Referenced by ShaderLibrary::dispatchCompute2D().
| std::vector<GLint> ShaderLibrary::ProgramData::custom_uniform_locs |
Definition at line 3151 of file ACMX2/acmx.cpp.
Referenced by ShaderLibrary::uploadCustomUniforms().
| GLint ShaderLibrary::ProgramData::history_head_loc = -1 |
Location of the array ring's oldest physical layer.
Definition at line 3131 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::history_loc = -1 |
Location of optional uniform sampler2DArray history;.
Definition at line 3130 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::iamp = -1 |
Definition at line 3113 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::iChannelResolution[4] = {-1, -1, -1, -1} |
Definition at line 3136 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::iChannelTime[4] = {-1, -1, -1, -1} |
Definition at line 3135 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::iDate = -1 |
Definition at line 3134 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::iFrame = -1 |
Definition at line 3132 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::iFrameRate = -1 |
Definition at line 3138 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::iMouse = -1 |
Definition at line 3110 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::iMouseClick = -1 |
Definition at line 3139 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::inc_value_loc = -1 |
Definition at line 3148 of file ACMX2/acmx.cpp.
Referenced by ShaderLibrary::uploadAcidCamUniforms().
| GLint ShaderLibrary::ProgramData::inc_valuex_loc = -1 |
Definition at line 3149 of file ACMX2/acmx.cpp.
Referenced by ShaderLibrary::uploadAcidCamUniforms().
| GLint ShaderLibrary::ProgramData::index_value = -1 |
Definition at line 3144 of file ACMX2/acmx.cpp.
Referenced by ShaderLibrary::uploadAcidCamUniforms().
| GLint ShaderLibrary::ProgramData::iResolution = -1 |
Definition at line 3110 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::iSampleRate = -1 |
Definition at line 3137 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::iTime = -1 |
Definition at line 3110 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::iTimeDelta = -1 |
Definition at line 3133 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::loc = -1 |
Definition at line 3110 of file ACMX2/acmx.cpp.
| std::string ShaderLibrary::ProgramData::name |
Definition at line 3108 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::optx_loc = -1 |
Definition at line 3145 of file ACMX2/acmx.cpp.
Referenced by ShaderLibrary::uploadAcidCamUniforms().
| GLint ShaderLibrary::ProgramData::random_var_loc = -1 |
Definition at line 3146 of file ACMX2/acmx.cpp.
Referenced by ShaderLibrary::uploadAcidCamUniforms().
| GLint ShaderLibrary::ProgramData::restore_black_loc = -1 |
Definition at line 3147 of file ACMX2/acmx.cpp.
Referenced by ShaderLibrary::uploadAcidCamUniforms().
| GLint ShaderLibrary::ProgramData::slider_loc[4] = {-1, -1, -1, -1} |
Locations of optional uniform float slider1..slider4;.
Definition at line 3153 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::spectrum_history_head_loc = -1 |
Newest physical array layer.
Definition at line 3119 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::spectrum_history_loc = -1 |
sampler1DArray spectrum_history.
Definition at line 3118 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::spectrum_history_size_loc = -1 |
Runtime array depth.
Definition at line 3120 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::spectrum_loc = -1 |
Live sampler1D spectrum.
Definition at line 3116 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::spectrum_zero_loc = -1 |
Current-frame spectrum0 alias.
Definition at line 3117 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::texture_array_base_loc = -1 |
Base location of textures[0] for bulk glUniform1iv assignment.
Definition at line 3129 of file ACMX2/acmx.cpp.
| std::vector<GLint> ShaderLibrary::ProgramData::texture_array_loc |
Definition at line 3128 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::texture_cache_loc[8] = {-1, -1, -1, -1, -1, -1, -1, -1} |
Definition at line 3122 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::time_f = -1 |
Definition at line 3110 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::time_speed_loc = -1 |
Definition at line 3150 of file ACMX2/acmx.cpp.
| GLint ShaderLibrary::ProgramData::value_alpha_b = -1 |
Definition at line 3141 of file ACMX2/acmx.cpp.
Referenced by ShaderLibrary::uploadAcidCamUniforms().
| GLint ShaderLibrary::ProgramData::value_alpha_g = -1 |
Definition at line 3141 of file ACMX2/acmx.cpp.
Referenced by ShaderLibrary::uploadAcidCamUniforms().
| GLint ShaderLibrary::ProgramData::value_alpha_r = -1 |
Definition at line 3141 of file ACMX2/acmx.cpp.
Referenced by ShaderLibrary::uploadAcidCamUniforms().