MCPcopy Create free account
hub / github.com/crosire/reshade / AddRef

Method AddRef

source/d3d12/d3d12_command_queue.cpp:111–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 return _orig->QueryInterface(riid, ppvObj);
110}
111ULONG STDMETHODCALLTYPE D3D12CommandQueue::AddRef()
112{
113 _orig->AddRef();
114 return InterlockedIncrement(&_ref);
115}
116ULONG STDMETHODCALLTYPE D3D12CommandQueue::Release()
117{
118 const ULONG ref = InterlockedDecrement(&_ref);

Callers 2

D3D12CommandQueueMethod · 0.45
QueryInterfaceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected