MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / InternalRelease

Method InternalRelease

Source/Engine/Platform/Windows/ComPtr.h:71–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 }
70
71 unsigned long InternalRelease()
72 {
73 unsigned long ref = 0;
74 T* temp = ptr_;
75
76 if (temp != nullptr)
77 {
78 ptr_ = nullptr;
79 ref = temp->Release();
80 }
81
82 return ref;
83 }
84
85public:
86

Callers

nothing calls this directly

Calls 1

ReleaseMethod · 0.45

Tested by

no test coverage detected