How to render to texture

Hi! I’ve read this tutorial [here]( but there is’nt any chapter to render to texture how to do it ?

Rendering to the screen is the same as rendering to a texture, both direct the output of rendering into a VkImage - when rendering to the screen the image comes from the swapchain, if rendering to a texture it is a VkImage you’ve created.
The steps involved in targeting rendering to go into the swapchain images are (mostly) in the Presentation and Framebuffers sections of the tutorial.