allow setting bg texture from ktx

This commit is contained in:
Nick Fisher
2022-09-09 12:59:55 +10:00
parent bac5c07c01
commit 7f2c68b199
7 changed files with 570 additions and 58 deletions

View File

@@ -151,6 +151,10 @@ namespace polyvox {
Material* _imageMaterial = nullptr;
TextureSampler _imageSampler;
ColorGrading *colorGrading = nullptr;
void loadKtx2Texture(string path, ResourceBuffer data);
void loadKtxTexture(string path, ResourceBuffer data);
void loadPngTexture(string path, ResourceBuffer data);
void loadTextureFromPath(string path);
void _createManipulator();
uint32_t _lastFrameTimeInNanos;