MCPcopy Create free account
hub / github.com/TASEmulators/fceux / emu_setrenderplanes

Function emu_setrenderplanes

src/lua-engine.cpp:411–416  ·  view source on GitHub ↗

* Toggle certain rendering planes * emu.setrenderingplanes(sprites, background) * Accepts two (lua) boolean values and acts accordingly */

Source from the content-addressed store, hash-verified

409 * Accepts two (lua) boolean values and acts accordingly
410*/
411static int emu_setrenderplanes(lua_State *L) {
412 bool sprites = (lua_toboolean( L, 1 ) == 1);
413 bool background = (lua_toboolean( L, 2 ) == 1);
414 FCEUI_SetRenderPlanes(sprites, background);
415 return 0;
416}
417
418///////////////////////////
419

Callers

nothing calls this directly

Calls 2

lua_tobooleanFunction · 0.85
FCEUI_SetRenderPlanesFunction · 0.85

Tested by

no test coverage detected