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
Vulkan Cookbook

You're reading from   Vulkan Cookbook Work through recipes to unlock the full potential of the next generation graphics API—Vulkan

Arrow left icon
Product type Paperback
Published in Apr 2017
Publisher Packt
ISBN-13 9781786468154
Length 700 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Pawel Lapinski Pawel Lapinski
Author Profile Icon Pawel Lapinski
Pawel Lapinski
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Instance and Devices FREE CHAPTER 2. Image Presentation 3. Command Buffers and Synchronization 4. Resources and Memory 5. Descriptor Sets 6. Render Passes and Framebuffers 7. Shaders 8. Graphics and Compute Pipelines 9. Command Recording and Drawing 10. Helper Recipes 11. Lighting 12. Advanced Rendering Techniques

Introduction

In modern computer graphics, most of the rendering and processing of image data (such as vertices, pixels, or fragments) is done with a programmable pipeline and shaders. Shaders, to operate properly and to generate appropriate results, need to access additional data sources such as textures, samplers, buffers, or uniform variables. In Vulkan, these are provided through sets of descriptors.

Descriptors are opaque data structures that represent shader resources. They are organized into groups or sets and their contents are specified by descriptor set layouts. To provide resources to shaders, we bind descriptor sets to pipelines. We can bind multiple sets at once. To access resources from within shaders, we need to specify from which set and from which location within a set (called a binding) the given resource is acquired.

In this chapter, we will learn about the various descriptor types. We will see...

lock icon The rest of the chapter is locked
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 $19.99/month. Cancel anytime