MaterialX 1.39.1
Loading...
Searching...
No Matches
XmlWriteOptions Class Reference

A set of options for controlling the behavior of XML write functions. More...

#include <XmlIo.h>

Public Attributes

bool writeXIncludeEnable
 If true, elements with source file markings will be written as XIncludes rather than explicit data. More...
 
ElementPredicate elementPredicate
 If provided, this function will be used to exclude specific elements (those returning false) from the write operation. More...
 

Detailed Description

A set of options for controlling the behavior of XML write functions.

Member Data Documentation

◆ elementPredicate

ElementPredicate elementPredicate

If provided, this function will be used to exclude specific elements (those returning false) from the write operation.

Defaults to nullptr.

◆ writeXIncludeEnable

bool writeXIncludeEnable

If true, elements with source file markings will be written as XIncludes rather than explicit data.

Defaults to true.


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