Skip to content

Commit

Permalink
SWIG: fix typed enums in Csharp
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Mar 7, 2024
1 parent b05a428 commit b4f4fb4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions OgreMain/include/Ogre.i
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ JNIEnv* OgreJNIGetEnv() {
#endif

#ifdef SWIGCSHARP
typedef uint32_t uint32;
typedef uint16_t uint16;
typedef uint8_t uint8;

%ignore Ogre::HardwareBuffer::UsageEnum;
%ignore Ogre::TextureUsage;
%ignore Ogre::GpuConstantType;
Expand Down

0 comments on commit b4f4fb4

Please sign in to comment.