Is there any installed MIME type for the source code of the OpenGL shader program? I know that the official IANA table does not seem to mention one such, so for this it would be necessary to be experimental ( x-β¦ ) or some subtype of the provider ( vnd.β¦ ), possibly of the main type text/β¦ According to What is the correct file extension for GLSL shaders? It seems that for them there is no installed file name extension, but for me this is a completely separate problem.
x-β¦
vnd.β¦
text/β¦
Background:Sometimes I want to include shader code in the <script> for some WebGL application, and I want to write the type= attribute of this tag in a way that is semantically as reasonable as possible, although at the moment I can "I think of any the significant difference that such a choice could make (unless I call it text/javascript or something like that is stupid). But, nevertheless, it would be nice to correspond to any tools that could develop over time, based on currently established standard x, which I do not know yet.
<script>
type=
text/javascript
Khronos' draft glTF project uses text/plain for GLSL files.
text/plain
Source: https://habr.com/ru/post/983539/More articles:Empty content in spring mvc test - springCorresponding vector of default values ββusing match.arg () with or without error [R] - functionORA 06533: subscript counting out of bounds account - oracleLayout from the status bar - Android Lollipop - androidDeclare dynamic array in Oracle PL / SQL - arraysConvert Web.Config in Visual Studio 2013 - How to disable automatic formatting / line breaks? - c #Crashlytics Gradle Plugin - Additional taste options do not work - androidHow to fix a position: relative when using translation - csshow to make maven plugin release skip tests? - mavenHow to delete dbo.AspNetUserClaims and dbo.AspNetUserLogins tables (IdentityUserClaim and IdentityUserLogin objects)? - c #All Articles