Packages
 In this topic

*Methods

 

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

 


Interface IDirect3dRMTexture

public interface IDirect3dRMTexture extends IUnknown
{
  // Methods
  public void addDestroyCallback(Id3drmCallback fn, IUnknown Arg);
  public void changed(int pixels, int palette);
  public void deleteDestroyCallback(Id3drmCallback fn,
        IUnknown args);
  public Direct3dRMTexture duplicate();
  public int getAppData();
  public String getClassName();
  public int getColors();
  public void getDecalOrigin(int[] x, int[] y);
  public int getDecalScale();
  public void getDecalSize(float[] w, float[] h);
  public int getDecalTransparency();
  public int getDecalTransparentColor();
  public D3dRMImage getImage();
  public void getImageBuffer(byte[] buffer1);
  public void getImagePalette(byte[] pal);
  public String getName();
  public int getShades();
  public void initFromFile(String filename);
  public void initFromResource(int rs);
  public void initFromSurface(DirectDrawSurface ddS);
  public void setAppData(int data);
  public void setColors(int c);
  public void setDecalOrigin(int x, int y);
  public void setDecalScale(int s);
  public void setDecalSize(float width, float height);
  public void setDecalTransparency(int trans);
  public void setDecalTransparentColor(int tcolor);
  public void setName(String name);
  public void setShades(int s);
}

For a description of methods and parameters, see Direct3dRMTexture.

IUnknown
  |
  +--IDirect3dRMTexture

Methods

addDestroyCallback

public void addDestroyCallback(Id3drmCallback fn, IUnknown Arg);

changed

public void changed(int pixels, int palette);

deleteDestroyCallback

public void deleteDestroyCallback(Id3drmCallback fn, IUnknown args);

duplicate

public Direct3dRMTexture duplicate();

getAppData

public int getAppData();

getClassName

public String getClassName();

getColors

public int getColors();

getDecalOrigin

public void getDecalOrigin(int[] x, int[] y);

getDecalScale

public int getDecalScale();

getDecalSize

public void getDecalSize(float[] w, float[] h);

getDecalTransparency

public int getDecalTransparency();

getDecalTransparentColor

public int getDecalTransparentColor();

getImage

public D3dRMImage getImage();

getImageBuffer

public void getImageBuffer(byte[] buffer1);

getImagePalette

public void getImagePalette(byte[] pal);

getName

public String getName();

getShades

public int getShades();

initFromFile

public void initFromFile(String filename);

initFromResource

public void initFromResource(int rs);

initFromSurface

public void initFromSurface(DirectDrawSurface ddS);

setAppData

public void setAppData(int data);

setColors

public void setColors(int c);

setDecalOrigin

public void setDecalOrigin(int x, int y);

setDecalScale

public void setDecalScale(int s);

setDecalSize

public void setDecalSize(float width, float height);

setDecalTransparency

public void setDecalTransparency(int trans);

setDecalTransparentColor

public void setDecalTransparentColor(int tcolor);

setName

public void setName(String name);

setShades

public void setShades(int s);

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