Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.7 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1998
  6. //
  7. // File: d3drmmaterial2obj.cpp
  8. //
  9. //--------------------------------------------------------------------------
  10. // d3drmMaterial2Obj.cpp : Implementation of CDirectApp and DLL registration.
  11. #include "stdafx.h"
  12. #include "Direct.h"
  13. #include "dms.h"
  14. #include "d3drmMaterial2Obj.h"
  15. CONSTRUCTOR(_dxj_Direct3dRMMaterial2, {});
  16. DESTRUCTOR(_dxj_Direct3dRMMaterial2, {});
  17. GETSET_OBJECT(_dxj_Direct3dRMMaterial2);
  18. CLONE_R(_dxj_Direct3dRMMaterial2,Direct3DRMMaterial2);
  19. GETNAME_R(_dxj_Direct3dRMMaterial2);
  20. SETNAME_R(_dxj_Direct3dRMMaterial2);
  21. GETCLASSNAME_R(_dxj_Direct3dRMMaterial2);
  22. ADDDESTROYCALLBACK_R(_dxj_Direct3dRMMaterial2);
  23. DELETEDESTROYCALLBACK_R(_dxj_Direct3dRMMaterial2);
  24. GET_DIRECT_R(_dxj_Direct3dRMMaterial2, getAppData, GetAppData, long);
  25. PASS_THROUGH_CAST_1_R(_dxj_Direct3dRMMaterial2, setAppData, SetAppData, long,(DWORD));
  26. PASS_THROUGH1_R(_dxj_Direct3dRMMaterial2, setPower, SetPower, d3dvalue);
  27. PASS_THROUGH3_R(_dxj_Direct3dRMMaterial2, setSpecular, SetSpecular, d3dvalue, d3dvalue, d3dvalue);
  28. PASS_THROUGH3_R(_dxj_Direct3dRMMaterial2, setAmbient, SetAmbient, d3dvalue, d3dvalue, d3dvalue);
  29. PASS_THROUGH3_R(_dxj_Direct3dRMMaterial2, setEmissive, SetEmissive, d3dvalue, d3dvalue, d3dvalue);
  30. PASS_THROUGH3_R(_dxj_Direct3dRMMaterial2, getSpecular, GetSpecular, d3dvalue*, d3dvalue*, d3dvalue*);
  31. PASS_THROUGH3_R(_dxj_Direct3dRMMaterial2, getEmissive, GetEmissive, d3dvalue*, d3dvalue*, d3dvalue*);
  32. PASS_THROUGH3_R(_dxj_Direct3dRMMaterial2, getAmbient, GetAmbient, d3dvalue*, d3dvalue*, d3dvalue*);
  33. GET_DIRECT_R(_dxj_Direct3dRMMaterial2, getPower, GetPower, d3dvalue);