Packages
 In this topic

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.directX   Previous This
Package
Next

 


Class Direct3dRMDeviceArray

public class Direct3dRMDeviceArray implements 
            IDirect3dRMDeviceArray
{
  // Methods
  public Direct3dRMDevice getElement(int index);
  public int getSize();
}

Applications use the methods of the Direct3dRMDeviceArray class to organize device objects.

The Direct3dRMDeviceArray object is obtained by calling the getDevices method.

Methods

getElement

public Direct3dRMDevice getElement(int index);

Retrieves one of the Direct3dRMDevice objects associated with this object.

Return Value:

Returns the Direct3dRMDevice object if successful; otherwise, returns null.

ParameterDescription
index Identifies the object to return. Must be a value in the range 0 to one less than the number returned by the getSize method.

getSize

public int getSize();

Retrieves the number of Direct3dRMDevice objects associated with this object.

Return Value:

Returns the number of objects.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.