aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/templates/wizards/files/glsl/gl/vertex/wizard.json
blob: 38d2df2947b1d1d2a474c8245653f7cb93831b82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
    "version": 1,
    "supportedProjectTypes": [ ],
    "id": "K.GLSL",
    "category": "U.GLSL",
    "trDescription": "Creates a vertex shader in the Desktop OpenGL Shading Language (GLSL). Vertex shaders transform the positions, normals and texture coordinates of triangles, points and lines rendered with OpenGL.",
    "trDisplayName": "Vertex Shader (Desktop OpenGL)",
    "trDisplayCategory": "GLSL",
    "iconText": "vert",
    "platformIndependent": true,
    "enabled": "%{JS: value('Plugins').indexOf('GLSLEditor') >= 0}",

    "pages" :
    [
        {
            "trDisplayName": "Location",
            "trShortTitle": "Location",
            "typeId": "File"
        },
        {
            "trDisplayName": "Project Management",
            "trShortTitle": "Summary",
            "typeId": "Summary"
        }
    ],
    "generators" :
    [
        {
            "typeId": "File",
            "data":
            {
                "source": "file.vert",
                "target": "%{JS: Util.fileName(value('TargetPath'), Util.preferredSuffix('text/x-glsl-vert'))}",
                "openInEditor": true
            }
        }
    ]
}