HDK
|
#include "pxr/pxr.h"
#include "pxr/base/plug/api.h"
#include "pxr/base/js/types.h"
#include "pxr/base/tf/declarePtrs.h"
#include "pxr/base/tf/weakBase.h"
#include <atomic>
#include <string>
#include <utility>
#include <vector>
Go to the source code of this file.
Classes | |
class | PlugPlugin |
Functions | |
PXR_NAMESPACE_OPEN_SCOPE | TF_DECLARE_WEAK_PTRS (PlugPlugin) |
PLUG_API std::string | PlugFindPluginResource (const PlugPluginPtr &plugin, const std::string &path, bool verify=true) |
PLUG_API std::string PlugFindPluginResource | ( | const PlugPluginPtr & | plugin, |
const std::string & | path, | ||
bool | verify = true |
||
) |
Find a plugin's resource by absolute or relative path optionally verifying that file exists. If plugin
is NULL
or verification fails an empty path is returned. Relative paths are relative to the plugin's resource path.
PXR_NAMESPACE_OPEN_SCOPE TF_DECLARE_WEAK_PTRS | ( | PlugPlugin | ) |