HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
version.h
Go to the documentation of this file.
1 //
2 // Copyright 2016 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 //
7 #ifndef PXR_IMAGING_HD_VERSION_H
8 #define PXR_IMAGING_HD_VERSION_H
9 
10 // 18 -> 19: Add support for SceneDelegate surface shaders.
11 // 19 -> 20: RenderPass constructor takes RenderIndex. RasterState class.
12 // 20 -> 21: Add HdSceneDelegate::IsEnabled().
13 // 21 -> 22: split HdRasterState out of HdRenderPass and renamed to HdRenderPassState.
14 // HdEngine::Draw API change.
15 // 22 -> 23: remove ID render API
16 // 23 -> 24: GetPathForInstanceIndex returns absolute instance index.
17 // 24 -> 25: move simpleLightingShader to Hdx.
18 // 25 -> 26: move camera and light to Hdx.
19 // 26 -> 27: move drawTarget to Hdx.
20 // 27 -> 28: switch render index Sprim to take a typeId.
21 // 28 -> 29: cameras only support matrices.
22 // 29 -> 30: added IDRenderColor decode and direct Rprim path fetching.
23 // 30 -> 31: added pre-chained buffer sources
24 // 31 -> 32: renamed HdShader{Param} to HdMaterial{Param}
25 // 32 -> 33: Deleted GetPathForInstanceIndex; added GetScenePrimPath.
26 // 32 -> 34: Added HdInstancerContext to GetScenePrimPath.
27 // 34 -> 35: HdRepr is using std::unique_ptr<HdDrawItem>
28 // 35 -> 36: InsertRprim/InsertInstancer no longer take instancerId,
29 // HdSceneDelegate now has GetInstancerId
30 // 36 -> 37: Renamed HdRprim::_SetMaterialId to SetMaterialId. It no longer
31 // takes changeTracker.
32 // 37 -> 38: Removed Bprim garbage collection API from HdChangeTracker and
33 // HdResourceRegistry.
34 // 38 -> 39: Removed garbage collection API from HdChangeTracker and
35 // HdResourceRegistry.
36 // Added HdSceneDelegate::GetInstancerPrototypes.
37 // 39 -> 40: Removed Bind and Unbind API from HdRenderPassState.
38 // 40 -> 41: Renamed HdDelegate::GetMaterialNeworkselector() to
39 // GetMaterialRenderContexts(). It now returns a TfTokenVector.
40 // 41 -> 42: Removed GetMaterialTag() from HdRenderIndex.
41 // 42 -> 43: Removed HdCamera pulling on view and projection matrix.
42 // 43 -> 44: Replaced HdCamera::GetProjectionMatrix with
43 // HdComputeProjectionMatrix.
44 // 44 -> 45: Added HdSceneDelegate::GetScenePrimPaths.
45 // 45 -> 46: New signatures for HdRendererPlugin::IsSupported and
46 // HdRendererPluginRegistry::GetDefaultPluginId
47 // 46 -> 47: Adding HdRenderDelegate::GetRenderSettingsNamespaces()
48 // 47 -> 48: New signature for HdRenderIndex::InsertSceneIndex: added optional
49 // argument needsPrefixing
50 // 48 -> 49: Moved HdExtCompCpuComputation, Hd_ExtCompInputSource,
51 // Hd_CompExtCompInputSource, and Hd_SceneExtCompInputSource to hdSt.
52 // 49 -> 50: Added HdModelDrawMode struct and getter API to HdSceneDelegate.
53 // 50 -> 51: HdMaterialBindingSchema became HdMaterialBindingsSchema which uses
54 // the new HdMaterialBindingSchema.
55 // 51 -> 52: Added lens distortion, focus, and split diopter parameters to
56 // HdCamera.
57 // 52 -> 53: Changing dirty bits of HdCoordSys.
58 // 53 -> 54: Introducing HdFlattenedDataSourceProvider to make
59 // HdFlatteningSceneIndex modular.
60 // 54 -> 55: Introduce API in HdRenderDelegate to aid in transitioning
61 // render delegates to a Hydra 2.0 world.
62 // 55 -> 56: Adds hydra-namespaced internal instancer primvars
63 // 56 -> 57: Changing SetOverrideWindowPolicy to std::optional on
64 // HdRenderPassState, HdxPickFromRenderBufferTaskParams,
65 // HdxTaskController and UsdImagingGLEngine.
66 // 57 -> 58: Introducing hdsi/version.h
67 // 58 -> 59: HdGeomSubsetsSchema::GetIds() renamed to
68 // HdGeomSubsetsSchema::GetGeomSubsetNames().
69 // 59 -> 60: Introduced HdRenderDelegate::GetCapabilities().
70 // 60 -> 61: Adding HdPrimvarSchema::GetFlattenedPrimvarValue().
71 // Note that in an upcoming change,
72 // HdPrimvarSchema::GetPrimvarValue() might change and
73 // simply return the data source source at primvarValue.
74 // 61 -> 62: Remove 'bindingStrength' from HdMaterialBindingSchema.
75 // 62 -> 63: HdMaterialSchema::GetMaterialNetwork,
76 // HdMaterialNetwork::GetNodes, GetTerminals,
77 // HdMaterialNode::GetParameters, GetInputConnections
78 // return Hydra schemas instead of just container data sources.
79 // schemaTypeDefs.h replaces vectorSchemaTypeDefs.h.
80 // 63 -> 64: Adding disableDepthOfField to HdRenderSettings::RenderProduct
81 // 64 -> 65: Introduce HdCollectionPredicateLibrary and
82 // HdCollectionExpressionEvaluator for path expression evaluation on
83 // scene index prims.
84 // 65 -> 66: Make HdSchema::_GetTypedDataSource and getters in generated
85 // hydra schemas const.
86 // 66 -> 67: Removes legacy internal instancer primvar names and the
87 // TfEnvSetting for using them (see 56).
88 // 67 -> 68: Adds HdSceneDelegate::SampleFOO with startTime and endTime.
89 // 68 -> 69: Removes HdGeomSubsetsSchema. Geom subsets are now represented
90 // in Hydra as child prims of their parent geometry.
91 // 69 -> 70: Add dirty bit translation for light filter prims in backend
92 // emulation.
93 // 70 -> 71: Add virtual HdRenderDelegate::IsParallelSyncEnabled.
94 // 71 -> 72: Add render index API to batch notices sent by the merging scene
95 // index.
96 // 72 -> 73: Adds HdExtComputationUtils::SampleComputedPrimvarValues with
97 // startTime and endTime
98 // 73 -> 74: Extended HdMeshReprDesc to support optional generation of
99 // surface edge ids.
100 // 74 -> 75: Added overload of HdSceneIndexPlugin::_AppendSceneIndex that
101 // passes the renderInstanceId to the plugin callback.
102 // 75 -> 76: Added Scene State ID tunneling through the Hydra pipeline and
103 // arbitrary values Setter/Getter to HdRenderParam.
104 // 76 -> 77: Added GetInputPrimType() to HdFlattenedDataSourceProvider::Context.
105 // The Context now stores an HdSceneIndexPrim containing the data
106 // source and prim type.
107 // 77 -> 78: Removed the widget renderTag and added a displayInOverlay boolean
108 // attribute to serve the same purpose that widget signified.
109 
110 #define HD_API_VERSION 78
111 
112 // 1 -> 2: SimpleLighting -> FallbackLighting
113 #define HD_SHADER_API 2
114 
115 #endif // PXR_IMAGING_HD_VERSION_H