Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Vulkan

You're reading from   Learning Vulkan Get introduced to the next generation graphics API—Vulkan

Arrow left icon
Product type Paperback
Published in Dec 2016
Publisher Packt
ISBN-13 9781786469809
Length 466 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Parminder Singh Parminder Singh
Author Profile Icon Parminder Singh
Parminder Singh
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Getting Started with the NextGen 3D Graphics API 2. Your First Vulkan Pseudo Program FREE CHAPTER 3. Shaking Hands with the Device 4. Debugging in Vulkan 5. Command Buffer and Memory Management in Vulkan 6. Allocating Image Resources and Building a Swapchain with WSI 7. Buffer Resource, Render Pass, Framebuffer, and Shaders with SPIR-V 8. Pipelines and Pipeline State Management 9. Drawing Objects 10. Descriptors and Push Constant 11. Drawing Textures

Fitting it all together

This section provides a short description of the working of our first Vulkan pseudo application. The following diagram is a snapshot of the working model:

Fitting it all together

First, the application creates the Vulkan instance and device at the initialization stage with the necessary layers enabled and extensions created. The device exposes various queues (graphics or compute) as shown in the preceding diagram. These queues gather the command buffers and submit them to the physical device for processing.

Using the WSI extension, drawing surfaces are prepared for rendering graphic contents. The swapchain exposes these drawing surface as images, which are used in the form of image views. Similarly, the depth image view is prepared. These image view objects are used by the framebuffer. Render Pass makes use of this framebuffer to define a unit-rendering operation.

The command buffer is allocated from command buffer pools, and it is used to record various commands along with the Render Pass...

You have been reading a chapter from
Learning Vulkan
Published in: Dec 2016
Publisher: Packt
ISBN-13: 9781786469809
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £16.99/month. Cancel anytime