Browse Source

doc: adapt to a rename of the Textured Triangle example.

pull/525/head
Vladimír Vondruš 5 years ago
parent
commit
46c6509005
  1. 12
      doc/platforms-html5.dox

12
doc/platforms-html5.dox

@ -434,12 +434,12 @@ you need more advanced styling, check out [m.css](https://mcss.mosra.cz).
Emscripten applications don't have access to a filesystem, which means you need Emscripten applications don't have access to a filesystem, which means you need
to bundle the files explicitly. One possibility is via to bundle the files explicitly. One possibility is via
@ref Corrade::Utility::Resource (basically the same way as you probably already @ref Corrade::Utility::Resource (basically the same way as you probably already
bundle shader code etc., as shown in the @ref examples-textured-triangle bundle shader code etc., as shown in the @ref examples-texturedquad example).
example). In this case the file is compiled directly into the `*.wasm` binary, In this case the file is compiled directly into the `*.wasm` binary, which is
which is the most optimal way, but it means you need to port your code away the most optimal way, but it means you need to port your code away from the
from the usual filesystem APIs. Another possibility is via the usual filesystem APIs. Another possibility is via the
@cmake emscripten_embed_file() @ce CMake macro, which is available @cmake emscripten_embed_file() @ce CMake macro, which is available when you
when you build for Emscripten, coming from the [UseEmscripten.cmake](https://github.com/mosra/toolchains/blob/master/modules/UseEmscripten.cmake) build for Emscripten, coming from the [UseEmscripten.cmake](https://github.com/mosra/toolchains/blob/master/modules/UseEmscripten.cmake)
module: module:
@code{.cmake} @code{.cmake}

Loading…
Cancel
Save