SpiderPig Posted June 14, 2023 Share 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 Link to comment Share on other sites More sharing options...
Josh Posted June 14, 2023 Share 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. Link to comment Share on other sites More sharing options...
Josh Posted June 14, 2023 Share 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. Link to comment Share on other sites More sharing options...
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.