1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
/*
* Copyright (c) 2008-2017, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this software and related documentation without an express
* license agreement from NVIDIA CORPORATION is strictly prohibited.
*/
#ifndef APEX_NAME_SPACE_H
#define APEX_NAME_SPACE_H
#include "ApexUsingNamespace.h"
/*!
\file
\brief Defines APEX namespace strings
These are predefined framework namespaces in the named resource provider
*/
/*!
\brief A namespace for names of collision groups (CollisionGroup).
Each name in this namespace must map to a 5-bit integer in the range [0..31] (stored in a void*).
The NRP will not automatically generate release requests for names in this namespace.
*/
#define APEX_COLLISION_GROUP_NAME_SPACE "NSCollisionGroup"
/*!
\brief A namespace for names of GroupsMasks
Each name in this namespace must map to a pointer to a persistent 128-bit GroupsMask type.
The NRP will not automatically generate release requests for names in this namespace.
*/
#define APEX_COLLISION_GROUP_128_NAME_SPACE "NSCollisionGroup128"
/*!
\brief A namespace for names of GroupsMasks64
Each name in this namespace must map to a pointer to a persistent 64-bit GroupsMask64 type.
The NRP will not automatically generate release requests for names in this namespace.
*/
#define APEX_COLLISION_GROUP_64_NAME_SPACE "NSCollisionGroup64"
/*!
\brief A namespace for names of collision group masks
Each name in this namespace must map to a 32-bit integer (stored in a void*), wherein each
bit represents a collision group (CollisionGroup). The NRP will not automatically generate
release requests for names in this namespace.
*/
#define APEX_COLLISION_GROUP_MASK_NAME_SPACE "NSCollisionGroupMask"
/*!
\brief Internal namespace for authorable asset types
For examples, there are entries in this namespace for "ApexRenderMesh", "NxClothingAsset",
"DestructibleAsset", etc...
The values stored in this namespace are the namespace IDs of the authorable asset types.
So if your module needs to get a pointer to a FooAsset created by module Foo, you can ask
the ApexSDK for that asset's namespace ID.
*/
#define APEX_AUTHORABLE_ASSETS_TYPES_NAME_SPACE "AuthorableAssetTypes"
/*!
\brief Internal namespace for parameterized authorable assets
*/
#define APEX_NV_PARAM_AUTH_ASSETS_TYPES_NAME_SPACE "NvParamAuthorableAssetTypes"
/*!
\brief A namespace for graphical material names
Each name in this namespace maps to a pointer to a game-engine defined graphical material data
structure. APEX does not interpret or dereference this pointer in any way. APEX provides this
pointer to the UserRenderResource::setMaterial(void *material) callback to the rendering engine.
This mapping allows APEX assets to refer to game engine materials (e.g.: texture maps and shader
programs) without imposing any limitations on what a game engine graphical material can contain.
The NRP will not automatically generate release requests for names in this namespace.
*/
#define APEX_MATERIALS_NAME_SPACE "ApexMaterials"
/*!
\brief A namespace for volumetric rendering material names
*/
#define APEX_VOLUME_RENDER_MATERIALS_NAME_SPACE "ApexVolumeRenderMaterials"
/*!
\brief A namespace for physical material names
Each name in this namespace maps to MaterialID, which is a data type defined
by the PhysX SDK. The NRP will not automatically generate release requests for
names in this namespace.
*/
#define APEX_PHYSICS_MATERIAL_NAME_SPACE "NSPhysicalMaterial"
/*!
\brief A namespace for custom vertex buffer semantics names
Each name in this namespace maps to a pointer to a game-engine defined data structure identifying
a custom vertex buffer semantic. APEX does not interpret or dereference this pointer in any way.
APEX provides an array of these pointers in UserRenderVertexBufferDesc::customBuffersIdents,
which is passed the rendering engine when requesting allocation of vertex buffers.
*/
#define APEX_CUSTOM_VB_NAME_SPACE "NSCustomVBNames"
#endif // APEX_NAME_SPACE_H
|