Ogre Version: 1.12
I'm currently trying to figure out how SWIG works and actually I've got to know that it can't wrap classes or functions with custom types properly. How can I modify the SWIG interface to generate a properly Terrain class per example?
Modifying SWIG interface to generate proper classes in C#
-
- Halfling
- Posts: 44
- Joined: Mon Feb 22, 2021 6:25 pm
- x 2
-
- OGRE Team Member
- Posts: 1994
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1075
- Contact:
Re: Modifying SWIG interface to generate proper classes in C#
you have wrap the custom types first.
Also feel free to ping this guy about his progress:
https://github.com/OGRECave/ogre/issues/1662
edit:
also take a look at some of the smaller components, how things are done:
https://github.com/OGRECave/ogre/blob/m ... RTShader.i
Also feel free to ping this guy about his progress:
https://github.com/OGRECave/ogre/issues/1662
edit:
also take a look at some of the smaller components, how things are done:
https://github.com/OGRECave/ogre/blob/m ... RTShader.i