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

Method set_uniform_value_float

source/runtime_api.cpp:395–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393 set_uniform_value(*variable, values, count, array_index);
394}
395void reshade::runtime::set_uniform_value_float(api::effect_uniform_variable handle, const float *values, size_t count, size_t array_index)
396{
397 const auto variable = reinterpret_cast<uniform *>(handle.handle);
398 if (variable == nullptr)
399 return;
400
401 set_uniform_value(*variable, values, count, array_index);
402}
403void reshade::runtime::set_uniform_value_int(api::effect_uniform_variable handle, const int32_t *values, size_t count, size_t array_index)
404{
405 const auto variable = reinterpret_cast<uniform *>(handle.handle);

Callers 3

draw_history_windowFunction · 0.45
update_uniform_variablesFunction · 0.45

Calls 1

set_uniform_valueFunction · 0.85

Tested by

no test coverage detected