ImageReference Struct Reference

#include <materialparameter.h>

Detailed Description

Defines a reference to an image file to represent a material parameter.

Public Member Functions

Bool IsPopulated () const
 

Public Attributes

Url _absolutePath
 

Member Function Documentation

◆ IsPopulated()

Bool IsPopulated ( ) const

Checks whether an absolute path has been assigned to the image reference.

Returns
True if the absolute path is populated.

Member Data Documentation

◆ _absolutePath

Url _absolutePath

The absolute path to an image file. An absolute path allows us to interpret this image reference without knowing about the embedding into a particular BaseDocument. A relative path can be constructed with respect to the BaseDocument::GetDocumentPath().