Loading...
Searching...
No Matches
version.h
1//
2// Copyright 2016 Pixar
3//
4// Licensed under the Apache License, Version 2.0 (the "Apache License")
5// with the following modification; you may not use this file except in
6// compliance with the Apache License and the following modification to it:
7// Section 6. Trademarks. is deleted and replaced with:
8//
9// 6. Trademarks. This License does not grant permission to use the trade
10// names, trademarks, service marks, or product names of the Licensor
11// and its affiliates, except as required to comply with Section 4(c) of
12// the License and to reproduce the content of the NOTICE file.
13//
14// You may obtain a copy of the Apache License at
15//
16// http://www.apache.org/licenses/LICENSE-2.0
17//
18// Unless required by applicable law or agreed to in writing, software
19// distributed under the Apache License with the above modification is
20// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21// KIND, either express or implied. See the Apache License for the specific
22// language governing permissions and limitations under the Apache License.
23//
24#ifndef PXR_USD_IMAGING_USD_IMAGING_VERSION_H
25#define PXR_USD_IMAGING_USD_IMAGING_VERSION_H
26
27#include "pxr/pxr.h"
28
29PXR_NAMESPACE_OPEN_SCOPE
30
31
32
33// Version 3 -- add support for nested instancers in InsertInstancer.
34// Version 4 -- Populate returns SdfPath, HdxSelectionInstanceMap.
35// Version 5 -- GetPathForInstanceIndex returns absoluteInstanceIndex.
36// Version 6 -- PrimAdater::GetDependPaths.
37// Version 7 -- GetPathForInstanceIndex returns instanceContext.
38// Version 8 -- GetPathForInstanceIndex returns instanceContext (as
39// SdfPathVector) and rprimPath separately.
40// Version 9 -- Rework UsdImagingEngineGL::RenderParams API to conform to
41// updated purpose tokens and make proxy imaging optional.
42// Version 10 - Add "UsdPrim" parameter to adapter PopulateSelection.
43// Version 11 - PopulateSelection takes "usdPath" (relative to USD stage),
44// rather than a path with the delegate root.
45// Version 12 - Adapter PopulateSelection signature change to adapt to
46// flat instance indices in hydra selection.
47// Version 13 - Deleted GetPathForInstanceIndex; added GetScenePrimPath.
48// Version 14 - Added HdInstancerContext to GetScenePrimPath.
49// Version 15 - CanPopulateMaster renamed to CanPopulateUsdInstance.
50// Version 16 - InsertRprim/InsertInstancer no longer take an instancer path.
51// Version 17 - RequestTrackVariability/RequestUpdateForTime, and UpdateForTime
52// no longer automatically called.
53// Version 18 - Geom subsets accessed via UsdImagingDelegate::GetMeshTopology()
54// will now have correctly prefixed index paths for id and
55// materialId.
56// Version 19 - UsdImagingPrimAdapter::InvalidateImagingSubprim takes
57// invalidationType as argument.
58// Version 20 - Adding UsdImagingCreateSceneIndices.
59
60#define USD_IMAGING_API_VERSION 20
61
62
63PXR_NAMESPACE_CLOSE_SCOPE
64
65#endif // PXR_USD_IMAGING_USD_IMAGING_VERSION_H