APEX Framework: nvidia::apex::SceneDesc Class Reference

NVIDIA APEX

nvidia::apex::SceneDesc Class Reference

Data used to initialize a new Scene. More...

#include <Scene.h>

Inheritance diagram for nvidia::apex::SceneDesc:
nvidia::apex::ApexDesc

List of all members.

Public Member Functions

PX_INLINE void setToDefault ()
 (re)sets the structure to the default.

Public Attributes

PxScene * scene
 Give this ApexScene an existing PxScene.
RenderDebugInterfacedebugInterface
 Give this ApexScene an existing RenderDebugInterface.
PhysX3InterfacephysX3Interface
 Give this ApexScene a user defined interface to the PhysX 3.*.
bool useDebugRenderable
 Toggle the use of a legacy DebugRenderable for PhysX 2.8.x or PxRenderBuffer for 3.x.
bool debugVisualizeRemotely
 Transmits debug rendering to PVD2 as well.
bool debugVisualizeLocally
 If 'debugVisualizeLocally' is true, then debug visualization which is being transmitted remotely will also be shown locally as well.
bool useCuda
 Switch for particles (BasicIOS, ParticleIOS, FieldSampler) which defines whether to use CUDA or not.

Detailed Description

Data used to initialize a new Scene.


Member Data Documentation

Give this ApexScene an existing PxScene.

The ApexScene will use the same CpuDispatcher and GpuDispatcher that were provided to the PxScene when it was created. There is no need to provide these pointers in the ApexScene descriptor.

Toggle the use of a legacy DebugRenderable for PhysX 2.8.x or PxRenderBuffer for 3.x.

If true, then debug rendering will happen through the legacy DebugRenderable interface. If false (the default value) it will render through the UserRenderResources interface.


The documentation for this class was generated from the following file:

Generated on Fri Dec 15 2017 13:58:40

Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.