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

Method get_uniform_value_int

source/runtime_api.cpp:364–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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))
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}
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))

Callers 1

on_set_uniform_valueFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected