| 351 | values[i] = false; |
| 352 | } |
| 353 | void reshade::runtime::get_uniform_value_float(api::effect_uniform_variable handle, float *values, size_t count, size_t array_index) const |
| 354 | { |
| 355 | if (const auto variable = reinterpret_cast<const uniform *>(handle.handle)) |
| 356 | { |
| 357 | get_uniform_value(*variable, values, count, array_index); |
| 358 | return; |
| 359 | } |
| 360 | |
| 361 | for (size_t i = 0; i < count; ++i) |
| 362 | values[i] = 0.0f; |
| 363 | } |
| 364 | void reshade::runtime::get_uniform_value_int(api::effect_uniform_variable handle, int32_t *values, size_t count, size_t array_index) const |
| 365 | { |
| 366 | if (const auto variable = reinterpret_cast<const uniform *>(handle.handle)) |
no outgoing calls
no test coverage detected