Swadge ESP32-S2  2.0.0
APIs to develop for the Magfest Swadge
Loading...
Searching...
No Matches
assetProcessor_t Struct Reference

Detailed Description

Defines an asset processor.

#include <assets_preprocessor.h>

Data Fields

const char * name
 A name for this asset processor, if referenced.
processorFormat_t inFmt
 The format this processor accepts its input data in. Ignored for exec.
processorFormat_t outFmt
 The format this processor returns its output data in. Ignored for exec.
processorType_t type
 The type of this asset processor.
union { 
processFn_t function
 A function to call for processing matching files.
const char * exec
 An executable command to call for processing matching files.
}; 

Field Documentation

◆ name

const char* name

A name for this asset processor, if referenced.

◆ inFmt

The format this processor accepts its input data in. Ignored for exec.

◆ outFmt

The format this processor returns its output data in. Ignored for exec.

◆ type

The type of this asset processor.

◆ [union]

union { ... }

The documentation for this struct was generated from the following file: