DXPtr is now a class as struct is to restrictive.