Get suggested view type for this data's modality.
- Returns
- String describing recommended view type
Definition at line 98 of file DataAccess.hpp.
99 {
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)
@ AUDIO_1D
1D audio signal
@ TEXTURE_2D
2D texture data
@ IMAGE_COLOR
2D RGB/RGBA image
@ IMAGE_2D
2D image (grayscale or single channel)
Referenced by validate_structured_access().