Searched refs:numCells (Results 1 – 6 of 6) sorted by relevance
59 Optional<int32_t> numCells = m_pNode->GetNumberOfCells(); in UpdateWidgetProperty() local60 if (numCells && *numCells > 0) { in UpdateWidgetProperty()62 pWidget->SetLimit(*numCells); in UpdateWidgetProperty()
94 Optional<int32_t> numCells = m_pNode->GetNumberOfCells(); in UpdateWidgetProperty() local95 if (numCells && *numCells > 0) { in UpdateWidgetProperty()97 pPicker->SetEditLimit(*numCells); in UpdateWidgetProperty()
96 Optional<int32_t> numCells = m_pNode->GetNumberOfCells(); in UpdateWidgetProperty() local97 if (!numCells) { in UpdateWidgetProperty()99 } else if (*numCells == 0) { in UpdateWidgetProperty()104 pWidget->SetLimit(*numCells); in UpdateWidgetProperty()
339 std::vector<UVec4> generateGrid (const int numCells, const UVec2& renderSize) in generateGrid() argument341 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid()342 …const int numRows = deCeilFloatToInt32(static_cast<float>(numCells) / static_cast<float>(numCols)… in generateGrid()347 cells.reserve(numCells); in generateGrid()352 for (int cellNdx = 0; cellNdx < numCells; ++cellNdx) in generateGrid()
476 std::vector<UVec4> generateGrid (const int numCells, const UVec2& renderSize) in generateGrid() argument478 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid()479 …const int numRows = deCeilFloatToInt32(static_cast<float>(numCells) / static_cast<float>(numCols)… in generateGrid()484 cells.reserve(numCells); in generateGrid()489 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()