DDS cubemap support

This commit is contained in:
rextimmy 2017-07-07 15:59:02 +10:00
parent 412c0380f4
commit a2fa9838e5
2 changed files with 50 additions and 17 deletions

View file

@ -63,8 +63,11 @@ public:
// Update a static cubemap @ pos
void updateFaces();
protected:
void setCubeFaceFile(U32 index, FileName newFaceFile);
GFXTexHandle* getCubeMapFace(U32 faceIdx) { return &mCubeFace[faceIdx]; }
protected:
FileName mCubeMapFile;
FileName mCubeFaceFile[6];
GFXTexHandle mCubeFace[6];
@ -73,4 +76,3 @@ protected:
};
#endif // CUBEMAPDATA