Searched refs:numCells (Results 1 – 6 of 6) sorted by relevance
57 Optional<int32_t> numCells = m_pNode->GetWidgetAcc()->GetNumberOfCells(); in UpdateWidgetProperty() local58 if (numCells && *numCells > 0) { in UpdateWidgetProperty()60 pWidget->SetLimit(*numCells); in UpdateWidgetProperty()
88 Optional<int32_t> numCells = m_pNode->GetWidgetAcc()->GetNumberOfCells(); in UpdateWidgetProperty() local89 if (numCells && *numCells > 0) { in UpdateWidgetProperty()91 pWidget->SetEditLimit(*numCells); in UpdateWidgetProperty()
95 Optional<int32_t> numCells = m_pNode->GetWidgetAcc()->GetNumberOfCells(); in UpdateWidgetProperty() local96 if (!numCells) { in UpdateWidgetProperty()98 } else if (*numCells == 0) { in UpdateWidgetProperty()103 pWidget->SetLimit(*numCells); in UpdateWidgetProperty()
429 std::vector<UVec4> generateGrid (const int numCells, const UVec2& renderSize) in generateGrid() argument431 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid()432 …const int numRows = deCeilFloatToInt32(static_cast<float>(numCells) / static_cast<float>(numCols)… in generateGrid()437 cells.reserve(numCells); in generateGrid()442 for (int cellNdx = 0; cellNdx < numCells; ++cellNdx) in generateGrid()
653 std::vector<UVec4> generateGrid (const int numCells, const UVec2& renderSize) in generateGrid() argument655 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid()656 …const int numRows = deCeilFloatToInt32(static_cast<float>(numCells) / static_cast<float>(numCols)… in generateGrid()661 cells.reserve(numCells); in generateGrid()666 for (int cellNdx = 0; cellNdx < numCells; ++cellNdx) in generateGrid()
1003 const int numCells = GRID_SIZE*GRID_SIZE; in createBuffers() local1004 const int numPositionCells = (instanced) ? (1) : (numCells); in createBuffers()1007 const int numColorOffsetElements = numInstanceElementsPerCell * numCells; in createBuffers()