passthru.vert Example File | Qt3D Module 5.5

- Qt 5.5
- Qt3D Module
- Qt3D: Tessellation Modes QML Example
- passthru.vert Example File
- Qt 5.5.1 Reference Documentation

# passthru.vert Example File

tessellation-modes/shaders/passthru.vert

    #version 400 core

    in vec3 vertexPosition;

    void main()
    {
        // We do the transformations later in the
        // tessellation evaluation shader
        gl_Position = vec4( vertexPosition, 1.0 );
    }