MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / GetSource

Method GetSource

ExplorerTAP/effects/CompositeEffect.cpp:68–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68HRESULT CompositeEffect::GetSource(UINT index, awge::IGraphicsEffectSource** source) noexcept try
69{
70 if (source == nullptr) [[unlikely]]
71 {
72 return E_INVALIDARG;
73 }
74
75 winrt::copy_to_abi(Sources.at(index), *reinterpret_cast<void**>(source));
76 return S_OK;
77}
78catch (...)
79{
80 return winrt::to_hresult();
81}
82
83HRESULT CompositeEffect::GetSourceCount(UINT* count) noexcept
84{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected