MCPcopy Create free account
hub / github.com/baldurk/renderdoc / reset

Method reset

qrenderdoc/Windows/BufferViewer.cpp:629–658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

627 }
628
629 void reset()
630 {
631 if(indices)
632 indices->deref();
633 indices = NULL;
634
635 if(displayIndices)
636 displayIndices->deref();
637 displayIndices = NULL;
638
639 for(BufferData *b : buffers)
640 b->deref();
641
642 meshletVertexPrefixCounts.clear();
643 dispatchSize = {};
644 taskSizes.clear();
645
646 buffers.clear();
647 columns.clear();
648 props.clear();
649 generics.clear();
650 genericsEnabled.clear();
651 numRows = 0;
652 unclampedNumRows = 0;
653
654 statusString.clear();
655
656 noVertices = false;
657 noInstances = false;
658 }
659
660 QString columnName(int col) const
661 {

Callers 1

beginResetMethod · 0.45

Calls 2

derefMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected