This is a method of the IDirect3dRM Interface.
public Direct3dRMTexture createTexture(D3dRMImage image, byte[] buffer1, byte[] pal);