HDK
|
#include <XUSD_RenderSettings.h>
Public Member Functions | |
XUSD_RenderSettingsContext () | |
virtual | ~XUSD_RenderSettingsContext () |
virtual void | initFromUSD (UsdRenderSettings &settings) |
virtual TfToken | renderer () const =0 |
Return the name of the render delegate. More... | |
virtual SdfPath | overrideCamera () const |
Override the path to the camera. More... | |
virtual GfVec2i | defaultResolution () const =0 |
Return the default resolution for rendering products. More... | |
virtual GfVec2i | overrideResolution (const GfVec2i &res) const |
Optionally override the resolution of the product. More... | |
virtual fpreal | overridePixelAspect (fpreal pa) const |
Optionally, override the pixel aspect ratio. More... | |
virtual GfVec4f | overrideDataWindow (const GfVec4f &w) const |
Optionally, override the data window. More... | |
virtual bool | overrideDisableMotionBlur (bool v) const |
Optionally, override the disableMotionBlur. More... | |
virtual const char * | overridePurpose () const |
Return if there's an overridden purpose for the render. More... | |
virtual const char * | defaultPurpose () const |
Return the default purpose (this is a comma separated list) More... | |
virtual fpreal | startFrame () const =0 |
Start frame for a render sequence. More... | |
virtual fpreal | frameInc () const |
Frame increment, when computing sequences. More... | |
virtual int | frameCount () const |
Return the number of frames being rendered. More... | |
virtual const std::vector < fpreal > * | frameList () const |
Start frame for a render sequence. More... | |
virtual fpreal | fps () const |
Return the fps. More... | |
virtual UsdTimeCode | evalTime () const =0 |
Current frame in the render sequence. More... | |
virtual HdAovDescriptor | defaultAovDescriptor (const TfToken &aov) const |
Get a default rendering descriptor for a given AOV. More... | |
virtual const char * | defaultProductName () const |
Default product name. More... | |
virtual const char * | overrideProductName (const XUSD_RenderProduct &p, int pidx) const |
Return a product name override. More... | |
virtual const char * | overrideSnapshotPath (const XUSD_RenderProduct &p, int pidx) const |
Optionally, override the path to the snapshots. More... | |
virtual const char * | overrideSnapshotSuffix (const XUSD_RenderProduct &p, int pidx) const |
Optionally, override the suffix on snapshots. More... | |
virtual const char * | tileSuffix () const |
Get the tile suffix, if there is one. More... | |
virtual int | tileIndex () const |
Get the tile index, defaults to 0. More... | |
virtual void | setDefaultSettings (const XUSD_RenderSettings &rset, HdRenderSettingsMap &settings) const |
Build initial render settings map. More... | |
virtual void | overrideSettings (const XUSD_RenderSettings &rset, HdRenderSettingsMap &settings) const |
After the products have been loaded, apply any overrides. More... | |
virtual bool | allowCameraless () const |
Allow render options to be applied without a camera present. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from UT_NonCopyableNS::UT_NonCopyable | |
UT_NonCopyable ()=default | |
~UT_NonCopyable ()=default | |
UT_NonCopyable (const UT_NonCopyable &)=delete | |
UT_NonCopyable & | operator= (const UT_NonCopyable &)=delete |
Definition at line 49 of file XUSD_RenderSettings.h.
|
inline |
Definition at line 53 of file XUSD_RenderSettings.h.
|
virtual |
|
inlinevirtual |
Allow render options to be applied without a camera present.
Definition at line 166 of file XUSD_RenderSettings.h.
|
inlinevirtual |
Get a default rendering descriptor for a given AOV.
Definition at line 120 of file XUSD_RenderSettings.h.
|
inlinevirtual |
Default product name.
Definition at line 126 of file XUSD_RenderSettings.h.
|
inlinevirtual |
Return the default purpose (this is a comma separated list)
Definition at line 93 of file XUSD_RenderSettings.h.
|
pure virtual |
Return the default resolution for rendering products.
|
pure virtual |
Current frame in the render sequence.
|
inlinevirtual |
Return the fps.
Definition at line 114 of file XUSD_RenderSettings.h.
|
inlinevirtual |
Return the number of frames being rendered.
Definition at line 108 of file XUSD_RenderSettings.h.
|
inlinevirtual |
Frame increment, when computing sequences.
Definition at line 105 of file XUSD_RenderSettings.h.
|
inlinevirtual |
Start frame for a render sequence.
Definition at line 111 of file XUSD_RenderSettings.h.
|
inlinevirtual |
Update any settings from the render settings primitive. This allows the context to look at custom attributes on the RenderSettings.
This function will always be called - even if there are no settings.
Definition at line 60 of file XUSD_RenderSettings.h.
|
inlinevirtual |
Override the path to the camera.
Definition at line 66 of file XUSD_RenderSettings.h.
|
inlinevirtual |
Optionally, override the data window.
Definition at line 84 of file XUSD_RenderSettings.h.
|
inlinevirtual |
Optionally, override the disableMotionBlur.
Definition at line 87 of file XUSD_RenderSettings.h.
Optionally, override the pixel aspect ratio.
Definition at line 81 of file XUSD_RenderSettings.h.
|
inlinevirtual |
Return a product name override.
Definition at line 129 of file XUSD_RenderSettings.h.
|
inlinevirtual |
Return if there's an overridden purpose for the render.
Definition at line 90 of file XUSD_RenderSettings.h.
|
inlinevirtual |
Optionally override the resolution of the product.
Definition at line 75 of file XUSD_RenderSettings.h.
|
inlinevirtual |
After the products have been loaded, apply any overrides.
Definition at line 161 of file XUSD_RenderSettings.h.
|
inlinevirtual |
Optionally, override the path to the snapshots.
Definition at line 136 of file XUSD_RenderSettings.h.
|
inlinevirtual |
Optionally, override the suffix on snapshots.
Definition at line 142 of file XUSD_RenderSettings.h.
|
pure virtual |
Return the name of the render delegate.
|
inlinevirtual |
Build initial render settings map.
Definition at line 156 of file XUSD_RenderSettings.h.
|
pure virtual |
Start frame for a render sequence.
|
inlinevirtual |
Get the tile index, defaults to 0.
Definition at line 153 of file XUSD_RenderSettings.h.
|
inlinevirtual |
Get the tile suffix, if there is one.
Definition at line 150 of file XUSD_RenderSettings.h.