Stats
Keeps track of statistics. Initially only a UI, but can also be used "headless" by given a false value for the active constructor argument
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
active: * |
|
| public |
|
|
| public |
groups: {"Tiling": *, "Loading time": *, "Rendering": *, "Stats": *, "Models": *, "Primitives": *, "Data": *, "Drawing": *, "Network": *, "Buffers": *, "BufferSet pool": *, "Renderer settings": *, "Loader settings": *} |
|
| public |
parameters: {} |
|
| public |
|
|
| public |
|
|
Method Summary
| Public Methods | ||
| public |
cleanup() |
|
| public |
dec(groupName: *, key: *, value: *) |
|
| public |
get(group: *, key: *): * |
|
| public |
inc(groupName: *, key: *, value: *) |
|
| public |
init() |
|
| public |
numberWithCommas(x: *): * |
|
| public |
|
|
| public |
setParameter(group: *, key: *, value: *) |
|
| public |
update() |
|
Public Constructors
public constructor() source
Public Members
public active: * source
public groups: {"Tiling": *, "Loading time": *, "Rendering": *, "Stats": *, "Models": *, "Primitives": *, "Data": *, "Drawing": *, "Network": *, "Buffers": *, "BufferSet pool": *, "Renderer settings": *, "Loader settings": *} source
public parameters: {} source
Public Methods
public cleanup() source
public dec(groupName: *, key: *, value: *) source
Params:
| Name | Type | Attribute | Description |
| groupName | * | ||
| key | * | ||
| value | * |
public inc(groupName: *, key: *, value: *) source
Params:
| Name | Type | Attribute | Description |
| groupName | * | ||
| key | * | ||
| value | * |
public init() source
public requestUpdate() source
public setParameter(group: *, key: *, value: *) source
Params:
| Name | Type | Attribute | Description |
| group | * | ||
| key | * | ||
| value | * |
