Blender V5.0
blender::compositor::FileOutput Class Reference

#include <COM_render_context.hh>

Public Member Functions

 FileOutput (const std::string &path, const ImageFormatData &format, int2 size, bool save_as_render)
 ~FileOutput ()
void add_view (const char *view_name)
void add_view (const char *view_name, int channels, float *buffer)
void add_pass (const char *pass_name, const char *view_name, const char *channels, float *buffer)
void add_meta_data (std::string key, std::string value)
void save (Scene *scene)

Detailed Description

Definition at line 41 of file COM_render_context.hh.

Constructor & Destructor Documentation

◆ FileOutput()

blender::compositor::FileOutput::FileOutput ( const std::string & path,
const ImageFormatData & format,
int2 size,
bool save_as_render )

◆ ~FileOutput()

blender::compositor::FileOutput::~FileOutput ( )

Definition at line 70 of file render_context.cc.

References RE_FreeRenderResult().

Member Function Documentation

◆ add_meta_data()

void blender::compositor::FileOutput::add_meta_data ( std::string key,
std::string value )

◆ add_pass()

◆ add_view() [1/2]

◆ add_view() [2/2]

void blender::compositor::FileOutput::add_view ( const char * view_name,
int channels,
float * buffer )

◆ save()


The documentation for this class was generated from the following files: