Vireo  0.0
Vireo 3D Rendering Hardware Interface
Fence Class Referenceabstract

Detailed Description

A fence object. Fences are a synchronization primitive that can be used to insert a dependency from a queue to the host (CPU/GPU synchronization).

Manual page : Fences

Public Member Functions

virtual void wait () const = 0
 Wait for the fences to become signaled. More...
 
virtual void reset () = 0
 Reset the fence state. More...
 
virtual ~Fence () = default
 
 Fence () = default
 
 Fence (const Fence &) = delete
 
Fence & operator= (const Fence &) = delete
 

Constructor & Destructor Documentation

virtual ~Fence ( )
virtualdefault
Fence ( )
default
Fence ( const Fence &  )
delete

Member Function Documentation

Fence& operator= ( const Fence &  )
delete
virtual void reset ( )
pure virtual

Reset the fence state.

virtual void wait ( ) const
pure virtual

Wait for the fences to become signaled.