MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetHash

Function GetHash

Source/Engine/Graphics/Shaders/GPUVertexLayout.cpp:34–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32};
33
34uint32 GetHash(const VertexBufferLayouts& key)
35{
36 uint32 hash = GetHash(key.Layouts[0]);
37 for (int32 i = 1; i < GPU_MAX_VB_BINDED; i++)
38 CombineHash(hash, GetHash(key.Layouts[i]));
39 return hash;
40}
41
42namespace
43{

Callers 2

HashPermutationFunction · 0.70
GetMethod · 0.70

Calls 1

CombineHashFunction · 0.85

Tested by

no test coverage detected