This method of the Direct3dRM Class loads a texture from the specified file. This texture can have 8, 24, or 32 bits-per-pixel, and it should be in either the Windows bitmap (.bmp) or Portable Pixmap (.ppm) P6 format.
public Direct3dRMTexture loadTexture(String name);
Returns the Direct3dRMTexture object if successful; otherwise, null.
name | The name of the required .bmp or .ppm file. |