|
resonance 1.0.1
|
Rectangle of four floats. More...
#include <gfxdevice.h>
Public Attributes | |
| float | x |
| float | y |
| float | w |
| float | h |
Rectangle of four floats.
SetupGsDrawContext() measures one in fractions of the display, and the debug overlay in GS primitive pixels. The name and the fields are inferred. The type is four floats aligned to a word rather than a Color. Renderer::Draw() copies one into mFeedbackRect with unaligned doubleword loads and stores (ldl, sdl), whereas SetClearColor() copies its Color with quadword loads and stores (lq, sq). The compiler emits a quadword access only for a 16-byte aligned type.
| float GfxDevice::Rect::x |
Left edge.
| float GfxDevice::Rect::y |
Top edge.
| float GfxDevice::Rect::w |
Width.
| float GfxDevice::Rect::h |
Height.