add usd-21-11-win64_py39

This commit is contained in:
Sébastien Albert committed 2021-12-07 17:43:55 +01:00
1 parent 41d23e71ba
commit ba5e1f7e67
15684 files changed
+3069957

No files matched your search

+47
View File
@@ -0,0 +1,47 @@
//
// Copyright 2017 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trademarks. This License does not grant permission to use the trade
// names, trademarks, service marks, or product names of the Licensor
// and its affiliates, except as required to comply with Section 4(c) of
// the License and to reproduce the content of the NOTICE file.
//
// You may obtain a copy of the Apache License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the Apache License with the above modification is
// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef PXR_USD_IMAGING_USD_RI_IMAGING_API_H
#define PXR_USD_IMAGING_USD_RI_IMAGING_API_H
#include "pxr/base/arch/export.h"
#if defined(PXR_STATIC)
# define USDRIIMAGING_API
# define USDRIIMAGING_API_TEMPLATE_CLASS(...)
# define USDRIIMAGING_API_TEMPLATE_STRUCT(...)
# define USDRIIMAGING_LOCAL
#else
# if defined(USDRIIMAGING_EXPORTS)
# define USDRIIMAGING_API ARCH_EXPORT
# define USDRIIMAGING_API_TEMPLATE_CLASS(...) ARCH_EXPORT_TEMPLATE(class, __VA_ARGS__)
# define USDRIIMAGING_API_TEMPLATE_STRUCT(...) ARCH_EXPORT_TEMPLATE(struct, __VA_ARGS__)
# else
# define USDRIIMAGING_API ARCH_IMPORT
# define USDRIIMAGING_API_TEMPLATE_CLASS(...) ARCH_IMPORT_TEMPLATE(class, __VA_ARGS__)
# define USDRIIMAGING_API_TEMPLATE_STRUCT(...) ARCH_IMPORT_TEMPLATE(struct, __VA_ARGS__)
# endif
# define USDRIIMAGING_LOCAL ARCH_HIDDEN
#endif
#endif // PXR_USD_IMAGING_USD_RI_IMAGING_API_H
@@ -0,0 +1,70 @@
//
// Copyright 2017 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trademarks. This License does not grant permission to use the trade
// names, trademarks, service marks, or product names of the Licensor
// and its affiliates, except as required to comply with Section 4(c) of
// the License and to reproduce the content of the NOTICE file.
//
// You may obtain a copy of the Apache License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the Apache License with the above modification is
// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef PXR_USD_IMAGING_USD_RI_IMAGING_PXR_BARN_LIGHT_FILTER_ADAPTER_H
#define PXR_USD_IMAGING_USD_RI_IMAGING_PXR_BARN_LIGHT_FILTER_ADAPTER_H
/// \file usdRiImaging/pxrBarnLightFilterAdapter.h
#include "pxr/pxr.h"
#include "pxr/usdImaging/usdRiImaging/api.h"
#include "pxr/usdImaging/usdImaging/lightFilterAdapter.h"
PXR_NAMESPACE_OPEN_SCOPE
class UsdPrim;
/// \class UsdRiImagingPxrBarnLightFilterAdapter
///
/// Adapter class for lights of type PxrBarnLightFilter
///
class UsdRiImagingPxrBarnLightFilterAdapter : public UsdImagingLightFilterAdapter {
public:
typedef UsdImagingLightFilterAdapter BaseAdapter;
UsdRiImagingPxrBarnLightFilterAdapter()
: UsdImagingLightFilterAdapter()
{}
USDRIIMAGING_API
virtual ~UsdRiImagingPxrBarnLightFilterAdapter();
USDRIIMAGING_API
virtual SdfPath Populate(UsdPrim const& prim,
UsdImagingIndexProxy* index,
UsdImagingInstancerContext const* instancerContext = NULL);
USDRIIMAGING_API
virtual bool IsSupported(UsdImagingIndexProxy const* index) const;
protected:
virtual void _RemovePrim(SdfPath const& cachePath,
UsdImagingIndexProxy* index) final;
};
PXR_NAMESPACE_CLOSE_SCOPE
#endif // PXR_USD_IMAGING_USD_RI_IMAGING_PXR_BARN_LIGHT_FILTER_ADAPTER_H
@@ -0,0 +1,70 @@
//
// Copyright 2017 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trademarks. This License does not grant permission to use the trade
// names, trademarks, service marks, or product names of the Licensor
// and its affiliates, except as required to comply with Section 4(c) of
// the License and to reproduce the content of the NOTICE file.
//
// You may obtain a copy of the Apache License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the Apache License with the above modification is
// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef PXR_USD_IMAGING_USD_RI_IMAGING_PXR_INTMULT_LIGHT_FILTER_ADAPTER_H
#define PXR_USD_IMAGING_USD_RI_IMAGING_PXR_INTMULT_LIGHT_FILTER_ADAPTER_H
/// \file usdRiImaging/pxrIntMultLightFilterAdapter.h
#include "pxr/pxr.h"
#include "pxr/usdImaging/usdRiImaging/api.h"
#include "pxr/usdImaging/usdImaging/lightFilterAdapter.h"
PXR_NAMESPACE_OPEN_SCOPE
class UsdPrim;
/// \class UsdRiImagingPxrIntMultLightFilterAdapter
///
/// Adapter class for lights of type PxrIntMultLightFilter
///
class UsdRiImagingPxrIntMultLightFilterAdapter : public UsdImagingLightFilterAdapter {
public:
typedef UsdImagingLightFilterAdapter BaseAdapter;
UsdRiImagingPxrIntMultLightFilterAdapter()
: UsdImagingLightFilterAdapter()
{}
USDRIIMAGING_API
virtual ~UsdRiImagingPxrIntMultLightFilterAdapter();
USDRIIMAGING_API
virtual SdfPath Populate(UsdPrim const& prim,
UsdImagingIndexProxy* index,
UsdImagingInstancerContext const* instancerContext = NULL);
USDRIIMAGING_API
virtual bool IsSupported(UsdImagingIndexProxy const* index) const;
protected:
virtual void _RemovePrim(SdfPath const& cachePath,
UsdImagingIndexProxy* index) final;
};
PXR_NAMESPACE_CLOSE_SCOPE
#endif // PXR_USD_IMAGING_USD_RI_IMAGING_PXR_INTMULT_LIGHT_FILTER_ADAPTER_H
@@ -0,0 +1,70 @@
//
// Copyright 2017 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trademarks. This License does not grant permission to use the trade
// names, trademarks, service marks, or product names of the Licensor
// and its affiliates, except as required to comply with Section 4(c) of
// the License and to reproduce the content of the NOTICE file.
//
// You may obtain a copy of the Apache License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the Apache License with the above modification is
// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef PXR_USD_IMAGING_USD_RI_IMAGING_PXR_ROD_LIGHT_FILTER_ADAPTER_H
#define PXR_USD_IMAGING_USD_RI_IMAGING_PXR_ROD_LIGHT_FILTER_ADAPTER_H
/// \file usdRiImaging/pxrRodLightFilterAdapter.h
#include "pxr/pxr.h"
#include "pxr/usdImaging/usdRiImaging/api.h"
#include "pxr/usdImaging/usdImaging/lightFilterAdapter.h"
PXR_NAMESPACE_OPEN_SCOPE
class UsdPrim;
/// \class UsdRiImagingPxrRodLightFilterAdapter
///
/// Adapter class for lights of type PxrRodLightFilter
///
class UsdRiImagingPxrRodLightFilterAdapter : public UsdImagingLightFilterAdapter {
public:
typedef UsdImagingLightFilterAdapter BaseAdapter;
UsdRiImagingPxrRodLightFilterAdapter()
: UsdImagingLightFilterAdapter()
{}
USDRIIMAGING_API
virtual ~UsdRiImagingPxrRodLightFilterAdapter();
USDRIIMAGING_API
virtual SdfPath Populate(UsdPrim const& prim,
UsdImagingIndexProxy* index,
UsdImagingInstancerContext const* instancerContext = NULL);
USDRIIMAGING_API
virtual bool IsSupported(UsdImagingIndexProxy const* index) const;
protected:
virtual void _RemovePrim(SdfPath const& cachePath,
UsdImagingIndexProxy* index) final;
};
PXR_NAMESPACE_CLOSE_SCOPE
#endif // PXR_USD_IMAGING_USD_RI_IMAGING_PXR_ROD_LIGHT_FILTER_ADAPTER_H
@@ -0,0 +1,68 @@
//
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trademarks. This License does not grant permission to use the trade
// names, trademarks, service marks, or product names of the Licensor
// and its affiliates, except as required to comply with Section 4(c) of
// the License and to reproduce the content of the NOTICE file.
//
// You may obtain a copy of the Apache License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the Apache License with the above modification is
// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef PXR_USD_IMAGING_USD_RI_IMAGING_TOKENS_H
#define PXR_USD_IMAGING_USD_RI_IMAGING_TOKENS_H
#include "pxr/pxr.h"
#include "pxr/usdImaging/usdRiImaging/api.h"
#include "pxr/base/tf/staticTokens.h"
PXR_NAMESPACE_OPEN_SCOPE
#define USDRIIMAGING_TOKENS \
((infoSource, "info:source")) \
(faceIndexPrimvar) \
(faceOffsetPrimvar) \
((primvarsNormals, "primvars:normals")) \
((primvarsWidths, "primvars:widths")) \
(ptexFaceIndex) \
(ptexFaceOffset) \
(usdPopulatedPrimCount) \
(usdVaryingExtent) \
(usdVaryingPrimvar) \
(usdVaryingTopology) \
(usdVaryingVisibility) \
(usdVaryingWidths) \
(usdVaryingNormals) \
(usdVaryingXform) \
(usdVaryingTexture) \
(uvPrimvar) \
(UsdPreviewSurface) \
(UsdUVTexture) \
(UsdPrimvarReader_float)\
(UsdPrimvarReader_float2)\
(UsdPrimvarReader_float3)\
(UsdPrimvarReader_float4)\
(UsdPrimvarReader_int) \
(UsdTransform2d) \
(pxrBarnLightFilter) \
(pxrIntMultLightFilter) \
(pxrRodLightFilter)
TF_DECLARE_PUBLIC_TOKENS(UsdRiImagingTokens, USDRIIMAGING_API, USDRIIMAGING_TOKENS);
PXR_NAMESPACE_CLOSE_SCOPE
#endif //PXR_USD_IMAGING_USD_RI_IMAGING_TOKENS_H
@@ -0,0 +1,38 @@
//
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trademarks. This License does not grant permission to use the trade
// names, trademarks, service marks, or product names of the Licensor
// and its affiliates, except as required to comply with Section 4(c) of
// the License and to reproduce the content of the NOTICE file.
//
// You may obtain a copy of the Apache License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the Apache License with the above modification is
// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef PXR_USD_IMAGING_USD_RI_IMAGING_VERSION_H
#define PXR_USD_IMAGING_USD_RI_IMAGING_VERSION_H
#include "pxr/pxr.h"
PXR_NAMESPACE_OPEN_SCOPE
// Version 1 -- clone off PXR_USD_IMAGING_USD_RI_IMAGING_VERSION_H and add light filter support
#define USD_RI_IMAGING_API_VERSION 1
PXR_NAMESPACE_CLOSE_SCOPE
#endif // PXR_USD_IMAGING_USD_RI_IMAGING_VERSION_H