Posts

  • Hello world!

    Welcome to WordPress. This is your first post. Edit or delete it, then start writing! 1

    Poop
    void createTextureImage() {
        int texWidth, texHeight, texChannels;
        stbi_uc* pixels = stbi_load("textures/texture.jpg", &texWidth, &texHeight, &texChannels, STBI_rgb_alpha);
        VkDeviceSize imageSize = texWidth * texHeight * 4;
    
        if (!pixels) {
            throw std::runtime_error("failed to load texture image!");
        }
    }