IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Hello Vulkan Triangle Example

Shows the basics of rendering with https:// and the Vulkan API.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Hello Vulkan Triangle Example▲

The Hello Vulkan Triangle Example builds on https://. This time a full graphics pipeline is created, including a vertex and fragment shader. This pipeline is then used to render a triangle.

Image non disponible

The example also demonstrates multisample antialiasing. Based on the supported sample counts reported by https://() the example chooses between 8x, 4x, or no multisampling. Once configured via QVulkanWindow::setSamples(), https:// takes care of the rest: the additional multisample color buffers are created automatically, and resolving into the swapchain buffers is performed at the end of the default render pass for each frame.

Running the Example▲

To run the example from http://, open the Welcome mode and select the example from Examples. For more information, visit http://.

List of Files▲

Files:

List of Files▲

  • hellovulkantriangle/hellovulkantriangle.pro

  • hellovulkantriangle/hellovulkantriangle.qrc

  • hellovulkantriangle/main.cpp

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+   

Ce document est disponible sous la licence https:// telle que publiée par la Free Software Foundation.