add fillHeight option to setBackgroundImage

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

No files matched your search

+1 -1
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);