|
R-Type
Distributed multiplayer game engine in C++
|
Configuration for scrolling parallax backgrounds. More...
#include <EntityRenderer.hpp>

Public Attributes | |
| std::string | textureName |
| Texture name (loaded texture) | |
| std::string | texturePath |
| Asset path for texture loading. | |
| float | scrollSpeed |
| Scroll speed in pixels/second. | |
| float | scrollOffset |
| Current scroll offset (updates each frame) | |
| int | textureWidth |
| Texture width for tiling. | |
| int | textureHeight |
| Texture height for tiling. | |
| bool | loaded |
| Whether texture is loaded. | |
Configuration for scrolling parallax backgrounds.
Definition at line 98 of file EntityRenderer.hpp.
| bool EntityRenderer::BackgroundConfig::loaded |
Whether texture is loaded.
Definition at line 105 of file EntityRenderer.hpp.
Referenced by EntityRenderer::clearBackground(), EntityRenderer::renderBackground(), EntityRenderer::setBackground(), and EntityRenderer::updateBackground().
| float EntityRenderer::BackgroundConfig::scrollOffset |
Current scroll offset (updates each frame)
Definition at line 102 of file EntityRenderer.hpp.
Referenced by EntityRenderer::renderBackground(), EntityRenderer::setBackground(), and EntityRenderer::updateBackground().
| float EntityRenderer::BackgroundConfig::scrollSpeed |
Scroll speed in pixels/second.
Definition at line 101 of file EntityRenderer.hpp.
Referenced by EntityRenderer::setBackground(), and EntityRenderer::updateBackground().
| int EntityRenderer::BackgroundConfig::textureHeight |
Texture height for tiling.
Definition at line 104 of file EntityRenderer.hpp.
Referenced by EntityRenderer::renderBackground(), and EntityRenderer::setBackground().
| std::string EntityRenderer::BackgroundConfig::textureName |
Texture name (loaded texture)
Definition at line 99 of file EntityRenderer.hpp.
Referenced by EntityRenderer::clearBackground(), EntityRenderer::renderBackground(), and EntityRenderer::setBackground().
| std::string EntityRenderer::BackgroundConfig::texturePath |
Asset path for texture loading.
Definition at line 100 of file EntityRenderer.hpp.
Referenced by EntityRenderer::setBackground().
| int EntityRenderer::BackgroundConfig::textureWidth |
Texture width for tiling.
Definition at line 103 of file EntityRenderer.hpp.
Referenced by EntityRenderer::renderBackground(), EntityRenderer::setBackground(), and EntityRenderer::updateBackground().