Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “For each resource type, we call the relative method on the DescriptorSetCreation
object.”
A block of code is set as follows:
export VULKAN_SDK=~/vulkan/1.2.198.1/x86_64 export PATH=$VULKAN_SDK/bin:$PATH export LD_LIBRARY_PATH=$VULKAN_SDK/lib:$LD_LIBRARY_PATH export VK_LAYER_PATH=$VULKAN_SDK/etc/vulkan/explicit_layer.d
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
VkPhysicalDeviceFeatures2 device_features{ VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2, &indexing_features }; vkGetPhysicalDeviceFeatures2( vulkan_physical_device, &device_features ); bindless_supported = indexing_features. descriptorBindingPartiallyBound && indexing_features. runtimeDescriptorArray;
Any command-line input or output is written as follows:
$ tar -xvf vulkansdk-linux-x86_64-1.2.198.1.tar.gz
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “We then start the application by clicking on Launch, and we will notice an overlay reporting the frame time and the number of frames rendered.”
Tips or important notes
Appear like this.