Skip to content

information missmatch/missing after adding modules and raii #141

@friskobar

Description

@friskobar

if you go to the first chapter's attachments here https://docs.vulkan.org/tutorial/latest/_attachments/00_base_code.cpp ...
you will notice the inclusion of these few lines of code:

#ifdef __INTELLISENSE__
#include <vulkan/vulkan_raii.hpp>
#else
import vulkan_hpp;
#endif

which stop intelissense from throwing errors with the import token.

however, this is never actually mentioned on the tutorial at all, so viewers might stumble upon this and get stuck.

also, there are still these lines on chapter 0:

#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>

despite now, we using the vulkan module, which (from my understanding, considering these lines arent on the attachment) invalidates the need of including vulkan in glfw3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions