3ds Max USD API Reference
Loading...
Searching...
No Matches
MaxTokens.h
1//**************************************************************************/
2// Copyright (c) 2022 Autodesk, Inc.
3// All rights reserved.
4//
5// Use of this software is subject to the terms of the Autodesk license
6// agreement provided at the time of installation or download, or which
7// otherwise accompanies this software in either electronic or hard copy form.
8//**************************************************************************/
9
10#include "MaxUSDAPI.h"
11
12#include <pxr/base/tf/staticTokens.h>
13#include <pxr/pxr.h>
14#include <pxr/base/tf/token.h>
15
16#pragma once
17
18namespace maxUsd {
19namespace metadata {
20 const pxr::TfToken matId("3dsmax:matId");
21}
22}
23
24PXR_NAMESPACE_OPEN_SCOPE
25
26// clang-format off
27#define MAX_USD_METADATA_TOKENS \
28 (kind) \
29 (purpose) \
30 (hidden) \
31 (creator)
32// clang-format on
33
34TF_DECLARE_PUBLIC_TOKENS(MaxUsdMetadataTokens,MaxUSDAPI,MAX_USD_METADATA_TOKENS);
35
36// clang-format off
37#define MAX_USD_PRIMVAR_TOKENS \
38 (st) \
39 (uv) \
40 (mapShading) \
41 (vertexColor) \
42 (displayColor) \
43 (displayOpacity)
44// clang-format on
45
46TF_DECLARE_PUBLIC_TOKENS(MaxUsdPrimvarTokens,MaxUSDAPI,MAX_USD_PRIMVAR_TOKENS);
47
48// clang-format off
49#define MAX_USD_PRIM_TYPE_TOKENS \
50 (Xform) \
51 (DiscLight) \
52 (RectLight) \
53 (CylinderLight) \
54 (SphereLight) \
55 (DistantLight) \
56 (Camera) \
57 (Mesh) \
58 (BasisCurves) \
59 (SkelRoot) \
60 (Skeleton) \
61 (Over) \
62 (Class)
63// clang-format on
64
65TF_DECLARE_PUBLIC_TOKENS(MaxUsdPrimTypeTokens,MaxUSDAPI,MAX_USD_PRIM_TYPE_TOKENS);
66
67PXR_NAMESPACE_CLOSE_SCOPE