Used for gathering statistics about culling in current frame. More...
#include <Args.h>
Classes | |
| struct | Item |
| Object containing culling statistics. More... | |
Public Types | |
| enum | Type { ITEM , SHADOW , OTHER } |
| Statistics are generated separately for culling in different render modes. More... | |
Public Member Functions | |
| Item & | edit (Type type) |
| Gets an editable reference to statistics for a requested render mode. More... | |
Public Attributes | |
| int | _materialSwitches = 0 |
| Number of material switches during this frame. | |
| int | _trianglesRendered = 0 |
| Number of triangles rendered during this frame. | |
| Item | _item |
| Used during regular culling. | |
| Item | _shadow |
| Used during culling items for shadow bounds. | |
| Item | _other |
| Not used currently. | |
Used for gathering statistics about culling in current frame.
Gets an editable reference to statistics for a requested render mode.
If type is not valid, it will be considered as Type::Other.
| type | Mode in which items are drawn. |