add fillHeight option to setBackgroundImage

This commit is contained in:
Nick Fisher
2023-09-15 13:00:58 +08:00
parent 3312b88f0a
commit f72ffd6c6a
5 changed files with 23 additions and 8 deletions

View File

@@ -78,7 +78,7 @@ namespace polyvox {
Renderer* getRenderer();
void setBackgroundColor(const float r, const float g, const float b, const float a);
void setBackgroundImage(const char* resourcePath);
void setBackgroundImage(const char* resourcePath, bool fillHeight);
void clearBackgroundImage();
void setBackgroundImagePosition(float x, float y, bool clamp);
void setCameraExposure(float aperture, float shutterSpeed, float sensitivity);