Main Page
Class Hierarchy
Compound List
Compound Members
Include
ps3
PxPS3Config.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
3
*
4
* NVIDIA CORPORATION and its licensors retain all intellectual property
5
* and proprietary rights in and to this software, related documentation
6
* and any modifications thereto. Any use, reproduction, disclosure or
7
* distribution of this software and related documentation without an express
8
* license agreement from NVIDIA CORPORATION is strictly prohibited.
9
*/
10
// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.
11
// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.
12
13
14
#ifndef PX_PS3_CONFIG_H
15
#define PX_PS3_CONFIG_H
16
17
#include "
common/PxPhysXCommonConfig.h
"
18
23
#ifndef PX_DOXYGEN
24
namespace
physx
25
{
26
#endif
27
28
32
#define PX_PS3_MAX_MATERIAL_COUNT 128
33
34
38
struct
PxPS3ConfigParam
39
{
40
enum
Enum
41
{
46
eSPU_ISLAND_GEN
,
47
eSPU_DYNAMICS
,
48
eSPU_CLOTH
,
49
eSPU_FLUID_COLLISION
,
50
eSPU_FLUID_SPH
,
51
eSPU_FLUID_HASH
,
52
eSPU_NARROWPHASE_PRIM
,
53
eSPU_NARROWPHASE_CNVX
,
54
eSPU_NARROWPHASE_MESH
,
55
eSPU_NARROWPHASE_CNVX_MESH
,
56
eSPU_NARROWPHASE_HF
,
57
eSPU_COMPUTEAABB
,
58
eSPU_BROADPHASE
,
63
eMEM_CONSTRAINT_BLOCKS
,
64
eMEM_FRICTION_BLOCKS
,
65
eMEM_CONTACT_STREAM_BLOCKS
,
66
eMEM_NP_CACHE_BLOCKS
,
67
//
68
eCOUNT
69
};
70
71
};
72
73
class
PxScene
;
74
79
class
PxPS3Config
80
{
81
public
:
82
102
PX_PHYSX_CORE_API
static
bool
initialize(
PxU32
simSpuCount,
PxU32
querySpuCount = 0);
103
117
PX_PHYSX_CORE_API
static
void
setSceneParamInt(
PxScene
& scene,
PxPS3ConfigParam::Enum
param,
PxU32
value);
118
125
PX_PHYSX_CORE_API
static
PxU32
getSceneParamInt(
PxScene
& scene,
PxPS3ConfigParam::Enum
param);
126
136
PX_PHYSX_CORE_API
static
void
getSpuMemBlockCounters(
PxScene
& scene,
PxU32
& numNpContactStreamBlocks,
PxU32
& numNpCacheBlocks,
PxU32
& numDyFrictionBlocks,
PxU32
& numDyConstraintBlocks);
137
};
138
139
#ifndef PX_DOXYGEN
140
}
// namespace physx
141
#endif
142
144
#endif //PX_PS3_CONFIG_H
Copyright © 2008-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.
www.nvidia.com