|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
The viewport last set, so a pass that borrows the device can give it back. More...
#include <GfxDevice.hpp>
Public Attributes | |
| i32 | x = 0 |
| i32 | y = 0 |
| u32 | w = 0 |
| u32 | h = 0 |
The viewport last set, so a pass that borrows the device can give it back.
Mirrored here because neither API this wraps reads it back cheaply, and a pass rendering elsewhere cannot recompute what to restore: a split-screen camera owns only part of the target. Set in setViewport.
Definition at line 288 of file GfxDevice.hpp.
| u32 esengine::GfxDevice::Viewport::h = 0 |
Definition at line 288 of file GfxDevice.hpp.
| u32 esengine::GfxDevice::Viewport::w = 0 |
Definition at line 288 of file GfxDevice.hpp.
| i32 esengine::GfxDevice::Viewport::x = 0 |
Definition at line 288 of file GfxDevice.hpp.
| i32 esengine::GfxDevice::Viewport::y = 0 |
Definition at line 288 of file GfxDevice.hpp.