Qt 6.x
The Qt SDK
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, QList< T >::size(), 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.

Referenced by QSSGMesh::Mesh::createLightmapUVChannel().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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