mirror of
https://github.com/ocornut/imgui.git
synced 2025-02-19 20:11:41 +01:00
Remove Loading from Memory section, as functions are now provided
parent
261aace79b
commit
94a10d4df1
@ -11,7 +11,6 @@
|
||||
- [Example for SDL_Renderer users](#example-for-sdl_renderer-users)
|
||||
- [Example for Vulkan users](#example-for-vulkan-users)
|
||||
- [Example for WebGPU users](#example-for-webgpu-users)
|
||||
- [Loading from Memory](#loading-from-memory)
|
||||
- [About Texture Coordinates](#about-texture-coordinates)
|
||||
|
||||
## TL;DR;
|
||||
@ -1073,16 +1072,6 @@ wgpuTextureRelease(my_texture);
|
||||
|
||||
----
|
||||
|
||||
## Loading from Memory
|
||||
|
||||
If instead of loading from a file you would like to load from memory, you can call `stbi_load_from_memory()` instead of `stbi_load()`.
|
||||
All `LoadTextureFromFile()` function could be reworked to call `LoadTextureFromMemory()` which contains most of the code.
|
||||
See our implementation of `LoadTextureFromFile()` for OpenGL, DX11, DX12 and WebGPU examples.
|
||||
|
||||
##### [Return to Index](#index)
|
||||
|
||||
----
|
||||
|
||||
## About Texture Coordinates
|
||||
|
||||
See e.g. http://wiki.polycount.com/wiki/Texture_Coordinates
|
||||
|
Loading…
x
Reference in New Issue
Block a user