Rerun C++ SDK
|
Component: A standardized media type (RFC2046, formerly known as MIME types), encoded as a utf8 string. More...
#include <rerun/components/media_type.hpp>
Public Member Functions | |
MediaType (const char *media_type) | |
Construct media type from a null-terminated UTF8 string. | |
MediaType (rerun::datatypes::Utf8 value_) | |
MediaType & | operator= (rerun::datatypes::Utf8 value_) |
MediaType (std::string value_) | |
MediaType & | operator= (std::string value_) |
operator rerun::datatypes::Utf8 () const | |
Cast to the underlying Utf8 datatype. | |
Static Public Member Functions | |
static MediaType | plain_text () |
text/plain | |
static MediaType | markdown () |
text/markdown | |
static MediaType | gltf () |
glTF (https://en.wikipedia.org/wiki/GlTF): model/gltf+json . | |
static MediaType | glb () |
Binary glTF (https://en.wikipedia.org/wiki/GlTF): model/gltf-binary . | |
static MediaType | obj () |
Wavefront .obj: model/obj . | |
Public Attributes | |
rerun::datatypes::Utf8 | value |
Component: A standardized media type (RFC2046, formerly known as MIME types), encoded as a utf8 string.
The complete reference of officially registered media types is maintained by the IANA and can be consulted at https://www.iana.org/assignments/media-types/media-types.xhtml.
|
inlinestatic |
|
inlinestatic |
glTF
(https://en.wikipedia.org/wiki/GlTF): model/gltf+json
.
https://www.iana.org/assignments/media-types/model/gltf+json
|
inlinestatic |
Binary glTF
(https://en.wikipedia.org/wiki/GlTF): model/gltf-binary
.
https://www.iana.org/assignments/media-types/model/gltf-binary
|
inlinestatic |