Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FlaxEngine/FlaxEngine
/ Attach
Method
Attach
Source/Engine/Platform/Windows/ComPtr.h:269–277 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
267
}
268
269
void Attach(InterfaceType* other)
270
{
271
if (ptr_ != nullptr)
272
{
273
auto ref = ptr_->Release();
274
}
275
276
ptr_ = other;
277
}
278
279
unsigned long Reset()
280
{
Callers
nothing calls this directly
Calls
1
Release
Method · 0.45
Tested by
no test coverage detected