MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ suggested_view_type()

std::string_view MayaFlux::Kakshya::DataAccess::suggested_view_type ( ) const
inline

Get suggested view type for this data's modality.

Returns
String describing recommended view type

Definition at line 98 of file DataAccess.hpp.

99 {
100 switch (m_modality) {
105 return "glm::vec3";
106
108 return "glm::vec2";
109
111 return "glm::vec4";
112
114 return "glm::mat4";
115
119 return "double";
120
124 return "float";
125
126 default:
127 return "unknown";
128 }
129 }
@ AUDIO_MULTICHANNEL
Multi-channel audio.
@ SPECTRAL_2D
2D spectral data (time + frequency)
@ IMAGE_COLOR
2D RGB/RGBA image
@ IMAGE_2D
2D image (grayscale or single channel)

Referenced by validate_structured_access().

+ Here is the caller graph for this function: