Skip to content

Kuesa::Qt3D::KTXTexture

Module: Kuesa Qt 3D API

Texture subclass that handles loading ktx files (both KTX1 and KTX2). More...

#include <ktxtexture.h>

Inherits from Qt3DRender::QAbstractTexture

Public Slots

Name
void setSource(const QUrl & source)

Public Signals

Name
void sourceChanged(const QUrl & source)

Public Functions

Name
KTXTexture(Qt3DCore::QNode * parent =nullptr)
~KTXTexture()
QUrl source() const

Public Properties

Name
QUrl source

Detailed Description

1
class Kuesa::Qt3D::KTXTexture;

Texture subclass that handles loading ktx files (both KTX1 and KTX2).

Since: Kuesa 2.0

KTX is a container format backed by the Khronos Group. It allows bundling all types of textures (simple texture with no mipmaps to cube map arrays with mipmaps). Additionally it handles ASTC compressed content.

Public Slots Documentation

slot setSource

1
2
3
void setSource(
    const QUrl & source
)

Public Signals Documentation

signal sourceChanged

1
2
3
void sourceChanged(
    const QUrl & source
)

Public Functions Documentation

function KTXTexture

1
2
3
explicit KTXTexture(
    Qt3DCore::QNode * parent =nullptr
)

function ~KTXTexture

1
~KTXTexture()

function source

1
QUrl source() const

Public Property Documentation

property source

1
QUrl source;

Updated on 2022-10-18 at 11:12:52 +0200