Packages
 In this topic

*Methods

 

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

 


Interface IDirect3dDevice

public interface IDirect3dDevice extends IUnknown
{
  // Methods
  public void addViewport(Direct3dViewport vport);
  public void beginScene();
  public Direct3dExecuteBuffer createExecuteBuffer(
        D3dExecuteBufferDesc Desc);
  public int createMatrix();
  public void deleteMatrix(int hdl);
  public void deleteViewport(Direct3dViewport vport);
  public void endScene();
  public void enumTextureFormats(IEnumTextureFormatsCallback fn,
        IUnknown args);
  public void execute(Direct3dExecuteBuffer eb,
        Direct3dViewport vp, int flags);
  public void flushExecuteBuffer(D3dExecuteBufferDesc buf,
        int[] buffer);
  public void getCaps(D3dDeviceDesc HWDesc, D3dDeviceDesc HELDesc);
  public Direct3d getDirect3D();
  public void getMatrix(int hdl, D3dMatrix mat);
  public void getPickRecords(int[] flags, D3dPickRecord val);
  public void getStats(D3dStats stat);
  public void initialize(Direct3d dev, _Guid g, D3dDeviceDesc Desc);
  public Direct3dViewport nextViewport(Direct3dViewport vp1,
        int flags);
  public void pick(Direct3dExecuteBuffer eb,
        Direct3dViewport vport, int flags, D3dRect Rect);
  public void setMatrix(int hdl, D3dMatrix mat);
  public void swapTextureHandles(Direct3dTexture tex1,
        Direct3dTexture tex2);
}

For a description of methods and parameters, see Direct3dDevice

IUnknown
  |
  +--IDirect3dDevice

Methods

addViewport

public void addViewport(Direct3dViewport vport);

beginScene

public void beginScene();

createExecuteBuffer

public Direct3dExecuteBuffer createExecuteBuffer(D3dExecuteBufferDesc Desc);

createMatrix

public int createMatrix();

deleteMatrix

public void deleteMatrix(int hdl);

deleteViewport

public void deleteViewport(Direct3dViewport vport);

endScene

public void endScene();

enumTextureFormats

public void enumTextureFormats(IEnumTextureFormatsCallback fn,
        IUnknown args);

execute

public void execute(Direct3dExecuteBuffer eb, Direct3dViewport vp,
        int flags);

flushExecuteBuffer

public void flushExecuteBuffer(D3dExecuteBufferDesc buf, int[] buffer);

getCaps

public void getCaps(D3dDeviceDesc HWDesc, D3dDeviceDesc HELDesc);

getDirect3D

public Direct3d getDirect3D();

getMatrix

public void getMatrix(int hdl, D3dMatrix mat);

getPickRecords

public void getPickRecords(int[] flags, D3dPickRecord val);

getStats

public void getStats(D3dStats stat);

initialize

public void initialize(Direct3d dev, _Guid g, D3dDeviceDesc Desc);

nextViewport

public Direct3dViewport nextViewport(Direct3dViewport vp1, int flags);

pick

public void pick(Direct3dExecuteBuffer eb, Direct3dViewport vport,
        int flags, D3dRect Rect);

setMatrix

public void setMatrix(int hdl, D3dMatrix mat);

swapTextureHandles

public void swapTextureHandles(Direct3dTexture tex1, Direct3dTexture tex2);

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