MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / beginFrame

Function beginFrame

Source/Falcor/Utils/Sampling/SampleGenerator.h:87–87  ·  view source on GitHub ↗

* Begin a frame. * This should be called at the beginning of each frame for samplers that do extra setup for each frame. * @param[in] pRenderContext Render context. * @param[in] frameDim Current frame dimension. * @return Returns true if internal state has changed and bindShaderData() should be called before using the sampler. */

Source from the content-addressed store, hash-verified

85 * @return Returns true if internal state has changed and bindShaderData() should be called before using the sampler.
86 */
87 virtual bool beginFrame(RenderContext* pRenderContext, const uint2& frameDim) { return false; }
88
89 /**
90 * End a frame.

Callers 3

executeMethod · 0.85
executeMethod · 0.85
onFrameRenderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected