QtCraft API C++ classes QML types Handbook

QcTextureTools::ExportRequest Struct

struct QcTextureTools::ExportRequest

What exportPack() writes (the options of –export-textures). More...

Header: #include <headless/QcTextureTools.h>

Public Variables

QString directory
QStringList keys
QString modsDirectory
QString name
QStringList packs
int resolution

Detailed Description

Member Variable Documentation

QString ExportRequest::directory

The directory the pack is written into.

QStringList ExportRequest::keys

Only these texture names ("qtcraft:stone"); all when empty.

QString ExportRequest::modsDirectory

The mods directory whose texture packs packs may name too.

QString ExportRequest::name

The pack's name in the manifest; empty for Exported textures <resolution>x.

QStringList ExportRequest::packs

Packs drawn over the content, the first with the highest priority ("builtin:qtcraft_hd_32").

int ExportRequest::resolution

Tile size in pixels: a power of two from 16 to 512.