assimp/port/swig/interface/aiMaterial.i

19 lines
426 B
OpenEdge ABL

%{
#include "aiMaterial.h"
%}
%include "aiMaterial.h"
%include <typemaps.i>
%apply int &OUTPUT { int &pOut };
%apply float &OUTPUT { float &pOut };
%template(GetInteger) aiMaterial::Get<int>;
%template(GetFloat) aiMaterial::Get<float>;
%template(GetColor4D) aiMaterial::Get<aiColor4D>;
%template(GetColor3D) aiMaterial::Get<aiColor3D>;
%template(GetString) aiMaterial::Get<aiString>;
%clear int &pOut;
%clear float &pOut;