Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::PhysicsSceneInterface Class Referenceabstract

#include <PhysicsSceneInterface.h>

+ Inheritance diagram for Divide::PhysicsSceneInterface:

Public Member Functions

 PhysicsSceneInterface (Scene &parentScene)
 
virtual bool init ()=0
 Pre PHYSICS_DEVICE initialisation call.
 
virtual bool isInit () const =0
 Should return true if init() was called successfully.
 
virtual void release ()=0
 Called on interface destruction.
 
virtual void idle ()=0
 Custom physics idle calls.
 
virtual void frameStarted (U64 deltaTimeGameUS)=0
 Custom process step.
 
virtual void frameEnded (U64 deltaTimeGameUS)=0
 Physics update callback for custom behavior.
 
- Public Member Functions inherited from Divide::SceneComponent
 SceneComponent (Scene &parentScene) noexcept
 
SceneparentScene () noexcept
 
const SceneparentScene () const noexcept
 
- Public Member Functions inherited from Divide::GUIDWrapper
 GUIDWrapper () noexcept
 
 GUIDWrapper (const GUIDWrapper &old) noexcept
 
 GUIDWrapper (GUIDWrapper &&old) noexcept
 
virtual ~GUIDWrapper ()=default
 
FORCE_INLINE I64 getGUID () const noexcept
 
GUIDWrapperoperator= (const GUIDWrapper &old)=delete
 
GUIDWrapperoperator= (GUIDWrapper &&other)=delete
 

Additional Inherited Members

- Static Public Member Functions inherited from Divide::GUIDWrapper
static I64 generateGUID () noexcept
 
- Protected Attributes inherited from Divide::SceneComponent
Scene_parentScene
 
- Protected Attributes inherited from Divide::GUIDWrapper
const I64 _guid
 

Detailed Description

Definition at line 42 of file PhysicsSceneInterface.h.

Constructor & Destructor Documentation

◆ PhysicsSceneInterface()

Divide::PhysicsSceneInterface::PhysicsSceneInterface ( Scene parentScene)
inlineexplicit

Definition at line 45 of file PhysicsSceneInterface.h.

Member Function Documentation

◆ frameEnded()

virtual void Divide::PhysicsSceneInterface::frameEnded ( U64  deltaTimeGameUS)
pure virtual

Physics update callback for custom behavior.

Implemented in Divide::PhysXSceneInterface.

◆ frameStarted()

virtual void Divide::PhysicsSceneInterface::frameStarted ( U64  deltaTimeGameUS)
pure virtual

Custom process step.

Implemented in Divide::PhysXSceneInterface.

◆ idle()

virtual void Divide::PhysicsSceneInterface::idle ( )
pure virtual

Custom physics idle calls.

Implemented in Divide::PhysXSceneInterface.

◆ init()

virtual bool Divide::PhysicsSceneInterface::init ( )
pure virtual

Pre PHYSICS_DEVICE initialisation call.

Implemented in Divide::PhysXSceneInterface.

◆ isInit()

virtual bool Divide::PhysicsSceneInterface::isInit ( ) const
pure virtual

Should return true if init() was called successfully.

Implemented in Divide::PhysXSceneInterface.

◆ release()

virtual void Divide::PhysicsSceneInterface::release ( )
pure virtual

Called on interface destruction.

Implemented in Divide::PhysXSceneInterface.


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