MCPcopy Create free account
hub / github.com/Illation/ETEngine / Compare

Function Compare

Engine/source/EtRendering/GraphicsTypes/ParameterBlock.cpp:116–119  ·  view source on GitHub ↗

--------------------------------- Compare Check if two parameter blocks hold the same data

Source from the content-addressed store, hash-verified

114// Check if two parameter blocks hold the same data
115//
116bool Compare(T_ConstParameterBlock const lhs, T_ConstParameterBlock const rhs, size_t const offset, E_ParamType const type)
117{
118 return (memcmp(lhs + offset, rhs + offset, GetSize(type)) == 0);
119}
120
121
122} // namespace parameters

Callers 1

UploadParameterBlockMethod · 0.85

Calls 1

GetSizeFunction · 0.85

Tested by

no test coverage detected