Skip to content

Commit

Permalink
Documentation: Description of LensFx
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Nov 14, 2013
1 parent 8bde465 commit 5aa7386
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions doomsday/client/src/render/cameralensfx.cpp
@@ -1,4 +1,24 @@
/** @file cameralensfx.cpp Camera lens effects.
*
* Renders camera lens effects, i.e., special effects applied to a "raw" world
* frame. ConsoleEffect-derived isntances are put onto a stack; each console
* has its own effect stack.
*
* Given the following stack of effects:
* - A
* - B
* - C
*
* The following sequence of methods is called during the rendering of a frame:
* 1. A.beginFrame
* 2. B.beginFrame
* 3. C.beginFrame
* 4. A.draw
* 5. B.draw
* 6. C.draw
* 7. C.endFrame <-- reverse order
* 8. B.endFrame
* 9. A.endFrame
*
* @authors Copyright (c) 2013 Jaakko Keränen <jaakko.keranen@iki.fi>
*
Expand Down

0 comments on commit 5aa7386

Please sign in to comment.