Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GPUOpen-Effects/GeometryFX
/ TestFlag
Function
TestFlag
amd_geometryfx_sample/src/GeometryFX_Sample.cpp:155–158 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
153
}
154
155
template <typename U, typename T> bool TestFlag(const U m, T i)
156
{
157
return (m & static_cast<U>(i)) == static_cast<U>(i);
158
}
159
160
template <typename U, typename T> U SetOrClearFlag(U &m, const T i, const bool set)
161
{
Callers
1
InitApp
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected