MCPcopy Create free account
hub / github.com/OpenPathGuidingLibrary/openpgl / Buffers

Function Buffers

openpgl/imagespace/ImageSpaceGuidingBuffer.h:35–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 struct Buffers
34 {
35 Buffers(pgl_point2i resolution) : numPixels(resolution.x * resolution.y)
36 {
37 contribution = new pgl_vec3f[numPixels];
38 secondMoment = new pgl_vec3f[numPixels];
39
40 albedo = new pgl_vec3f[numPixels];
41 normal = new pgl_vec3f[numPixels];
42 spp = new float[numPixels];
43
44 filteredContribution = new pgl_vec3f[numPixels];
45 filteredSecondMoment = new pgl_vec3f[numPixels];
46 }
47
48 Buffers(const Buffers &buffer) = delete;
49

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected