Lines Matching refs:translated
273 …sizei count, Buffer *buffer, const void *indices, TranslatedIndexData *translated, bool primitiveR… in prepareIndexData() argument
293 computeRange(type, indices, count, &translated->minIndex, &translated->maxIndex, restartIndices); in prepareIndexData()
301 …int vertexPerPrimitive = recomputePrimitiveCount(mode, count, *restartIndices, &translated->primit… in prepareIndexData()
309 int convertCount = translated->primitiveCount * vertexPerPrimitive; in prepareIndexData()
324 translated->indexBuffer = streamingBuffer->getResource(); in prepareIndexData()
325 translated->indexOffset = static_cast<unsigned int>(streamOffset); in prepareIndexData()
330 translated->indexBuffer = staticBuffer; in prepareIndexData()
331 translated->indexOffset = static_cast<unsigned int>(offset); in prepareIndexData()
350 translated->indexBuffer = streamingBuffer->getResource(); in prepareIndexData()
351 translated->indexOffset = static_cast<unsigned int>(streamOffset); in prepareIndexData()
354 if(translated->minIndex < start || translated->maxIndex > end) in prepareIndexData()
356 …provided: [%d -> %d]. Range used: [%d -> %d].", start, end, translated->minIndex, translated->maxI… in prepareIndexData()