|
OpenTTD Source 20261112-master-gbcbec5e63f
|
Structure for an HLSL constant buffer containing the sprite position, screen size, zoom level, and flags for RGB and crash mode. More...
Data Fields | |
| FLOAT | sprite [4] |
| Sprite position. | |
| FLOAT | screen [2] |
| Screen size. | |
| FLOAT | zoom |
| Zoom level. | |
| BOOL | rgb |
| Flag indicating whether RGB mode is enabled. | |
| BOOL | crash |
| Flag indicating whether crash mode is enabled. | |
| FLOAT | pad [3] |
| Padding. | |
Structure for an HLSL constant buffer containing the sprite position, screen size, zoom level, and flags for RGB and crash mode.
Definition at line 37 of file d3d11_v.cpp.
| BOOL HlslConstantBuffer::crash |
Flag indicating whether crash mode is enabled.
Definition at line 42 of file d3d11_v.cpp.
| FLOAT HlslConstantBuffer::pad[3] |
Padding.
Definition at line 43 of file d3d11_v.cpp.
| BOOL HlslConstantBuffer::rgb |
Flag indicating whether RGB mode is enabled.
Definition at line 41 of file d3d11_v.cpp.
| FLOAT HlslConstantBuffer::screen[2] |
Screen size.
Definition at line 39 of file d3d11_v.cpp.
| FLOAT HlslConstantBuffer::sprite[4] |
Sprite position.
Definition at line 38 of file d3d11_v.cpp.
| FLOAT HlslConstantBuffer::zoom |
Zoom level.
Definition at line 40 of file d3d11_v.cpp.