lambdacube-engine-0.2.4: 3D rendering engine written entirely in Haskell

Safe HaskellSafe-Infered

Graphics.LambdaCube.HardwareOcclusionQuery

Documentation

class HardwareOcclusionQuery a whereSource

Methods

beginOcclusionQuerySource

Arguments

:: a 
-> IO ()

Starts the hardware occlusion query

endOcclusionQuerySource

Arguments

:: a 
-> IO ()

Ends the hardware occlusion test.

pullOcclusionQuerySource

Arguments

:: a 
-> IO Int

Pulls the hardware occlusion query.

isStillOutstandingSource

Arguments

:: a 
-> IO Bool

Lets you know when query is done, or still be processed by the Hardware.