Fixed 3D textures conversion.

This commit is contained in:
Branimir Karadžić
2017-08-21 18:09:14 -07:00
parent 3cc556778b
commit 670f07ce81
5 changed files with 362 additions and 295 deletions

View File

@@ -194,6 +194,7 @@ namespace bimg
TextureFormat::Enum m_format;
uint32_t m_width;
uint32_t m_height;
uint32_t m_depth;
uint32_t m_blockSize;
uint32_t m_size;
uint8_t m_bpp;
@@ -285,6 +286,7 @@ namespace bimg
void* _dst
, uint32_t _width
, uint32_t _height
, uint32_t _depth
, uint32_t _srcPitch
, const void* _src
);
@@ -294,6 +296,7 @@ namespace bimg
void* _dst
, uint32_t _width
, uint32_t _height
, uint32_t _depth
, uint32_t _srcPitch
, const void* _src
);
@@ -303,6 +306,7 @@ namespace bimg
void* _dst
, uint32_t _width
, uint32_t _height
, uint32_t _depth
, uint32_t _srcPitch
, const void* _src
);
@@ -312,6 +316,7 @@ namespace bimg
void* _dst
, uint32_t _width
, uint32_t _height
, uint32_t _depth
, uint32_t _srcPitch
, const void* _src
);
@@ -385,6 +390,7 @@ namespace bimg
, UnpackFn _unpack
, uint32_t _width
, uint32_t _height
, uint32_t _depth
, uint32_t _srcPitch
);
@@ -396,6 +402,7 @@ namespace bimg
, TextureFormat::Enum _srcFormat
, uint32_t _width
, uint32_t _height
, uint32_t _depth
);
///
@@ -540,6 +547,7 @@ namespace bimg
, const void* _src
, uint32_t _width
, uint32_t _height
, uint32_t _depth
, uint32_t _dstPitch
, TextureFormat::Enum _format
);

View File

@@ -28,6 +28,7 @@ namespace bimg
, const void* _src
, uint32_t _width
, uint32_t _height
, uint32_t _depth
, TextureFormat::Enum _format
, Quality::Enum _quality
, bx::Error* _err = NULL
@@ -40,6 +41,7 @@ namespace bimg
, const void* _src
, uint32_t _width
, uint32_t _height
, uint32_t _depth
, TextureFormat::Enum _format
, Quality::Enum _quality
, bx::Error* _err = NULL
@@ -50,6 +52,7 @@ namespace bimg
void* _dst
, uint32_t _width
, uint32_t _height
, uint32_t _depth
, uint32_t _pitch
, const void* _src
);