24 #ifndef PXR_USD_IMAGING_USD_APP_UTILS_FRAME_RECORDER_H
25 #define PXR_USD_IMAGING_USD_APP_UTILS_FRAME_RECORDER_H
70 bool gpuEnabled =
true,
99 if (imageWidth == 0u) {
103 _imageWidth = imageWidth;
110 _complexity = complexity;
146 const UsdStagePtr& stage,
157 SdfPath _renderSettingsPrimPath;
USDIMAGINGGL_API TfToken GetCurrentRendererId() const
Return the id of the currently used renderer plugin.
bool SetRendererPlugin(const TfToken &id)
GLsizei const GLchar *const * string
USDAPPUTILS_API UsdAppUtilsFrameRecorder(const TfToken &rendererPluginId=TfToken(), bool gpuEnabled=true, const SdfPath &renderSettingsPrimPath=SdfPath())
USDAPPUTILS_API void SetColorCorrectionMode(const TfToken &colorCorrectionMode)
USDIMAGINGGL_API bool SetRendererPlugin(TfToken const &id)
USDAPPUTILS_API bool Record(const UsdStagePtr &stage, const UsdGeomCamera &usdCamera, const UsdTimeCode timeCode, const std::string &outputImagePath)
std::vector< TfToken > TfTokenVector
Convenience types.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
TfToken GetCurrentRendererId() const
USDAPPUTILS_API void SetIncludedPurposes(const TfTokenVector &purposes)
#define PXR_NAMESPACE_CLOSE_SCOPE
void SetImageWidth(const size_t imageWidth)
USDIMAGINGGL_API void SetEnablePresentation(bool enabled)
void SetComplexity(const float complexity)