Imagination PowerVR SDK Blog

C# wrapper for PVRTexLib.dll?


#1

I’m working on an image viewer in C# and would like to add support for PVRTC images.



In the SDK I only see examples and libraries for C++. Is there any C# wrapper available to use with PVRTexLib.dll?

I only need to load the image and display it in a picturebox.


#2

Hello Chipicao,



We do not have a C# wrapper for PVRTexLib.dll.



I believe you can wrap PVRTexLib.dll into C# using the ‘PlatformInvoke’ feature:



msdn.microsoft.com/en-us/library/26thfadc(v=vs.110).aspx



Thanks,

Paul