7 #ifndef PXR_USD_IMAGING_USD_APP_UTILS_FRAME_RECORDER_H
8 #define PXR_USD_IMAGING_USD_APP_UTILS_FRAME_RECORDER_H
51 bool gpuEnabled =
true);
93 if (imageWidth == 0u) {
97 _imageWidth = imageWidth;
104 _complexity = complexity;
154 const UsdStagePtr& stage,
157 const std::string& outputImagePath);
166 SdfPath _renderSettingsPrimPath;
167 bool _cameraLightEnabled;
168 bool _domeLightsVisible;
USDIMAGINGGL_API TfToken GetCurrentRendererId() const
Return the id of the currently used renderer plugin.
USDAPPUTILS_API UsdAppUtilsFrameRecorder(const TfToken &rendererPluginId=TfToken(), bool gpuEnabled=true)
bool SetRendererPlugin(const TfToken &id)
GLsizei const GLchar *const * path
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)
USDAPPUTILS_API void SetCameraLightEnabled(bool cameraLightEnabled)
USDAPPUTILS_API void SetActiveRenderPassPrimPath(SdfPath const &path)
std::vector< TfToken > TfTokenVector
Convenience types.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
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)