MCPcopy Create free account
hub / github.com/crosire/reshade / get_uniform_value_float

Method get_uniform_value_float

source/runtime_api.cpp:353–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351 values[i] = false;
352}
353void 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}
364void 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))

Callers 1

on_set_uniform_valueFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected