We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7d053e commit 4e0b4f8Copy full SHA for 4e0b4f8
OgreMain/include/Ogre.i
@@ -586,6 +586,15 @@ SHARED_PTR(StringInterface);
586
%include "OgreResource.h"
587
SHARED_PTR(Texture);
588
%ignore Ogre::Texture::setTreatLuminanceAsAlpha;
589
+
590
+ #ifdef SWIGCSHARP
591
+ // correct out IntPtr for void* pData output parameter
592
+ %typemap(imtype, out="global::System.IntPtr") void *pData "out global::System.IntPtr"
593
+ %typemap(cstype, out="$csclassname") void *pData "out global::System.IntPtr"
594
+ %typemap(csin) void *pData "out $csinput"
595
+ %typecheck(SWIG_TYPECHECK_INT64_PTR) void *pData ""
596
+ #endif
597
598
%include "OgreTexture.h"
599
SHARED_PTR(GpuProgram);
600
%ignore Ogre::GpuProgram::setAdjacencyInfoRequired;
0 commit comments