summaryrefslogtreecommitdiffstats
path: root/examples/vulkan/doc/src/hellovulkantexture.qdoc
blob: 4945000f88c41b86a085991c9bb2e91f4660a961 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only

/*!
    \example hellovulkantexture
    \meta installpath vulkan
    \ingroup examples-vulkan
    \title Hello Vulkan Texture Vulkan Example
    \brief Shows the basics of rendering with textures in a QVulkanWindow.

    The \e{Hello Vulkan Texture Example} builds on \l hellovulkantriangle. Here
    instead of drawing a single triangle, a triangle strip is drawn in order to
    get a quad on the screen. This is then textured using a QImage loaded from
    a .png image file.

    \image hellovulkantexture.png
    \include examples-run.qdocinc
*/