Blender
V3.3
|
#include <obj_export_io.hh>
Public Member Functions | |
void | write_to_file (FILE *f) |
std::string | get_as_string () const |
size_t | get_block_count () const |
void | append_from (FormatHandler< filetype, buffer_chunk_size > &v) |
template<typename FileTypeTraits< filetype >::SyntaxType key, typename... T> | |
constexpr void | write (T &&...args) |
File format and syntax agnostic file buffer writer. All writes are done into an internal chunked memory buffer (list of default 64 kilobyte blocks). Call write_fo_file once in a while to write the memory buffer(s) into the given file.
Definition at line 282 of file obj_export_io.hh.
|
inline |
Definition at line 308 of file obj_export_io.hh.
References v.
Referenced by blender::io::obj::obj_parallel_chunked_output().
|
inline |
Definition at line 296 of file obj_export_io.hh.
References usdtokens::b().
Referenced by blender::io::obj::TEST().
|
inline |
Definition at line 303 of file obj_export_io.hh.
Referenced by blender::io::obj::TEST().
|
inlineconstexpr |
Example invocation: writer->write<eMTLSyntaxElement::newmtl>("foo")
.
key | Must match what the instance's filetype expects; i.e., eMTLSyntaxElement for eFileType::MTL . |
Definition at line 323 of file obj_export_io.hh.
References BLI_STATIC_ASSERT, blender::io::obj::syntax_elem_to_formatting(), and T.
Referenced by blender::io::obj::TEST(), blender::io::obj::OBJWriter::write_edges_indices(), blender::io::obj::OBJWriter::write_header(), blender::io::obj::OBJWriter::write_mtllib_name(), blender::io::obj::OBJWriter::write_nurbs_curve(), blender::io::obj::OBJWriter::write_object_name(), blender::io::obj::OBJWriter::write_poly_elements(), blender::io::obj::OBJWriter::write_poly_normals(), blender::io::obj::OBJWriter::write_uv_coords(), and blender::io::obj::OBJWriter::write_vertex_coords().
|
inline |
Definition at line 289 of file obj_export_io.hh.
References usdtokens::b().
Referenced by blender::io::obj::OBJWriter::write_header(), blender::io::obj::OBJWriter::write_mtllib_name(), and blender::io::obj::write_nurbs_curve_objects().