HDK
|
#include "pxr/pxr.h"
#include "pxr/usdImaging/bin/usdBakeMtlx/api.h"
#include "pxr/imaging/hd/material.h"
#include "pxr/usd/usdShade/material.h"
#include <MaterialXCore/Library.h>
#include "pxr/base/tf/declarePtrs.h"
#include <string>
Go to the source code of this file.
Typedefs | |
using | FilePathVec = std::vector< class FilePath > |
Functions | |
MATERIALX_NAMESPACE_END PXR_NAMESPACE_OPEN_SCOPE | TF_DECLARE_WEAK_AND_REF_PTRS (UsdStage) |
USDBAKEMTLX_API UsdStageRefPtr | UsdBakeMtlxReadDocToStage (std::string const &pathname, UsdStageRefPtr stage) |
USDBAKEMTLX_API std::string | UsdBakeMtlxBakeMaterial (UsdShadeMaterial const &mtlxMaterial, std::string const &bakedMtlxDir, int textureWidth, int textureHeight, bool bakeHdr, bool bakeAverage) |
using FilePathVec = std::vector<class FilePath> |
Definition at line 40 of file bakeMaterialX.h.
MATERIALX_NAMESPACE_END PXR_NAMESPACE_OPEN_SCOPE TF_DECLARE_WEAK_AND_REF_PTRS | ( | UsdStage | ) |
USDBAKEMTLX_API std::string UsdBakeMtlxBakeMaterial | ( | UsdShadeMaterial const & | mtlxMaterial, |
std::string const & | bakedMtlxDir, | ||
int | textureWidth, | ||
int | textureHeight, | ||
bool | bakeHdr, | ||
bool | bakeAverage | ||
) |
USDBAKEMTLX_API UsdStageRefPtr UsdBakeMtlxReadDocToStage | ( | std::string const & | pathname, |
UsdStageRefPtr | stage | ||
) |
Read the MaterialX XML file at pathname
convert and add to the given USD stage
.