MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / GetOutputFloat

Method GetOutputFloat

src/luxcore/luxcoreimpl.cpp:194–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194void FilmImpl::GetOutputFloat(const FilmOutputType type, float *buffer,
195 const unsigned int index, const bool executeImagePipeline) {
196 if (renderSession) {
197 boost::unique_lock<boost::mutex> lock(renderSession->renderSession->filmMutex);
198
199 renderSession->renderSession->film->GetOutput<float>((slg::FilmOutputs::FilmOutputType)type,
200 buffer, index, executeImagePipeline);
201 } else
202 standAloneFilm->GetOutput<float>((slg::FilmOutputs::FilmOutputType)type,
203 buffer, index, executeImagePipeline);
204}
205
206void FilmImpl::GetOutputUInt(const FilmOutputType type, unsigned int *buffer,
207 const unsigned int index, const bool executeImagePipeline) {

Callers 3

timerEventMethod · 0.80
GetOutputTestFunction · 0.80
GetImagePipelineBufferFunction · 0.80

Calls 1

GetOutput<float>Method · 0.45

Tested by

no test coverage detected