MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / GetSamplesForType

Method GetSamplesForType

BakingLab/PathTracer.h:142–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140 }
141
142 Float2* GetSamplesForType(uint64 pixelIdx, uint64 typeIdx)
143 {
144 const uint64 startIdx = ArrayIndex(pixelIdx, typeIdx, 0);
145 return &Samples[startIdx];
146 }
147
148 const Float2* GetSamplesForType(uint64 pixelIdx, uint64 typeIdx) const
149 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected