MaterialX  1.36.1
Public Attributes | List of all members
MaterialX::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 MaterialX::XmlWriteOptions::elementPredicate

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

Defaults to nullptr.

◆ writeXIncludeEnable

bool MaterialX::XmlWriteOptions::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 files: