Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qssgdataref_p.h File Reference

(b027d2e8e3e8c21121d731c69ee6f399405cb0b6)

#include <QtQuick3DUtils/private/qtquick3dutilsglobal_p.h>
#include <QtCore/qlist.h>
#include <QtCore/qbytearray.h>
Include dependency graph for qssgdataref_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  QSSGDataView< T >
struct  QSSGDataView< quint8 >
struct  QSSGDataRef< T >

Typedefs

using QSSGByteView = QSSGDataView<quint8>
using QSSGByteRef = QSSGDataRef<quint8>

Functions

template<typename T>
QSSGDataView< T > toDataView (const T &type)
template<typename T>
QSSGDataView< T > toDataView (const QList< T > &type)
template<typename T>
QSSGByteView toByteView (const T &type)
template<typename T>
QSSGByteView toByteView (const QList< T > &type)
template<>
QSSGByteView toByteView (const QByteArray &type)
QSSGByteView toByteView (const char *str)
template<typename T>
QSSGDataView< T > toDataView (const T *type, qsizetype count)
template<typename T>
QSSGByteView toByteView (const T *type, qsizetype count)
template<typename T>
QSSGDataRef< T > toDataRef (T &type)
template<typename T>
QSSGByteRef toByteRef (T &type)
template<typename T>
QSSGDataRef< T > toDataRef (T *type, qsizetype count)
template<typename T>
QSSGByteRef toByteRef (T *type, qsizetype count)

Typedef Documentation

◆ QSSGByteRef

Definition at line 205 of file qssgdataref_p.h.

◆ QSSGByteView

Definition at line 108 of file qssgdataref_p.h.

Function Documentation

◆ toByteRef() [1/2]

template<typename T>
QSSGByteRef toByteRef ( T & type)
inline

Definition at line 214 of file qssgdataref_p.h.

◆ toByteRef() [2/2]

template<typename T>
QSSGByteRef toByteRef ( T * type,
qsizetype count )
inline

Definition at line 226 of file qssgdataref_p.h.

◆ toByteView() [1/5]

QSSGByteView toByteView ( const char * str)
inline

Definition at line 140 of file qssgdataref_p.h.

◆ toByteView() [2/5]

template<>
QSSGByteView toByteView ( const QByteArray & type)
inline

Definition at line 135 of file qssgdataref_p.h.

◆ toByteView() [3/5]

template<typename T>
QSSGByteView toByteView ( const QList< T > & type)
inline

Definition at line 129 of file qssgdataref_p.h.

◆ toByteView() [4/5]

template<typename T>
QSSGByteView toByteView ( const T & type)
inline

Definition at line 123 of file qssgdataref_p.h.

◆ toByteView() [5/5]

template<typename T>
QSSGByteView toByteView ( const T * type,
qsizetype count )
inline

Definition at line 152 of file qssgdataref_p.h.

◆ toDataRef() [1/2]

template<typename T>
QSSGDataRef< T > toDataRef ( T & type)
inline

Definition at line 208 of file qssgdataref_p.h.

◆ toDataRef() [2/2]

template<typename T>
QSSGDataRef< T > toDataRef ( T * type,
qsizetype count )
inline

Definition at line 220 of file qssgdataref_p.h.

◆ toDataView() [1/3]

template<typename T>
QSSGDataView< T > toDataView ( const QList< T > & type)
inline

Definition at line 117 of file qssgdataref_p.h.

◆ toDataView() [2/3]

template<typename T>
QSSGDataView< T > toDataView ( const T & type)
inline

Definition at line 111 of file qssgdataref_p.h.

◆ toDataView() [3/3]

template<typename T>
QSSGDataView< T > toDataView ( const T * type,
qsizetype count )
inline

Definition at line 146 of file qssgdataref_p.h.