7 #ifndef PXR_USD_IMAGING_USD_APP_UTILS_FRAME_RECORDER_H
8 #define PXR_USD_IMAGING_USD_APP_UTILS_FRAME_RECORDER_H
54 bool gpuEnabled =
true,
55 bool enableUsdDrawModes =
true);
97 if (imageWidth == 0u) {
101 _imageWidth = imageWidth;
108 _complexity = complexity;
162 const UsdStagePtr& stage,
165 const std::string& outputImagePath);
174 SdfPath _renderSettingsPrimPath;
175 bool _cameraLightEnabled;
176 bool _domeLightsVisible;
USDIMAGINGGL_API TfToken GetCurrentRendererId() const
Return the id of the currently used renderer plugin.
bool SetRendererPlugin(const TfToken &id)
#define PXR_NAMESPACE_OPEN_SCOPE
GLsizei const GLchar *const * path
USDAPPUTILS_API void SetColorCorrectionMode(const TfToken &colorCorrectionMode)
USDIMAGINGGL_API bool SetRendererPlugin(TfToken const &id)
USDAPPUTILS_API UsdAppUtilsFrameRecorder(const TfToken &rendererPluginId=TfToken(), bool gpuEnabled=true, bool enableUsdDrawModes=true)
USDAPPUTILS_API void SetPrimaryCameraPrimPath(const SdfPath &cameraPath)
Sets the primary camera prim path.
USDAPPUTILS_API bool Record(const UsdStagePtr &stage, const UsdGeomCamera &usdCamera, const UsdTimeCode timeCode, const std::string &outputImagePath)
USDAPPUTILS_API void SetCameraLightEnabled(bool cameraLightEnabled)
USDAPPUTILS_API void SetActiveRenderPassPrimPath(SdfPath const &path)
std::vector< TfToken > TfTokenVector
Convenience types.
USDAPPUTILS_API void SetDomeLightVisibility(bool domeLightsVisible)
TfToken GetCurrentRendererId() const
USDAPPUTILS_API void SetIncludedPurposes(const TfTokenVector &purposes)
#define PXR_NAMESPACE_CLOSE_SCOPE
void SetImageWidth(const size_t imageWidth)
USDAPPUTILS_API void SetActiveRenderSettingsPrimPath(SdfPath const &path)
USDIMAGINGGL_API void SetEnablePresentation(bool enabled)
void SetComplexity(const float complexity)