aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/templates/wizards/files/glsl/gl/fragment/wizard.json
blob: 900e4f8f68f765a1ab76c7b4ae388ea33b86eec7 (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": "J.GLSL",
    "category": "U.GLSL",
    "trDescription": "Creates a fragment shader in the Desktop OpenGL Shading Language (GLSL). Fragment shaders generate the final pixel colors for triangles, points and lines rendered with OpenGL.",
    "trDisplayName": "Fragment Shader (Desktop OpenGL)",
    "trDisplayCategory": "GLSL",
    "iconText": "frag",
    "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.frag",
                "target": "%{JS: Util.fileName(value('TargetPath'), Util.preferredSuffix('text/x-glsl-frag'))}",
                "openInEditor": true
            }
        }
    ]
}