![]() |
PURE API 0.5
PR00F's Ultimate Rendering Engine full documentation
|
Last frame statistics collected until end of frame, then reset at the beginning of next frame. More...
Last frame statistics collected until end of frame, then reset at the beginning of next frame.
Definition at line 54 of file PureRendererHWfixedPipe.cpp.
Public Member Functions | |
LastFrameStats () | |
void | Reset () |
void | Update (const PureObject3D &obj, const TPURE_RENDER_PASS &iRenderPass) |
Updates the per-frame stats with data from the given object. | |
TPureUInt | getObjectsVisible () const |
TPureUInt | getObjectsOccluders () const |
TPureUInt | getOccludeesNonOcclusionTested () const |
TPureUInt | getOccludeesOcclusionTested () const |
TPureUInt | getOccludeesOcclusionTestedAndOccluded () const |
TPureUInt | getOccludeesOcclusionTestedAndNonOccluded () const |
TPureUInt | getOccludeesOcclusionTestedAndNonOccludedButNonVisibleAnyway () const |
TPureUInt | getTransferredVertices () const |
TPureUInt | getTransferredTriangles () const |
PureRendererHWfixedPipeImpl::LastFrameStats::LastFrameStats | ( | ) |
Definition at line 221 of file PureRendererHWfixedPipe.cpp.
TPureUInt PureRendererHWfixedPipeImpl::LastFrameStats::getObjectsOccluders | ( | ) | const |
Definition at line 306 of file PureRendererHWfixedPipe.cpp.
TPureUInt PureRendererHWfixedPipeImpl::LastFrameStats::getObjectsVisible | ( | ) | const |
Definition at line 301 of file PureRendererHWfixedPipe.cpp.
TPureUInt PureRendererHWfixedPipeImpl::LastFrameStats::getOccludeesNonOcclusionTested | ( | ) | const |
Definition at line 311 of file PureRendererHWfixedPipe.cpp.
TPureUInt PureRendererHWfixedPipeImpl::LastFrameStats::getOccludeesOcclusionTested | ( | ) | const |
Definition at line 316 of file PureRendererHWfixedPipe.cpp.
TPureUInt PureRendererHWfixedPipeImpl::LastFrameStats::getOccludeesOcclusionTestedAndNonOccluded | ( | ) | const |
Definition at line 326 of file PureRendererHWfixedPipe.cpp.
TPureUInt PureRendererHWfixedPipeImpl::LastFrameStats::getOccludeesOcclusionTestedAndNonOccludedButNonVisibleAnyway | ( | ) | const |
Definition at line 331 of file PureRendererHWfixedPipe.cpp.
TPureUInt PureRendererHWfixedPipeImpl::LastFrameStats::getOccludeesOcclusionTestedAndOccluded | ( | ) | const |
Definition at line 321 of file PureRendererHWfixedPipe.cpp.
TPureUInt PureRendererHWfixedPipeImpl::LastFrameStats::getTransferredTriangles | ( | ) | const |
Definition at line 341 of file PureRendererHWfixedPipe.cpp.
TPureUInt PureRendererHWfixedPipeImpl::LastFrameStats::getTransferredVertices | ( | ) | const |
Definition at line 336 of file PureRendererHWfixedPipe.cpp.
void PureRendererHWfixedPipeImpl::LastFrameStats::Reset | ( | ) |
Definition at line 226 of file PureRendererHWfixedPipe.cpp.
void PureRendererHWfixedPipeImpl::LastFrameStats::Update | ( | const PureObject3D & | obj, |
const TPURE_RENDER_PASS & | iRenderPass ) |
Updates the per-frame stats with data from the given object.
Only PURE_RPASS_NORMAL renderpass changes the following counters:
Vertex and triangle counters are updated by every renderpass by and kind of object.
Occluders do not update nLastFrameObjectsOcclusionTested even if occlusion testing is enabled for them because the renderer just doesn't test occlusion for occluders. Thus they dont update nLastFrameObjectsNonOccluded and nLastFrameObjectsOccluded either.
Definition at line 252 of file PureRendererHWfixedPipe.cpp.
|
private |
Definition at line 75 of file PureRendererHWfixedPipe.cpp.
|
private |
Definition at line 76 of file PureRendererHWfixedPipe.cpp.
|
private |
Definition at line 72 of file PureRendererHWfixedPipe.cpp.
|
private |
Definition at line 74 of file PureRendererHWfixedPipe.cpp.
|
private |
Definition at line 71 of file PureRendererHWfixedPipe.cpp.
|
private |
Definition at line 73 of file PureRendererHWfixedPipe.cpp.
|
private |
Definition at line 70 of file PureRendererHWfixedPipe.cpp.
|
private |
Definition at line 78 of file PureRendererHWfixedPipe.cpp.
|
private |
Definition at line 77 of file PureRendererHWfixedPipe.cpp.