Back to class index
| Texture::CopyRegionSyntaxvoid Texture::CopyRegion(Texture &dst, int dstSubResourceIndex, int dstX, int dstY, int dstZ, Texture &src, int srcSubResourceIndex, int srcX, int srcY, int srcZ, int width, int height, int depth);Performs a GPU-side blit of a subregion of one 3D texture to another. Work in progress:Todo: in void Texture::CopyRegion(Texture &dst, int dstSubResourceIndex, int dstX, int dstY, int dstZ, Texture &src, int srcSubResourceIndex, int srcX, int srcY, int srcZ, int width, int height, int depth): For genericity, could check z values and do a 2D texture copy if appropriate. Todo: in void Texture::CopyRegion(Texture &dst, int dstSubResourceIndex, int dstX, int dstY, int dstZ, Texture &src, int srcSubResourceIndex, int srcX, int srcY, int srcZ, int width, int height, int depth): Add support for 3D textures! Leave a Comment |