SpiderPig Posted June 14, 2023 Posted June 14, 2023 Can a texture be saved to a stream and then loaded back again with LoadTexture(stream)? auto stream = WriteFile(filename); //Write some stuff texture->Save(stream); stream.Close(); Quote
Josh Posted June 14, 2023 Posted June 14, 2023 Textures may not contain the actual pixel data in memory, and cannot be saved. Pixmaps can be saved. If a pixmap is saved to a stream, the stream path must be a supported pixmap save file format. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Josh Posted June 14, 2023 Posted June 14, 2023 You can also capture a screenshot from Vulkan with this command: https://www.ultraengine.com/learn/Framebuffer_Capture?lang=cpp Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.