ruby-ogre 0.0.3-x86-linux → 0.0.4-x86-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +7 -8
- data/bindings/ogre/interface/ogre_all.i +1 -0
- data/bindings/ogre/interface/ogre_wrap.cpp +591 -46
- data/bindings/ogre/interface/ogre_wrap.o +0 -0
- data/bindings/ogrebites/interface/ogrebites_wrap.o +0 -0
- data/bindings/procedural/interface/procedural_wrap.o +0 -0
- data/deps/include/OGRE/OgreAny.h +23 -1
- data/deps/include/OGRE/OgreBillboardChain.h +5 -1
- data/deps/include/OGRE/OgreBillboardParticleRenderer.h +2 -0
- data/deps/include/OGRE/OgreConfigDialog.h +0 -2
- data/deps/include/OGRE/OgreDynLib.h +1 -7
- data/deps/include/OGRE/OgreErrorDialog.h +0 -2
- data/deps/include/OGRE/OgreHeaderSuffix.h +3 -3
- data/deps/include/OGRE/OgreInstanceBatch.h +4 -0
- data/deps/include/OGRE/OgreInstanceManager.h +5 -0
- data/deps/include/OGRE/OgreIteratorRange.h +13 -2
- data/deps/include/OGRE/OgreParticleSystem.h +2 -0
- data/deps/include/OGRE/OgreParticleSystemRenderer.h +4 -0
- data/deps/include/OGRE/OgrePlatform.h +5 -28
- data/deps/include/OGRE/OgrePrerequisites.h +1 -1
- data/deps/include/OGRE/OgreProfiler.h +102 -59
- data/deps/include/OGRE/OgreProgressiveMesh.h +2 -2
- data/deps/include/OGRE/OgreRenderSystem.h +18 -1
- data/deps/include/OGRE/OgreRoot.h +1 -1
- data/deps/include/OGRE/OgreSearchOps.h +0 -5
- data/deps/include/OGRE/OgreSimpleRenderable.h +1 -1
- data/deps/include/OGRE/OgreStdHeaders.h +2 -2
- data/deps/include/OGRE/OgreStringConverter.h +5 -0
- data/deps/include/OGRE/OgreTimer.h +1 -1
- data/deps/include/OGRE/OgreUTFString.h +0 -2
- data/deps/include/OGRE/OgreWindowEventUtilities.h +3 -1
- data/deps/include/OGRE/OgreWorkQueue.h +2 -2
- data/deps/include/OGRE/RTShaderSystem/OgreShaderCGProgramProcessor.h +5 -5
- data/deps/include/OGRE/RTShaderSystem/OgreShaderCGProgramWriter.h +17 -15
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExDualQuaternionSkinning.h +3 -3
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExHardwareSkinning.h +5 -4
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExHardwareSkinningTechnique.h +3 -3
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExIntegratedPSSM3.h +50 -32
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExLayeredBlending.h +13 -9
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExLinearSkinning.h +7 -7
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExNormalMapLighting.h +149 -95
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExPerPixelLighting.h +91 -59
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExTextureAtlasSampler.h +14 -9
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPColour.h +33 -24
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPFog.h +44 -30
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPLighting.h +70 -45
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPRenderStateBuilder.h +11 -10
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPTexturing.h +73 -64
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPTransform.h +8 -8
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFunction.h +42 -35
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFunctionAtom.h +38 -32
- data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLESProgramProcessor.h +9 -8
- data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLESProgramWriter.h +45 -36
- data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLProgramProcessor.h +9 -8
- data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLProgramWriter.h +26 -20
- data/deps/include/OGRE/RTShaderSystem/OgreShaderGenerator.h +211 -160
- data/deps/include/OGRE/RTShaderSystem/OgreShaderHLSLProgramProcessor.h +5 -5
- data/deps/include/OGRE/RTShaderSystem/OgreShaderHLSLProgramWriter.h +17 -15
- data/deps/include/OGRE/RTShaderSystem/OgreShaderMaterialSerializerListener.h +5 -3
- data/deps/include/OGRE/RTShaderSystem/OgreShaderParameter.h +86 -73
- data/deps/include/OGRE/RTShaderSystem/OgreShaderProgram.h +36 -30
- data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramManager.h +38 -31
- data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramProcessor.h +54 -43
- data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramSet.h +18 -14
- data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramWriter.h +10 -10
- data/deps/include/OGRE/RTShaderSystem/OgreShaderRenderState.h +28 -23
- data/deps/include/OGRE/RTShaderSystem/OgreShaderScriptTranslator.h +2 -1
- data/deps/include/OGRE/RTShaderSystem/OgreShaderSubRenderState.h +35 -32
- data/deps/include/OGRE/RenderSystems/GL/GL/wglew.h +2 -2
- data/deps/include/OGRE/RenderSystems/GL/GL/wglext.h +2 -2
- data/deps/include/OGRE/RenderSystems/GL/OgreGLRenderSystem.h +10 -1
- data/deps/include/OGRE/RenderSystems/GL/OgreGLTextureManager.h +2 -0
- data/deps/include/OGRE/Sample.h +5 -0
- data/deps/include/OGRE/SampleContext.h +13 -3
- data/deps/lib/OGRE/Plugin_BSPSceneManager.so +0 -0
- data/deps/lib/OGRE/Plugin_BSPSceneManager.so.1.8.1 +0 -0
- data/deps/lib/OGRE/Plugin_CgProgramManager.so +0 -0
- data/deps/lib/OGRE/Plugin_CgProgramManager.so.1.8.1 +0 -0
- data/deps/lib/OGRE/Plugin_OctreeSceneManager.so +0 -0
- data/deps/lib/OGRE/Plugin_OctreeSceneManager.so.1.8.1 +0 -0
- data/deps/lib/OGRE/Plugin_OctreeZone.so +0 -0
- data/deps/lib/OGRE/Plugin_OctreeZone.so.1.8.1 +0 -0
- data/deps/lib/OGRE/Plugin_PCZSceneManager.so +0 -0
- data/deps/lib/OGRE/Plugin_PCZSceneManager.so.1.8.1 +0 -0
- data/deps/lib/OGRE/Plugin_ParticleFX.so +0 -0
- data/deps/lib/OGRE/Plugin_ParticleFX.so.1.8.1 +0 -0
- data/deps/lib/OGRE/RenderSystem_GL.so +0 -0
- data/deps/lib/OGRE/RenderSystem_GL.so.1.8.1 +0 -0
- data/deps/lib/libOgreMain.so +0 -0
- data/deps/lib/libOgreMain.so.1.8.1 +0 -0
- data/deps/lib/libOgrePaging.so +0 -0
- data/deps/lib/libOgrePaging.so.1.8.1 +0 -0
- data/deps/lib/libOgreProcedural.so +0 -0
- data/deps/lib/libOgreRTShaderSystem.so +0 -0
- data/deps/lib/libOgreRTShaderSystem.so.1.8.1 +0 -0
- data/deps/lib/libOgreTerrain.so +0 -0
- data/deps/lib/libOgreTerrain.so.1.8.1 +0 -0
- data/deps/share/OGRE/media/materials/programs/DiffuseOneTexture.glsles +17 -0
- data/deps/share/OGRE/media/packs/profiler.zip +0 -0
- data/lib/ogre.so +0 -0
- data/lib/ogrebites.so +0 -0
- data/lib/procedural.so +0 -0
- data/lib/version.rb +1 -1
- data/sample/charactor/sinbad.rb +8 -4
- metadata +16 -4
@@ -132879,45 +132879,6 @@ fail:
|
|
132879
132879
|
|
132880
132880
|
|
132881
132881
|
|
132882
|
-
/*
|
132883
|
-
Document-method: Ogre::BillboardChain._notify_current_camera
|
132884
|
-
|
132885
|
-
call-seq:
|
132886
|
-
_notify_current_camera(Camera cam)
|
132887
|
-
|
132888
|
-
An instance method.
|
132889
|
-
|
132890
|
-
*/
|
132891
|
-
SWIGINTERN VALUE
|
132892
|
-
_wrap_BillboardChain__notify_current_camera(int argc, VALUE *argv, VALUE self) {
|
132893
|
-
Ogre::BillboardChain *arg1 = (Ogre::BillboardChain *) 0 ;
|
132894
|
-
Ogre::Camera *arg2 = (Ogre::Camera *) 0 ;
|
132895
|
-
void *argp1 = 0 ;
|
132896
|
-
int res1 = 0 ;
|
132897
|
-
void *argp2 = 0 ;
|
132898
|
-
int res2 = 0 ;
|
132899
|
-
|
132900
|
-
if ((argc < 1) || (argc > 1)) {
|
132901
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
132902
|
-
}
|
132903
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Ogre__BillboardChain, 0 | 0 );
|
132904
|
-
if (!SWIG_IsOK(res1)) {
|
132905
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Ogre::BillboardChain *","_notifyCurrentCamera", 1, self ));
|
132906
|
-
}
|
132907
|
-
arg1 = reinterpret_cast< Ogre::BillboardChain * >(argp1);
|
132908
|
-
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_Ogre__Camera, 0 | 0 );
|
132909
|
-
if (!SWIG_IsOK(res2)) {
|
132910
|
-
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "Ogre::Camera *","_notifyCurrentCamera", 2, argv[0] ));
|
132911
|
-
}
|
132912
|
-
arg2 = reinterpret_cast< Ogre::Camera * >(argp2);
|
132913
|
-
(arg1)->_notifyCurrentCamera(arg2);
|
132914
|
-
return Qnil;
|
132915
|
-
fail:
|
132916
|
-
return Qnil;
|
132917
|
-
}
|
132918
|
-
|
132919
|
-
|
132920
|
-
|
132921
132882
|
/*
|
132922
132883
|
Document-method: Ogre::BillboardChain.get_squared_view_depth
|
132923
132884
|
|
@@ -133177,6 +133138,56 @@ fail:
|
|
133177
133138
|
|
133178
133139
|
|
133179
133140
|
|
133141
|
+
/*
|
133142
|
+
Document-method: Ogre::BillboardChain.pre_render
|
133143
|
+
|
133144
|
+
call-seq:
|
133145
|
+
pre_render(SceneManager sm, RenderSystem rsys) -> bool
|
133146
|
+
|
133147
|
+
An instance method.
|
133148
|
+
|
133149
|
+
*/
|
133150
|
+
SWIGINTERN VALUE
|
133151
|
+
_wrap_BillboardChain_pre_render(int argc, VALUE *argv, VALUE self) {
|
133152
|
+
Ogre::BillboardChain *arg1 = (Ogre::BillboardChain *) 0 ;
|
133153
|
+
Ogre::SceneManager *arg2 = (Ogre::SceneManager *) 0 ;
|
133154
|
+
Ogre::RenderSystem *arg3 = (Ogre::RenderSystem *) 0 ;
|
133155
|
+
void *argp1 = 0 ;
|
133156
|
+
int res1 = 0 ;
|
133157
|
+
void *argp2 = 0 ;
|
133158
|
+
int res2 = 0 ;
|
133159
|
+
void *argp3 = 0 ;
|
133160
|
+
int res3 = 0 ;
|
133161
|
+
bool result;
|
133162
|
+
VALUE vresult = Qnil;
|
133163
|
+
|
133164
|
+
if ((argc < 2) || (argc > 2)) {
|
133165
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
133166
|
+
}
|
133167
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Ogre__BillboardChain, 0 | 0 );
|
133168
|
+
if (!SWIG_IsOK(res1)) {
|
133169
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Ogre::BillboardChain *","preRender", 1, self ));
|
133170
|
+
}
|
133171
|
+
arg1 = reinterpret_cast< Ogre::BillboardChain * >(argp1);
|
133172
|
+
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_Ogre__SceneManager, 0 | 0 );
|
133173
|
+
if (!SWIG_IsOK(res2)) {
|
133174
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "Ogre::SceneManager *","preRender", 2, argv[0] ));
|
133175
|
+
}
|
133176
|
+
arg2 = reinterpret_cast< Ogre::SceneManager * >(argp2);
|
133177
|
+
res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_Ogre__RenderSystem, 0 | 0 );
|
133178
|
+
if (!SWIG_IsOK(res3)) {
|
133179
|
+
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "Ogre::RenderSystem *","preRender", 3, argv[1] ));
|
133180
|
+
}
|
133181
|
+
arg3 = reinterpret_cast< Ogre::RenderSystem * >(argp3);
|
133182
|
+
result = (bool)(arg1)->preRender(arg2,arg3);
|
133183
|
+
vresult = SWIG_From_bool(static_cast< bool >(result));
|
133184
|
+
return vresult;
|
133185
|
+
fail:
|
133186
|
+
return Qnil;
|
133187
|
+
}
|
133188
|
+
|
133189
|
+
|
133190
|
+
|
133180
133191
|
/*
|
133181
133192
|
Document-method: Ogre::BillboardChain.get_world_transforms
|
133182
133193
|
|
@@ -134279,6 +134290,53 @@ fail:
|
|
134279
134290
|
|
134280
134291
|
|
134281
134292
|
|
134293
|
+
/*
|
134294
|
+
Document-method: Ogre::ParticleSystemRenderer.set_render_queue_group_and_priority
|
134295
|
+
|
134296
|
+
call-seq:
|
134297
|
+
set_render_queue_group_and_priority(uint8 queueID, ushort priority)
|
134298
|
+
|
134299
|
+
An instance method.
|
134300
|
+
|
134301
|
+
*/
|
134302
|
+
SWIGINTERN VALUE
|
134303
|
+
_wrap_ParticleSystemRenderer_set_render_queue_group_and_priority(int argc, VALUE *argv, VALUE self) {
|
134304
|
+
Ogre::ParticleSystemRenderer *arg1 = (Ogre::ParticleSystemRenderer *) 0 ;
|
134305
|
+
Ogre::uint8 arg2 ;
|
134306
|
+
Ogre::ushort arg3 ;
|
134307
|
+
void *argp1 = 0 ;
|
134308
|
+
int res1 = 0 ;
|
134309
|
+
unsigned char val2 ;
|
134310
|
+
int ecode2 = 0 ;
|
134311
|
+
unsigned short val3 ;
|
134312
|
+
int ecode3 = 0 ;
|
134313
|
+
|
134314
|
+
if ((argc < 2) || (argc > 2)) {
|
134315
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
134316
|
+
}
|
134317
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Ogre__ParticleSystemRenderer, 0 | 0 );
|
134318
|
+
if (!SWIG_IsOK(res1)) {
|
134319
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Ogre::ParticleSystemRenderer *","setRenderQueueGroupAndPriority", 1, self ));
|
134320
|
+
}
|
134321
|
+
arg1 = reinterpret_cast< Ogre::ParticleSystemRenderer * >(argp1);
|
134322
|
+
ecode2 = SWIG_AsVal_unsigned_SS_char(argv[0], &val2);
|
134323
|
+
if (!SWIG_IsOK(ecode2)) {
|
134324
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "Ogre::uint8","setRenderQueueGroupAndPriority", 2, argv[0] ));
|
134325
|
+
}
|
134326
|
+
arg2 = static_cast< Ogre::uint8 >(val2);
|
134327
|
+
ecode3 = SWIG_AsVal_unsigned_SS_short(argv[1], &val3);
|
134328
|
+
if (!SWIG_IsOK(ecode3)) {
|
134329
|
+
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "Ogre::ushort","setRenderQueueGroupAndPriority", 3, argv[1] ));
|
134330
|
+
}
|
134331
|
+
arg3 = static_cast< Ogre::ushort >(val3);
|
134332
|
+
(arg1)->setRenderQueueGroupAndPriority(arg2,arg3);
|
134333
|
+
return Qnil;
|
134334
|
+
fail:
|
134335
|
+
return Qnil;
|
134336
|
+
}
|
134337
|
+
|
134338
|
+
|
134339
|
+
|
134282
134340
|
/*
|
134283
134341
|
Document-method: Ogre::ParticleSystemRenderer.set_keep_particles_in_local_space
|
134284
134342
|
|
@@ -139056,6 +139114,53 @@ fail:
|
|
139056
139114
|
|
139057
139115
|
|
139058
139116
|
|
139117
|
+
/*
|
139118
|
+
Document-method: Ogre::BillboardParticleRenderer.set_render_queue_group_and_priority
|
139119
|
+
|
139120
|
+
call-seq:
|
139121
|
+
set_render_queue_group_and_priority(uint8 queueID, ushort priority)
|
139122
|
+
|
139123
|
+
An instance method.
|
139124
|
+
|
139125
|
+
*/
|
139126
|
+
SWIGINTERN VALUE
|
139127
|
+
_wrap_BillboardParticleRenderer_set_render_queue_group_and_priority(int argc, VALUE *argv, VALUE self) {
|
139128
|
+
Ogre::BillboardParticleRenderer *arg1 = (Ogre::BillboardParticleRenderer *) 0 ;
|
139129
|
+
Ogre::uint8 arg2 ;
|
139130
|
+
Ogre::ushort arg3 ;
|
139131
|
+
void *argp1 = 0 ;
|
139132
|
+
int res1 = 0 ;
|
139133
|
+
unsigned char val2 ;
|
139134
|
+
int ecode2 = 0 ;
|
139135
|
+
unsigned short val3 ;
|
139136
|
+
int ecode3 = 0 ;
|
139137
|
+
|
139138
|
+
if ((argc < 2) || (argc > 2)) {
|
139139
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
139140
|
+
}
|
139141
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Ogre__BillboardParticleRenderer, 0 | 0 );
|
139142
|
+
if (!SWIG_IsOK(res1)) {
|
139143
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Ogre::BillboardParticleRenderer *","setRenderQueueGroupAndPriority", 1, self ));
|
139144
|
+
}
|
139145
|
+
arg1 = reinterpret_cast< Ogre::BillboardParticleRenderer * >(argp1);
|
139146
|
+
ecode2 = SWIG_AsVal_unsigned_SS_char(argv[0], &val2);
|
139147
|
+
if (!SWIG_IsOK(ecode2)) {
|
139148
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "Ogre::uint8","setRenderQueueGroupAndPriority", 2, argv[0] ));
|
139149
|
+
}
|
139150
|
+
arg2 = static_cast< Ogre::uint8 >(val2);
|
139151
|
+
ecode3 = SWIG_AsVal_unsigned_SS_short(argv[1], &val3);
|
139152
|
+
if (!SWIG_IsOK(ecode3)) {
|
139153
|
+
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "Ogre::ushort","setRenderQueueGroupAndPriority", 3, argv[1] ));
|
139154
|
+
}
|
139155
|
+
arg3 = static_cast< Ogre::ushort >(val3);
|
139156
|
+
(arg1)->setRenderQueueGroupAndPriority(arg2,arg3);
|
139157
|
+
return Qnil;
|
139158
|
+
fail:
|
139159
|
+
return Qnil;
|
139160
|
+
}
|
139161
|
+
|
139162
|
+
|
139163
|
+
|
139059
139164
|
/*
|
139060
139165
|
Document-method: Ogre::BillboardParticleRenderer.set_keep_particles_in_local_space
|
139061
139166
|
|
@@ -216218,6 +216323,129 @@ fail:
|
|
216218
216323
|
|
216219
216324
|
|
216220
216325
|
|
216326
|
+
/*
|
216327
|
+
Document-method: Ogre::StringConverter.parse_size_t
|
216328
|
+
|
216329
|
+
call-seq:
|
216330
|
+
parse_size_t(String val, size_t defaultValue=0) -> size_t
|
216331
|
+
parse_size_t(String val) -> size_t
|
216332
|
+
|
216333
|
+
A class method.
|
216334
|
+
|
216335
|
+
*/
|
216336
|
+
SWIGINTERN VALUE
|
216337
|
+
_wrap_StringConverter_parse_size_t__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
216338
|
+
Ogre::String *arg1 = 0 ;
|
216339
|
+
size_t arg2 ;
|
216340
|
+
int res1 = SWIG_OLDOBJ ;
|
216341
|
+
size_t val2 ;
|
216342
|
+
int ecode2 = 0 ;
|
216343
|
+
size_t result;
|
216344
|
+
VALUE vresult = Qnil;
|
216345
|
+
|
216346
|
+
if ((argc < 2) || (argc > 2)) {
|
216347
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
216348
|
+
}
|
216349
|
+
{
|
216350
|
+
std::string *ptr = (std::string *)0;
|
216351
|
+
res1 = SWIG_AsPtr_std_string(argv[0], &ptr);
|
216352
|
+
if (!SWIG_IsOK(res1)) {
|
216353
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Ogre::String const &","Ogre::StringConverter::parseSizeT", 1, argv[0] ));
|
216354
|
+
}
|
216355
|
+
if (!ptr) {
|
216356
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::String const &","Ogre::StringConverter::parseSizeT", 1, argv[0]));
|
216357
|
+
}
|
216358
|
+
arg1 = ptr;
|
216359
|
+
}
|
216360
|
+
ecode2 = SWIG_AsVal_size_t(argv[1], &val2);
|
216361
|
+
if (!SWIG_IsOK(ecode2)) {
|
216362
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "size_t","Ogre::StringConverter::parseSizeT", 2, argv[1] ));
|
216363
|
+
}
|
216364
|
+
arg2 = static_cast< size_t >(val2);
|
216365
|
+
result = Ogre::StringConverter::parseSizeT((std::string const &)*arg1,arg2);
|
216366
|
+
vresult = SWIG_From_size_t(static_cast< size_t >(result));
|
216367
|
+
if (SWIG_IsNewObj(res1)) delete arg1;
|
216368
|
+
return vresult;
|
216369
|
+
fail:
|
216370
|
+
if (SWIG_IsNewObj(res1)) delete arg1;
|
216371
|
+
return Qnil;
|
216372
|
+
}
|
216373
|
+
|
216374
|
+
|
216375
|
+
SWIGINTERN VALUE
|
216376
|
+
_wrap_StringConverter_parse_size_t__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
216377
|
+
Ogre::String *arg1 = 0 ;
|
216378
|
+
int res1 = SWIG_OLDOBJ ;
|
216379
|
+
size_t result;
|
216380
|
+
VALUE vresult = Qnil;
|
216381
|
+
|
216382
|
+
if ((argc < 1) || (argc > 1)) {
|
216383
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
216384
|
+
}
|
216385
|
+
{
|
216386
|
+
std::string *ptr = (std::string *)0;
|
216387
|
+
res1 = SWIG_AsPtr_std_string(argv[0], &ptr);
|
216388
|
+
if (!SWIG_IsOK(res1)) {
|
216389
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Ogre::String const &","Ogre::StringConverter::parseSizeT", 1, argv[0] ));
|
216390
|
+
}
|
216391
|
+
if (!ptr) {
|
216392
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::String const &","Ogre::StringConverter::parseSizeT", 1, argv[0]));
|
216393
|
+
}
|
216394
|
+
arg1 = ptr;
|
216395
|
+
}
|
216396
|
+
result = Ogre::StringConverter::parseSizeT((std::string const &)*arg1);
|
216397
|
+
vresult = SWIG_From_size_t(static_cast< size_t >(result));
|
216398
|
+
if (SWIG_IsNewObj(res1)) delete arg1;
|
216399
|
+
return vresult;
|
216400
|
+
fail:
|
216401
|
+
if (SWIG_IsNewObj(res1)) delete arg1;
|
216402
|
+
return Qnil;
|
216403
|
+
}
|
216404
|
+
|
216405
|
+
|
216406
|
+
SWIGINTERN VALUE _wrap_StringConverter_parse_size_t(int nargs, VALUE *args, VALUE self) {
|
216407
|
+
int argc;
|
216408
|
+
VALUE argv[2];
|
216409
|
+
int ii;
|
216410
|
+
|
216411
|
+
argc = nargs;
|
216412
|
+
if (argc > 2) SWIG_fail;
|
216413
|
+
for (ii = 0; (ii < argc); ++ii) {
|
216414
|
+
argv[ii] = args[ii];
|
216415
|
+
}
|
216416
|
+
if (argc == 1) {
|
216417
|
+
int _v;
|
216418
|
+
int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
|
216419
|
+
_v = SWIG_CheckState(res);
|
216420
|
+
if (_v) {
|
216421
|
+
return _wrap_StringConverter_parse_size_t__SWIG_1(nargs, args, self);
|
216422
|
+
}
|
216423
|
+
}
|
216424
|
+
if (argc == 2) {
|
216425
|
+
int _v;
|
216426
|
+
int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
|
216427
|
+
_v = SWIG_CheckState(res);
|
216428
|
+
if (_v) {
|
216429
|
+
{
|
216430
|
+
int res = SWIG_AsVal_size_t(argv[1], NULL);
|
216431
|
+
_v = SWIG_CheckState(res);
|
216432
|
+
}
|
216433
|
+
if (_v) {
|
216434
|
+
return _wrap_StringConverter_parse_size_t__SWIG_0(nargs, args, self);
|
216435
|
+
}
|
216436
|
+
}
|
216437
|
+
}
|
216438
|
+
|
216439
|
+
fail:
|
216440
|
+
Ruby_Format_OverloadedError( argc, 2, "StringConverter.parse_size_t",
|
216441
|
+
" size_t StringConverter.parse_size_t(Ogre::String const &val, size_t defaultValue)\n"
|
216442
|
+
" size_t StringConverter.parse_size_t(Ogre::String const &val)\n");
|
216443
|
+
|
216444
|
+
return Qnil;
|
216445
|
+
}
|
216446
|
+
|
216447
|
+
|
216448
|
+
|
216221
216449
|
/*
|
216222
216450
|
Document-method: Ogre::StringConverter.parse_bool
|
216223
216451
|
|
@@ -248222,6 +248450,129 @@ fail:
|
|
248222
248450
|
|
248223
248451
|
|
248224
248452
|
|
248453
|
+
/*
|
248454
|
+
Document-method: Ogre::RenderSystem.begin_profile_event
|
248455
|
+
|
248456
|
+
call-seq:
|
248457
|
+
begin_profile_event(String eventName)
|
248458
|
+
|
248459
|
+
An instance method.
|
248460
|
+
|
248461
|
+
*/
|
248462
|
+
SWIGINTERN VALUE
|
248463
|
+
_wrap_RenderSystem_begin_profile_event(int argc, VALUE *argv, VALUE self) {
|
248464
|
+
Ogre::RenderSystem *arg1 = (Ogre::RenderSystem *) 0 ;
|
248465
|
+
Ogre::String *arg2 = 0 ;
|
248466
|
+
void *argp1 = 0 ;
|
248467
|
+
int res1 = 0 ;
|
248468
|
+
int res2 = SWIG_OLDOBJ ;
|
248469
|
+
|
248470
|
+
if ((argc < 1) || (argc > 1)) {
|
248471
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
248472
|
+
}
|
248473
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Ogre__RenderSystem, 0 | 0 );
|
248474
|
+
if (!SWIG_IsOK(res1)) {
|
248475
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Ogre::RenderSystem *","beginProfileEvent", 1, self ));
|
248476
|
+
}
|
248477
|
+
arg1 = reinterpret_cast< Ogre::RenderSystem * >(argp1);
|
248478
|
+
{
|
248479
|
+
std::string *ptr = (std::string *)0;
|
248480
|
+
res2 = SWIG_AsPtr_std_string(argv[0], &ptr);
|
248481
|
+
if (!SWIG_IsOK(res2)) {
|
248482
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "Ogre::String const &","beginProfileEvent", 2, argv[0] ));
|
248483
|
+
}
|
248484
|
+
if (!ptr) {
|
248485
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::String const &","beginProfileEvent", 2, argv[0]));
|
248486
|
+
}
|
248487
|
+
arg2 = ptr;
|
248488
|
+
}
|
248489
|
+
(arg1)->beginProfileEvent((Ogre::String const &)*arg2);
|
248490
|
+
if (SWIG_IsNewObj(res2)) delete arg2;
|
248491
|
+
return Qnil;
|
248492
|
+
fail:
|
248493
|
+
if (SWIG_IsNewObj(res2)) delete arg2;
|
248494
|
+
return Qnil;
|
248495
|
+
}
|
248496
|
+
|
248497
|
+
|
248498
|
+
|
248499
|
+
/*
|
248500
|
+
Document-method: Ogre::RenderSystem.end_profile_event
|
248501
|
+
|
248502
|
+
call-seq:
|
248503
|
+
end_profile_event
|
248504
|
+
|
248505
|
+
An instance method.
|
248506
|
+
|
248507
|
+
*/
|
248508
|
+
SWIGINTERN VALUE
|
248509
|
+
_wrap_RenderSystem_end_profile_event(int argc, VALUE *argv, VALUE self) {
|
248510
|
+
Ogre::RenderSystem *arg1 = (Ogre::RenderSystem *) 0 ;
|
248511
|
+
void *argp1 = 0 ;
|
248512
|
+
int res1 = 0 ;
|
248513
|
+
|
248514
|
+
if ((argc < 0) || (argc > 0)) {
|
248515
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
248516
|
+
}
|
248517
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Ogre__RenderSystem, 0 | 0 );
|
248518
|
+
if (!SWIG_IsOK(res1)) {
|
248519
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Ogre::RenderSystem *","endProfileEvent", 1, self ));
|
248520
|
+
}
|
248521
|
+
arg1 = reinterpret_cast< Ogre::RenderSystem * >(argp1);
|
248522
|
+
(arg1)->endProfileEvent();
|
248523
|
+
return Qnil;
|
248524
|
+
fail:
|
248525
|
+
return Qnil;
|
248526
|
+
}
|
248527
|
+
|
248528
|
+
|
248529
|
+
|
248530
|
+
/*
|
248531
|
+
Document-method: Ogre::RenderSystem.mark_profile_event
|
248532
|
+
|
248533
|
+
call-seq:
|
248534
|
+
mark_profile_event(String event)
|
248535
|
+
|
248536
|
+
An instance method.
|
248537
|
+
|
248538
|
+
*/
|
248539
|
+
SWIGINTERN VALUE
|
248540
|
+
_wrap_RenderSystem_mark_profile_event(int argc, VALUE *argv, VALUE self) {
|
248541
|
+
Ogre::RenderSystem *arg1 = (Ogre::RenderSystem *) 0 ;
|
248542
|
+
Ogre::String *arg2 = 0 ;
|
248543
|
+
void *argp1 = 0 ;
|
248544
|
+
int res1 = 0 ;
|
248545
|
+
int res2 = SWIG_OLDOBJ ;
|
248546
|
+
|
248547
|
+
if ((argc < 1) || (argc > 1)) {
|
248548
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
248549
|
+
}
|
248550
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Ogre__RenderSystem, 0 | 0 );
|
248551
|
+
if (!SWIG_IsOK(res1)) {
|
248552
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Ogre::RenderSystem *","markProfileEvent", 1, self ));
|
248553
|
+
}
|
248554
|
+
arg1 = reinterpret_cast< Ogre::RenderSystem * >(argp1);
|
248555
|
+
{
|
248556
|
+
std::string *ptr = (std::string *)0;
|
248557
|
+
res2 = SWIG_AsPtr_std_string(argv[0], &ptr);
|
248558
|
+
if (!SWIG_IsOK(res2)) {
|
248559
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "Ogre::String const &","markProfileEvent", 2, argv[0] ));
|
248560
|
+
}
|
248561
|
+
if (!ptr) {
|
248562
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::String const &","markProfileEvent", 2, argv[0]));
|
248563
|
+
}
|
248564
|
+
arg2 = ptr;
|
248565
|
+
}
|
248566
|
+
(arg1)->markProfileEvent((Ogre::String const &)*arg2);
|
248567
|
+
if (SWIG_IsNewObj(res2)) delete arg2;
|
248568
|
+
return Qnil;
|
248569
|
+
fail:
|
248570
|
+
if (SWIG_IsNewObj(res2)) delete arg2;
|
248571
|
+
return Qnil;
|
248572
|
+
}
|
248573
|
+
|
248574
|
+
|
248575
|
+
|
248225
248576
|
/*
|
248226
248577
|
Document-method: Ogre::RenderSystem.get_config_option_hash
|
248227
248578
|
|
@@ -347933,6 +348284,53 @@ fail:
|
|
347933
348284
|
|
347934
348285
|
|
347935
348286
|
|
348287
|
+
/*
|
348288
|
+
Document-method: Ogre::ParticleSystem.set_render_queue_group_and_priority
|
348289
|
+
|
348290
|
+
call-seq:
|
348291
|
+
set_render_queue_group_and_priority(uint8 queueID, ushort priority)
|
348292
|
+
|
348293
|
+
An instance method.
|
348294
|
+
|
348295
|
+
*/
|
348296
|
+
SWIGINTERN VALUE
|
348297
|
+
_wrap_ParticleSystem_set_render_queue_group_and_priority(int argc, VALUE *argv, VALUE self) {
|
348298
|
+
Ogre::ParticleSystem *arg1 = (Ogre::ParticleSystem *) 0 ;
|
348299
|
+
Ogre::uint8 arg2 ;
|
348300
|
+
Ogre::ushort arg3 ;
|
348301
|
+
void *argp1 = 0 ;
|
348302
|
+
int res1 = 0 ;
|
348303
|
+
unsigned char val2 ;
|
348304
|
+
int ecode2 = 0 ;
|
348305
|
+
unsigned short val3 ;
|
348306
|
+
int ecode3 = 0 ;
|
348307
|
+
|
348308
|
+
if ((argc < 2) || (argc > 2)) {
|
348309
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
348310
|
+
}
|
348311
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Ogre__ParticleSystem, 0 | 0 );
|
348312
|
+
if (!SWIG_IsOK(res1)) {
|
348313
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Ogre::ParticleSystem *","setRenderQueueGroupAndPriority", 1, self ));
|
348314
|
+
}
|
348315
|
+
arg1 = reinterpret_cast< Ogre::ParticleSystem * >(argp1);
|
348316
|
+
ecode2 = SWIG_AsVal_unsigned_SS_char(argv[0], &val2);
|
348317
|
+
if (!SWIG_IsOK(ecode2)) {
|
348318
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "Ogre::uint8","setRenderQueueGroupAndPriority", 2, argv[0] ));
|
348319
|
+
}
|
348320
|
+
arg2 = static_cast< Ogre::uint8 >(val2);
|
348321
|
+
ecode3 = SWIG_AsVal_unsigned_SS_short(argv[1], &val3);
|
348322
|
+
if (!SWIG_IsOK(ecode3)) {
|
348323
|
+
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "Ogre::ushort","setRenderQueueGroupAndPriority", 3, argv[1] ));
|
348324
|
+
}
|
348325
|
+
arg3 = static_cast< Ogre::ushort >(val3);
|
348326
|
+
(arg1)->setRenderQueueGroupAndPriority(arg2,arg3);
|
348327
|
+
return Qnil;
|
348328
|
+
fail:
|
348329
|
+
return Qnil;
|
348330
|
+
}
|
348331
|
+
|
348332
|
+
|
348333
|
+
|
347936
348334
|
/*
|
347937
348335
|
Document-method: Ogre::ParticleSystem.set_sorting_enabled
|
347938
348336
|
|
@@ -361535,6 +361933,144 @@ fail:
|
|
361535
361933
|
|
361536
361934
|
|
361537
361935
|
|
361936
|
+
/*
|
361937
|
+
Document-method: Ogre::Profiler.begin_gpuevent
|
361938
|
+
|
361939
|
+
call-seq:
|
361940
|
+
begin_gpuevent(String event)
|
361941
|
+
|
361942
|
+
An instance method.
|
361943
|
+
|
361944
|
+
*/
|
361945
|
+
SWIGINTERN VALUE
|
361946
|
+
_wrap_Profiler_begin_gpuevent(int argc, VALUE *argv, VALUE self) {
|
361947
|
+
Ogre::Profiler *arg1 = (Ogre::Profiler *) 0 ;
|
361948
|
+
Ogre::String *arg2 = 0 ;
|
361949
|
+
void *argp1 = 0 ;
|
361950
|
+
int res1 = 0 ;
|
361951
|
+
int res2 = SWIG_OLDOBJ ;
|
361952
|
+
|
361953
|
+
if ((argc < 1) || (argc > 1)) {
|
361954
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
361955
|
+
}
|
361956
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Ogre__Profiler, 0 | 0 );
|
361957
|
+
if (!SWIG_IsOK(res1)) {
|
361958
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Ogre::Profiler *","beginGPUEvent", 1, self ));
|
361959
|
+
}
|
361960
|
+
arg1 = reinterpret_cast< Ogre::Profiler * >(argp1);
|
361961
|
+
{
|
361962
|
+
std::string *ptr = (std::string *)0;
|
361963
|
+
res2 = SWIG_AsPtr_std_string(argv[0], &ptr);
|
361964
|
+
if (!SWIG_IsOK(res2)) {
|
361965
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "Ogre::String const &","beginGPUEvent", 2, argv[0] ));
|
361966
|
+
}
|
361967
|
+
if (!ptr) {
|
361968
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::String const &","beginGPUEvent", 2, argv[0]));
|
361969
|
+
}
|
361970
|
+
arg2 = ptr;
|
361971
|
+
}
|
361972
|
+
(arg1)->beginGPUEvent((Ogre::String const &)*arg2);
|
361973
|
+
if (SWIG_IsNewObj(res2)) delete arg2;
|
361974
|
+
return Qnil;
|
361975
|
+
fail:
|
361976
|
+
if (SWIG_IsNewObj(res2)) delete arg2;
|
361977
|
+
return Qnil;
|
361978
|
+
}
|
361979
|
+
|
361980
|
+
|
361981
|
+
|
361982
|
+
/*
|
361983
|
+
Document-method: Ogre::Profiler.end_gpuevent
|
361984
|
+
|
361985
|
+
call-seq:
|
361986
|
+
end_gpuevent(String event)
|
361987
|
+
|
361988
|
+
An instance method.
|
361989
|
+
|
361990
|
+
*/
|
361991
|
+
SWIGINTERN VALUE
|
361992
|
+
_wrap_Profiler_end_gpuevent(int argc, VALUE *argv, VALUE self) {
|
361993
|
+
Ogre::Profiler *arg1 = (Ogre::Profiler *) 0 ;
|
361994
|
+
Ogre::String *arg2 = 0 ;
|
361995
|
+
void *argp1 = 0 ;
|
361996
|
+
int res1 = 0 ;
|
361997
|
+
int res2 = SWIG_OLDOBJ ;
|
361998
|
+
|
361999
|
+
if ((argc < 1) || (argc > 1)) {
|
362000
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
362001
|
+
}
|
362002
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Ogre__Profiler, 0 | 0 );
|
362003
|
+
if (!SWIG_IsOK(res1)) {
|
362004
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Ogre::Profiler *","endGPUEvent", 1, self ));
|
362005
|
+
}
|
362006
|
+
arg1 = reinterpret_cast< Ogre::Profiler * >(argp1);
|
362007
|
+
{
|
362008
|
+
std::string *ptr = (std::string *)0;
|
362009
|
+
res2 = SWIG_AsPtr_std_string(argv[0], &ptr);
|
362010
|
+
if (!SWIG_IsOK(res2)) {
|
362011
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "Ogre::String const &","endGPUEvent", 2, argv[0] ));
|
362012
|
+
}
|
362013
|
+
if (!ptr) {
|
362014
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::String const &","endGPUEvent", 2, argv[0]));
|
362015
|
+
}
|
362016
|
+
arg2 = ptr;
|
362017
|
+
}
|
362018
|
+
(arg1)->endGPUEvent((Ogre::String const &)*arg2);
|
362019
|
+
if (SWIG_IsNewObj(res2)) delete arg2;
|
362020
|
+
return Qnil;
|
362021
|
+
fail:
|
362022
|
+
if (SWIG_IsNewObj(res2)) delete arg2;
|
362023
|
+
return Qnil;
|
362024
|
+
}
|
362025
|
+
|
362026
|
+
|
362027
|
+
|
362028
|
+
/*
|
362029
|
+
Document-method: Ogre::Profiler.mark_gpuevent
|
362030
|
+
|
362031
|
+
call-seq:
|
362032
|
+
mark_gpuevent(String event)
|
362033
|
+
|
362034
|
+
An instance method.
|
362035
|
+
|
362036
|
+
*/
|
362037
|
+
SWIGINTERN VALUE
|
362038
|
+
_wrap_Profiler_mark_gpuevent(int argc, VALUE *argv, VALUE self) {
|
362039
|
+
Ogre::Profiler *arg1 = (Ogre::Profiler *) 0 ;
|
362040
|
+
Ogre::String *arg2 = 0 ;
|
362041
|
+
void *argp1 = 0 ;
|
362042
|
+
int res1 = 0 ;
|
362043
|
+
int res2 = SWIG_OLDOBJ ;
|
362044
|
+
|
362045
|
+
if ((argc < 1) || (argc > 1)) {
|
362046
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
362047
|
+
}
|
362048
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Ogre__Profiler, 0 | 0 );
|
362049
|
+
if (!SWIG_IsOK(res1)) {
|
362050
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Ogre::Profiler *","markGPUEvent", 1, self ));
|
362051
|
+
}
|
362052
|
+
arg1 = reinterpret_cast< Ogre::Profiler * >(argp1);
|
362053
|
+
{
|
362054
|
+
std::string *ptr = (std::string *)0;
|
362055
|
+
res2 = SWIG_AsPtr_std_string(argv[0], &ptr);
|
362056
|
+
if (!SWIG_IsOK(res2)) {
|
362057
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "Ogre::String const &","markGPUEvent", 2, argv[0] ));
|
362058
|
+
}
|
362059
|
+
if (!ptr) {
|
362060
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::String const &","markGPUEvent", 2, argv[0]));
|
362061
|
+
}
|
362062
|
+
arg2 = ptr;
|
362063
|
+
}
|
362064
|
+
(arg1)->markGPUEvent((Ogre::String const &)*arg2);
|
362065
|
+
if (SWIG_IsNewObj(res2)) delete arg2;
|
362066
|
+
return Qnil;
|
362067
|
+
fail:
|
362068
|
+
if (SWIG_IsNewObj(res2)) delete arg2;
|
362069
|
+
return Qnil;
|
362070
|
+
}
|
362071
|
+
|
362072
|
+
|
362073
|
+
|
361538
362074
|
/*
|
361539
362075
|
Document-method: Ogre::Profiler.set_enabled
|
361540
362076
|
|
@@ -482785,10 +483321,10 @@ SWIGEXPORT void Init_ogre(void) {
|
|
482785
483321
|
rb_define_const(mOgre, "OGRE_MEMORY_TRACKER", SWIG_From_int(static_cast< int >(0)));
|
482786
483322
|
rb_define_const(mOgre, "OGRE_VERSION_MAJOR", SWIG_From_int(static_cast< int >(1)));
|
482787
483323
|
rb_define_const(mOgre, "OGRE_VERSION_MINOR", SWIG_From_int(static_cast< int >(8)));
|
482788
|
-
rb_define_const(mOgre, "OGRE_VERSION_PATCH", SWIG_From_int(static_cast< int >(
|
483324
|
+
rb_define_const(mOgre, "OGRE_VERSION_PATCH", SWIG_From_int(static_cast< int >(1)));
|
482789
483325
|
rb_define_const(mOgre, "OGRE_VERSION_SUFFIX", SWIG_FromCharPtr(""));
|
482790
483326
|
rb_define_const(mOgre, "OGRE_VERSION_NAME", SWIG_FromCharPtr("Byatis"));
|
482791
|
-
rb_define_const(mOgre, "OGRE_VERSION", SWIG_From_int(static_cast< int >(((1 << 16)|(8 << 8)|
|
483327
|
+
rb_define_const(mOgre, "OGRE_VERSION", SWIG_From_int(static_cast< int >(((1 << 16)|(8 << 8)|1))));
|
482792
483328
|
rb_define_const(mOgre, "OGRE_DOUBLE_PRECISION", SWIG_From_int(static_cast< int >(0)));
|
482793
483329
|
rb_define_const(mOgre, "OGRE_MEMORY_ALLOCATOR", SWIG_From_int(static_cast< int >(4)));
|
482794
483330
|
rb_define_const(mOgre, "OGRE_CONTAINERS_USE_CUSTOM_MEMORY_ALLOCATOR", SWIG_From_int(static_cast< int >(1)));
|
@@ -482821,10 +483357,9 @@ SWIGEXPORT void Init_ogre(void) {
|
|
482821
483357
|
rb_define_const(mOgre, "OGRE_PLATFORM_WIN32", SWIG_From_int(static_cast< int >(1)));
|
482822
483358
|
rb_define_const(mOgre, "OGRE_PLATFORM_LINUX", SWIG_From_int(static_cast< int >(2)));
|
482823
483359
|
rb_define_const(mOgre, "OGRE_PLATFORM_APPLE", SWIG_From_int(static_cast< int >(3)));
|
482824
|
-
rb_define_const(mOgre, "
|
482825
|
-
rb_define_const(mOgre, "
|
482826
|
-
rb_define_const(mOgre, "
|
482827
|
-
rb_define_const(mOgre, "OGRE_PLATFORM_NACL", SWIG_From_int(static_cast< int >(7)));
|
483360
|
+
rb_define_const(mOgre, "OGRE_PLATFORM_APPLE_IOS", SWIG_From_int(static_cast< int >(4)));
|
483361
|
+
rb_define_const(mOgre, "OGRE_PLATFORM_ANDROID", SWIG_From_int(static_cast< int >(5)));
|
483362
|
+
rb_define_const(mOgre, "OGRE_PLATFORM_NACL", SWIG_From_int(static_cast< int >(6)));
|
482828
483363
|
rb_define_const(mOgre, "OGRE_COMPILER_MSVC", SWIG_From_int(static_cast< int >(1)));
|
482829
483364
|
rb_define_const(mOgre, "OGRE_COMPILER_GNUC", SWIG_From_int(static_cast< int >(2)));
|
482830
483365
|
rb_define_const(mOgre, "OGRE_COMPILER_BORL", SWIG_From_int(static_cast< int >(3)));
|
@@ -485985,7 +486520,6 @@ SWIGEXPORT void Init_ogre(void) {
|
|
485985
486520
|
rb_define_method(SwigClassBillboardChain.klass, "set_face_camera", VALUEFUNC(_wrap_BillboardChain_set_face_camera), -1);
|
485986
486521
|
rb_define_method(SwigClassBillboardChain.klass, "get_material_name", VALUEFUNC(_wrap_BillboardChain_get_material_name), -1);
|
485987
486522
|
rb_define_method(SwigClassBillboardChain.klass, "set_material_name", VALUEFUNC(_wrap_BillboardChain_set_material_name), -1);
|
485988
|
-
rb_define_method(SwigClassBillboardChain.klass, "_notify_current_camera", VALUEFUNC(_wrap_BillboardChain__notify_current_camera), -1);
|
485989
486523
|
rb_define_method(SwigClassBillboardChain.klass, "get_squared_view_depth", VALUEFUNC(_wrap_BillboardChain_get_squared_view_depth), -1);
|
485990
486524
|
rb_define_method(SwigClassBillboardChain.klass, "get_bounding_radius", VALUEFUNC(_wrap_BillboardChain_get_bounding_radius), -1);
|
485991
486525
|
rb_define_method(SwigClassBillboardChain.klass, "get_bounding_box", VALUEFUNC(_wrap_BillboardChain_get_bounding_box), -1);
|
@@ -485993,6 +486527,7 @@ SWIGEXPORT void Init_ogre(void) {
|
|
485993
486527
|
rb_define_method(SwigClassBillboardChain.klass, "get_movable_type", VALUEFUNC(_wrap_BillboardChain_get_movable_type), -1);
|
485994
486528
|
rb_define_method(SwigClassBillboardChain.klass, "_update_render_queue", VALUEFUNC(_wrap_BillboardChain__update_render_queue), -1);
|
485995
486529
|
rb_define_method(SwigClassBillboardChain.klass, "get_render_operation", VALUEFUNC(_wrap_BillboardChain_get_render_operation), -1);
|
486530
|
+
rb_define_method(SwigClassBillboardChain.klass, "pre_render", VALUEFUNC(_wrap_BillboardChain_pre_render), -1);
|
485996
486531
|
rb_define_method(SwigClassBillboardChain.klass, "get_world_transforms", VALUEFUNC(_wrap_BillboardChain_get_world_transforms), -1);
|
485997
486532
|
rb_define_method(SwigClassBillboardChain.klass, "get_lights", VALUEFUNC(_wrap_BillboardChain_get_lights), -1);
|
485998
486533
|
rb_define_method(SwigClassBillboardChain.klass, "visit_renderables", VALUEFUNC(_wrap_BillboardChain_visit_renderables), -1);
|
@@ -486030,6 +486565,7 @@ SWIGEXPORT void Init_ogre(void) {
|
|
486030
486565
|
rb_define_method(SwigClassParticleSystemRenderer.klass, "_create_visual_data", VALUEFUNC(_wrap_ParticleSystemRenderer__create_visual_data), -1);
|
486031
486566
|
rb_define_method(SwigClassParticleSystemRenderer.klass, "_destroy_visual_data", VALUEFUNC(_wrap_ParticleSystemRenderer__destroy_visual_data), -1);
|
486032
486567
|
rb_define_method(SwigClassParticleSystemRenderer.klass, "set_render_queue_group", VALUEFUNC(_wrap_ParticleSystemRenderer_set_render_queue_group), -1);
|
486568
|
+
rb_define_method(SwigClassParticleSystemRenderer.klass, "set_render_queue_group_and_priority", VALUEFUNC(_wrap_ParticleSystemRenderer_set_render_queue_group_and_priority), -1);
|
486033
486569
|
rb_define_method(SwigClassParticleSystemRenderer.klass, "set_keep_particles_in_local_space", VALUEFUNC(_wrap_ParticleSystemRenderer_set_keep_particles_in_local_space), -1);
|
486034
486570
|
rb_define_method(SwigClassParticleSystemRenderer.klass, "_get_sort_mode", VALUEFUNC(_wrap_ParticleSystemRenderer__get_sort_mode), -1);
|
486035
486571
|
rb_define_method(SwigClassParticleSystemRenderer.klass, "visit_renderables", VALUEFUNC(_wrap_ParticleSystemRenderer_visit_renderables), -1);
|
@@ -486171,6 +486707,7 @@ SWIGEXPORT void Init_ogre(void) {
|
|
486171
486707
|
rb_define_method(SwigClassBillboardParticleRenderer.klass, "_notify_attached", VALUEFUNC(_wrap_BillboardParticleRenderer__notify_attached), -1);
|
486172
486708
|
rb_define_method(SwigClassBillboardParticleRenderer.klass, "_notify_default_dimensions", VALUEFUNC(_wrap_BillboardParticleRenderer__notify_default_dimensions), -1);
|
486173
486709
|
rb_define_method(SwigClassBillboardParticleRenderer.klass, "set_render_queue_group", VALUEFUNC(_wrap_BillboardParticleRenderer_set_render_queue_group), -1);
|
486710
|
+
rb_define_method(SwigClassBillboardParticleRenderer.klass, "set_render_queue_group_and_priority", VALUEFUNC(_wrap_BillboardParticleRenderer_set_render_queue_group_and_priority), -1);
|
486174
486711
|
rb_define_method(SwigClassBillboardParticleRenderer.klass, "set_keep_particles_in_local_space", VALUEFUNC(_wrap_BillboardParticleRenderer_set_keep_particles_in_local_space), -1);
|
486175
486712
|
rb_define_method(SwigClassBillboardParticleRenderer.klass, "_get_sort_mode", VALUEFUNC(_wrap_BillboardParticleRenderer__get_sort_mode), -1);
|
486176
486713
|
rb_define_method(SwigClassBillboardParticleRenderer.klass, "get_billboard_set", VALUEFUNC(_wrap_BillboardParticleRenderer_get_billboard_set), -1);
|
@@ -487734,6 +488271,7 @@ SWIGEXPORT void Init_ogre(void) {
|
|
487734
488271
|
rb_define_singleton_method(SwigClassStringConverter.klass, "parse_unsigned_int", VALUEFUNC(_wrap_StringConverter_parse_unsigned_int), -1);
|
487735
488272
|
rb_define_singleton_method(SwigClassStringConverter.klass, "parse_long", VALUEFUNC(_wrap_StringConverter_parse_long), -1);
|
487736
488273
|
rb_define_singleton_method(SwigClassStringConverter.klass, "parse_unsigned_long", VALUEFUNC(_wrap_StringConverter_parse_unsigned_long), -1);
|
488274
|
+
rb_define_singleton_method(SwigClassStringConverter.klass, "parse_size_t", VALUEFUNC(_wrap_StringConverter_parse_size_t), -1);
|
487737
488275
|
rb_define_singleton_method(SwigClassStringConverter.klass, "parse_bool", VALUEFUNC(_wrap_StringConverter_parse_bool), -1);
|
487738
488276
|
rb_define_singleton_method(SwigClassStringConverter.klass, "parse_vector2", VALUEFUNC(_wrap_StringConverter_parse_vector2), -1);
|
487739
488277
|
rb_define_singleton_method(SwigClassStringConverter.klass, "parse_vector3", VALUEFUNC(_wrap_StringConverter_parse_vector3), -1);
|
@@ -488333,6 +488871,9 @@ SWIGEXPORT void Init_ogre(void) {
|
|
488333
488871
|
rb_define_method(SwigClassRenderSystem.klass, "register_thread", VALUEFUNC(_wrap_RenderSystem_register_thread), -1);
|
488334
488872
|
rb_define_method(SwigClassRenderSystem.klass, "unregister_thread", VALUEFUNC(_wrap_RenderSystem_unregister_thread), -1);
|
488335
488873
|
rb_define_method(SwigClassRenderSystem.klass, "get_display_monitor_count", VALUEFUNC(_wrap_RenderSystem_get_display_monitor_count), -1);
|
488874
|
+
rb_define_method(SwigClassRenderSystem.klass, "begin_profile_event", VALUEFUNC(_wrap_RenderSystem_begin_profile_event), -1);
|
488875
|
+
rb_define_method(SwigClassRenderSystem.klass, "end_profile_event", VALUEFUNC(_wrap_RenderSystem_end_profile_event), -1);
|
488876
|
+
rb_define_method(SwigClassRenderSystem.klass, "mark_profile_event", VALUEFUNC(_wrap_RenderSystem_mark_profile_event), -1);
|
488336
488877
|
rb_define_method(SwigClassRenderSystem.klass, "get_config_option_hash", VALUEFUNC(_wrap_RenderSystem_get_config_option_hash), -1);
|
488337
488878
|
SwigClassRenderSystem.mark = 0;
|
488338
488879
|
SwigClassRenderSystem.destroy = (void (*)(void *)) free_Ogre_RenderSystem;
|
@@ -491298,6 +491839,7 @@ SWIGEXPORT void Init_ogre(void) {
|
|
491298
491839
|
rb_define_method(SwigClassParticleSystem.klass, "get_origin", VALUEFUNC(_wrap_ParticleSystem_get_origin), -1);
|
491299
491840
|
rb_define_method(SwigClassParticleSystem.klass, "_notify_origin", VALUEFUNC(_wrap_ParticleSystem__notify_origin), -1);
|
491300
491841
|
rb_define_method(SwigClassParticleSystem.klass, "set_render_queue_group", VALUEFUNC(_wrap_ParticleSystem_set_render_queue_group), -1);
|
491842
|
+
rb_define_method(SwigClassParticleSystem.klass, "set_render_queue_group_and_priority", VALUEFUNC(_wrap_ParticleSystem_set_render_queue_group_and_priority), -1);
|
491301
491843
|
rb_define_method(SwigClassParticleSystem.klass, "set_sorting_enabled", VALUEFUNC(_wrap_ParticleSystem_set_sorting_enabled), -1);
|
491302
491844
|
rb_define_method(SwigClassParticleSystem.klass, "get_sorting_enabled", VALUEFUNC(_wrap_ParticleSystem_get_sorting_enabled), -1);
|
491303
491845
|
rb_define_method(SwigClassParticleSystem.klass, "set_bounds", VALUEFUNC(_wrap_ParticleSystem_set_bounds), -1);
|
@@ -491653,6 +492195,9 @@ SWIGEXPORT void Init_ogre(void) {
|
|
491653
492195
|
rb_define_method(SwigClassProfiler.klass, "get_timer", VALUEFUNC(_wrap_Profiler_get_timer), -1);
|
491654
492196
|
rb_define_method(SwigClassProfiler.klass, "begin_profile", VALUEFUNC(_wrap_Profiler_begin_profile), -1);
|
491655
492197
|
rb_define_method(SwigClassProfiler.klass, "end_profile", VALUEFUNC(_wrap_Profiler_end_profile), -1);
|
492198
|
+
rb_define_method(SwigClassProfiler.klass, "begin_gpuevent", VALUEFUNC(_wrap_Profiler_begin_gpuevent), -1);
|
492199
|
+
rb_define_method(SwigClassProfiler.klass, "end_gpuevent", VALUEFUNC(_wrap_Profiler_end_gpuevent), -1);
|
492200
|
+
rb_define_method(SwigClassProfiler.klass, "mark_gpuevent", VALUEFUNC(_wrap_Profiler_mark_gpuevent), -1);
|
491656
492201
|
rb_define_method(SwigClassProfiler.klass, "set_enabled", VALUEFUNC(_wrap_Profiler_set_enabled), -1);
|
491657
492202
|
rb_define_method(SwigClassProfiler.klass, "get_enabled", VALUEFUNC(_wrap_Profiler_get_enabled), -1);
|
491658
492203
|
rb_define_method(SwigClassProfiler.klass, "enable_profile", VALUEFUNC(_wrap_Profiler_enable_profile), -1);
|