MCPcopy Create free account
hub / github.com/OpenPathGuidingLibrary/openpgl / dynamicCast

Method dynamicCast

third-party/embreeSrc/common/sys/ref.h:108–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106
107 template<typename TypeOut>
108 __forceinline Ref<TypeOut> dynamicCast() { return Ref<TypeOut>(dynamic_cast<TypeOut*>(ptr)); }
109 template<typename TypeOut>
110 __forceinline const Ref<TypeOut> dynamicCast() const { return Ref<TypeOut>(dynamic_cast<TypeOut*>(ptr)); }
111 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected