RenderSync

RenderSync
Scaleform::Render::RenderSync
Declaration
class RenderSync : public RefCountBase<RenderSync,Stat_Default_Mem>;
Description

Rendering synchronization class. RenderSync is used by SimpleMeshCache::allocBuffer to know when different cache buffers have completed rendering and can thus be discarded.

Enumerations
Enumeration 
Description 
Identifies the type of submission that causes Fence objects to be updated (by the GPU). 
Methods
Method 
Description 
Determines if a resource in use needs to wait for pending operations in the current frame. 
Signals that a new frame has begun. May be overridden, but base class function should also be called. 
Signals that the frame has ended. May be overridden, but base class function should also be called. 
Write a fence into the command buffer. 
Triggers all queued up HW rendering commands. 
RenderSync constructor. 
Add the fence pointer to an internal list of resources that needs updating after a submission. 
Notifies the GPU to update the fence based on the submission type. 
Sets the render HAL context. 
File

Render_Sync.h