Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSSGLightmapUVGenerator Class Reference

#include <qssglightmapuvgenerator_p.h>

+ Collaboration diagram for QSSGLightmapUVGenerator:

Public Member Functions

QSSGLightmapUVGeneratorResult run (const QByteArray &positions, const QByteArray &normals, const QByteArray &uv0, const QByteArray &index, QSSGMesh::Mesh::ComponentType indexComponentType, uint baseResolution)
 

Static Public Member Functions

template<typename T >
static QByteArray remap (const QByteArray &source, const QVector< quint32 > &vertexMap, int componentCount)
 

Detailed Description

Definition at line 35 of file qssglightmapuvgenerator_p.h.

Member Function Documentation

◆ remap()

template<typename T >
static QByteArray QSSGLightmapUVGenerator::remap ( const QByteArray & source,
const QVector< quint32 > & vertexMap,
int componentCount )
inlinestatic

Definition at line 76 of file qssglightmapuvgenerator_p.h.

References i, j, QByteArray(), and Qt::Uninitialized.

+ Here is the call graph for this function:

◆ run()

QT_BEGIN_NAMESPACE QSSGLightmapUVGeneratorResult QSSGLightmapUVGenerator::run ( const QByteArray & positions,
const QByteArray & normals,
const QByteArray & uv0,
const QByteArray & index,
QSSGMesh::Mesh::ComponentType indexComponentType,
uint baseResolution )

Definition at line 9 of file qssglightmapuvgenerator.cpp.

References QSSGMesh::MeshInternal::byteSizeForComponentType(), QByteArray::constData(), i, QByteArray::isEmpty(), output, positions, and qWarning.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: