Garry's Mod Wiki

frame_blend

The frame blending library.

Methods

frame_blend.AddFrame()
This is used internally - although you're able to use it you probably shouldn't. Adds a frame to the blend. Calls frame_blend. CompleteFrame once enough frames have passed since last frame_blend. CompleteFrame call.
frame_blend.BlendFrame()
This is used internally - although you're able to use it you probably shouldn't. Blends the frame(s).
frame_blend.CompleteFrame()
This is used internally - although you're able to use it you probably shouldn't. Renders the frame onto internal render target.
frame_blend.DrawPreview()
This is used internally - although you're able to use it you probably shouldn't. Actually draws the frame blend effect.
boolean frame_blend.IsActive()
Returns whether frame blend post processing effect is enabled or not.
boolean frame_blend.IsLastFrame()
This is used internally - although you're able to use it you probably shouldn't. Returns whether the current frame is the last frame?
number frame_blend.RenderableFrames()
This is used internally - although you're able to use it you probably shouldn't. Returns amount of frames needed to render?
boolean frame_blend.ShouldSkipFrame()
Returns whether we should skip frame or not