MCPcopy Create free account
hub / github.com/RenderKit/embree / RandomSampler_init

Function RandomSampler_init

tutorials/common/math/random_sampler.h:53–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53__forceinline void RandomSampler_init(RandomSampler& self, int id)
54{
55 unsigned int hash = 0;
56 hash = MurmurHash3_mix(hash, id);
57 hash = MurmurHash3_finalize(hash);
58
59 self.s = hash;
60}
61
62__forceinline void RandomSampler_init(RandomSampler& self, int pixelId, int sampleId)
63{

Callers 15

renderPixelStandardFunction · 0.85
addPointsFunction · 0.85
TestMethod · 0.85
runMethod · 0.85
shootRandomRaysFunction · 0.85
RegressionTaskMethod · 0.85
render_blockMethod · 0.85
renderPixelStandardFunction · 0.85
createPointsFunction · 0.85
renderPixelAOShaderFunction · 0.85
renderPixelStandardFunction · 0.85

Calls 2

MurmurHash3_mixFunction · 0.85
MurmurHash3_finalizeFunction · 0.85

Tested by 1

TestMethod · 0.68