diff options
Diffstat (limited to 'Runtime/GfxDevice/opengles30/TexturesGLES30.h')
-rw-r--r-- | Runtime/GfxDevice/opengles30/TexturesGLES30.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Runtime/GfxDevice/opengles30/TexturesGLES30.h b/Runtime/GfxDevice/opengles30/TexturesGLES30.h new file mode 100644 index 0000000..94fbb31 --- /dev/null +++ b/Runtime/GfxDevice/opengles30/TexturesGLES30.h @@ -0,0 +1,22 @@ +#ifndef UNITY_TEXTURES_GLES_H_ +#define UNITY_TEXTURES_GLES_H_ + +#include "Configuration/UnityConfigure.h" +#include "Runtime/Graphics/TextureFormat.h" +#include "Runtime/GfxDevice/GfxDeviceTypes.h" + +class ImageReference; + +// \todo [2013-05-03 pyry] Clean up this interface. + +void UploadTexture2DGLES3( + TextureID glname, TextureDimension dimension, UInt8* srcData, int width, int height, + TextureFormat format, int mipCount, UInt32 uploadFlags, int masterTextureLimit, TextureColorSpace colorSpace ); +void UploadTextureSubData2DGLES3( + TextureID glname, UInt8* srcData, + int mipLevel, int x, int y, int width, int height, TextureFormat format, TextureColorSpace colorSpace ); +void UploadTextureCubeGLES3( + TextureID tid, UInt8* srcData, int faceDataSize, int size, + TextureFormat format, int mipCount, UInt32 uploadFlags, TextureColorSpace colorSpace ); + +#endif // UNITY_TEXTURES_GLES_H_ |