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

Method get_uniform_value_uint

source/runtime_api.cpp:375–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373 values[i] = 0;
374}
375void 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))
378 {
379 get_uniform_value(*variable, values, count, array_index);
380 return;
381 }
382
383 for (size_t i = 0; i < count; ++i)
384 values[i] = 0;
385}
386
387void reshade::runtime::set_uniform_value_bool(api::effect_uniform_variable handle, const bool *values, size_t count, size_t array_index)
388{

Callers 1

on_set_uniform_valueFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected