4#ifndef QSSGLIGHTMAPUVGENERATOR_P_H
5#define QSSGLIGHTMAPUVGENERATOR_P_H
18#include <QtQuick3DUtils/private/qssgmesh_p.h>
80 const T *
src =
reinterpret_cast<const T *
>(
source.constData());
81 const int byteStride =
sizeof(T) * componentCount;
83 T *
dst =
reinterpret_cast<T *
>(
result.data());
85 const quint32 originalVertexIndex = vertexMap[
i];
86 for (
int j = 0;
j < componentCount; ++
j)
87 *
dst++ =
src[originalVertexIndex * componentCount +
j];
bool isEmpty() const noexcept
Returns true if the byte array has size 0; otherwise returns false.
qsizetype size() const noexcept
static QByteArray remap(const QByteArray &source, const QVector< quint32 > &vertexMap, int componentCount)
Combined button and popup list for selecting options.
constexpr Initialization Uninitialized
static const QCssKnownValue positions[NumKnownPositionModes - 1]
GLenum GLenum GLsizei count
GLsizei GLsizei GLchar * source
QByteArray lightmapUVChannel
QVector< quint32 > vertexMap