Fix GPUTexture::GetData to properly handle volume textures
This commit is contained in:
@@ -26,6 +26,7 @@ public:
|
||||
|
||||
bool GetPixels(Array<Color32>& pixels, int32 width, int32 height, PixelFormat format) const;
|
||||
bool GetPixels(Array<Color>& pixels, int32 width, int32 height, PixelFormat format) const;
|
||||
void Copy(void* data, uint32 dataRowPitch, uint32 dataDepthPitch, uint32 dataDepthSlices, uint32 targetRowPitch);
|
||||
|
||||
template<typename T>
|
||||
T& Get(int32 x, int32 y)
|
||||
|
||||
Reference in New Issue
Block a user