Vireo  0.0
Vireo 3D Rendering Hardware Interface
Fence Class Referenceabstract

Detailed Description

CPU/GPU synchronization primitive. Created by Vireo.create_fence(). Signaled by the GPU after a submit; waited on by the CPU.

Lua full name: vireo.Fence

Public Member Functions

nil wait ()
 Blocks the calling CPU thread until the GPU signals this fence. More...
 
nil reset ()
 Resets the fence to the unsignaled state so it can be reused. More...
 

Member Function Documentation

nil wait ( )

Blocks the calling CPU thread until the GPU signals this fence.

nil reset ( )

Resets the fence to the unsignaled state so it can be reused.