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>.
|
Public Member Functions | |
QMetalTextureData (QMetalTexture *t) | |
id< MTLTexture > | viewForLevel (int level) |
Public Attributes | |
QMetalTexture * | q |
MTLPixelFormat | format |
id< MTLTexture > | tex = nil |
id< MTLBuffer > | stagingBuf [QMTL_FRAMES_IN_FLIGHT] |
bool | owns = true |
id< MTLTexture > | perLevelViews [QRhi::MAX_MIP_LEVELS] |
Definition at line 288 of file qrhimetal.mm.
|
inline |
Definition at line 290 of file qrhimetal.mm.
id< MTLTexture > QMetalTextureData::viewForLevel | ( | int | level | ) |
Definition at line 3923 of file qrhimetal.mm.
References QRhiTexture::CubeMap, perLevelViews, Q_ASSERT, qMax(), tex, QRhiTexture::TextureArray, and view.
MTLPixelFormat QMetalTextureData::format |
Definition at line 293 of file qrhimetal.mm.
Referenced by QMetalTexture::create(), and QMetalTexture::prepareCreate().
bool QMetalTextureData::owns = true |
Definition at line 296 of file qrhimetal.mm.
Referenced by QMetalTexture::create(), QMetalTexture::createFrom(), and QMetalTexture::destroy().
id<MTLTexture> QMetalTextureData::perLevelViews[QRhi::MAX_MIP_LEVELS] |
Definition at line 297 of file qrhimetal.mm.
Referenced by QMetalTexture::QMetalTexture(), QMetalTexture::destroy(), and viewForLevel().
QMetalTexture* QMetalTextureData::q |
Definition at line 292 of file qrhimetal.mm.
id<MTLBuffer> QMetalTextureData::stagingBuf[QMTL_FRAMES_IN_FLIGHT] |
Definition at line 295 of file qrhimetal.mm.
Referenced by QMetalTexture::QMetalTexture(), and QMetalTexture::destroy().
id<MTLTexture> QMetalTextureData::tex = nil |
Definition at line 294 of file qrhimetal.mm.
Referenced by QMetalTexture::create(), QMetalTexture::createFrom(), QMetalTexture::destroy(), QMetalTexture::nativeTexture(), QMetalTexture::prepareCreate(), and viewForLevel().