MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / GetInt2

Method GetInt2

src/engine/ConsoleObjects.cpp:477–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475 template<> float VariableImpl<int>::GetFloat() const { return (float)GetData(); }
476
477 template<> int2 VariableImpl<int2>::GetInt2() const { return GetData(); }
478 template<> int3 VariableImpl<int3>::GetInt3() const { return GetData(); }
479
480 template<> bool VariableImpl<float>::GetBool() const { return GetData() != 0.f; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected