MobileRT
1.0
A multi platform C++ CPU progressive Ray Tracer.
|
Functions | |
void | resetIdCounter () |
::std::uint64_t | generateId () |
::std::uint64_t | getCurrentId () |
Variables | |
::std::atomic<::std::uint64_t > | counter {} |
::std::uint64_t anonymous_namespace{Ray.cpp}::generateId | ( | ) |
A helper method that generates an id by using a counter.
::std::uint64_t anonymous_namespace{Ray.cpp}::getCurrentId | ( | ) |
Helper method that gets the current id generated.
void anonymous_namespace{Ray.cpp}::resetIdCounter | ( | ) |
A helper method that resets the Ray id generator counter.
::std::atomic<::std::uint64_t> anonymous_namespace{Ray.cpp}::counter {} |
An atomic counter to generate Ray ids.