enum EE::UI::WebResourceKind

Overview

Semantic type of a cached web resource. More…

#include <webresourcecache.hpp>

enum WebResourceKind: Uint8 {
    Document,
    StyleSheet,
    Font,
    Image,
};

Detailed Documentation

Semantic type of a cached web resource.

The kind is part of cache identity, so one URI requested as a document and as a stylesheet uses distinct entries. Images additionally carry texture decode options in WebResourceRequest.

Enum Values

Document

Top-level HTML or another document response.

StyleSheet

CSS stylesheet response.

Font

Downloadable font response.

Image

Image response decoded into a Graphics::Texture.