MCPcopy Create free account
hub / github.com/dfranx/ShaderDebugger / AsInteger

Function AsInteger

src/Utils.cpp:60–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 return 0.0f;
59 }
60 int AsInteger(const bv_variable& var)
61 {
62 if (bv_type_is_integer(var.type))
63 return bv_variable_get_int(var);
64 return 0;
65 }
66 unsigned int AsUnsignedInteger(const bv_variable& var)
67 {
68 if (bv_type_is_integer(var.type))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected