OpenTTD Source 20261112-master-gbcbec5e63f
HlslConstantBuffer Struct Reference

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.

Detailed Description

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.

Field Documentation

◆ crash

BOOL HlslConstantBuffer::crash

Flag indicating whether crash mode is enabled.

Definition at line 42 of file d3d11_v.cpp.

◆ pad

FLOAT HlslConstantBuffer::pad[3]

Padding.

Definition at line 43 of file d3d11_v.cpp.

◆ rgb

BOOL HlslConstantBuffer::rgb

Flag indicating whether RGB mode is enabled.

Definition at line 41 of file d3d11_v.cpp.

◆ screen

FLOAT HlslConstantBuffer::screen[2]

Screen size.

Definition at line 39 of file d3d11_v.cpp.

◆ sprite

FLOAT HlslConstantBuffer::sprite[4]

Sprite position.

Definition at line 38 of file d3d11_v.cpp.

◆ zoom

FLOAT HlslConstantBuffer::zoom

Zoom level.

Definition at line 40 of file d3d11_v.cpp.


The documentation for this struct was generated from the following file: