| 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)) |
| 367 | { |
| 368 | get_uniform_value(*variable, values, count, array_index); |
| 369 | return; |
| 370 | } |
| 371 | |
| 372 | for (size_t i = 0; i < count; ++i) |
| 373 | values[i] = 0; |
| 374 | } |
| 375 | void reshade::runtime::get_uniform_value_uint(api::effect_uniform_variable handle, uint32_t *values, size_t count, size_t array_index) const |
| 376 | { |
| 377 | if (const auto variable = reinterpret_cast<const uniform *>(handle.handle)) |
no outgoing calls
no test coverage detected