Generated_Members_G.cpp 98 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964
  1. // DO NOT EDIT. This file is generated
  2. #include "../Precompiled.h"
  3. #include "../AngelScript/APITemplates.h"
  4. #include "../Graphics/GPUObject.h"
  5. #include "../Graphics/Geometry.h"
  6. #include "../Graphics/Graphics.h"
  7. #include "../Graphics/Model.h"
  8. #ifdef URHO3D_PHYSICS
  9. #include "../Physics/CollisionShape.h"
  10. #endif
  11. #include "../AngelScript/Manual.h"
  12. namespace Urho3D
  13. {
  14. void FakeAddRef(void* ptr);
  15. void FakeReleaseRef(void* ptr);
  16. // explicit GPUObject::GPUObject(Graphics* graphics) | File: ../Graphics/GPUObject.h
  17. static void GPUObject_GPUObject_Graphics(GPUObject* ptr, Graphics *graphics)
  18. {
  19. new(ptr) GPUObject(graphics);
  20. }
  21. // virtual GPUObject::~GPUObject() | File: ../Graphics/GPUObject.h
  22. static void GPUObject_Destructor_GPUObject_void(GPUObject* ptr)
  23. {
  24. ptr->~GPUObject();
  25. }
  26. // explicit Geometry::Geometry(Context* context) | File: ../Graphics/Geometry.h
  27. static Geometry* Geometry_Geometry_Context()
  28. {
  29. return new Geometry(GetScriptContext());
  30. }
  31. // const Vector<SharedPtr<VertexBuffer>>& Geometry::GetVertexBuffers() const | File: ../Graphics/Geometry.h
  32. static CScriptArray* Geometry_GetVertexBuffers_void(Geometry* ptr)
  33. {
  34. const Vector<SharedPtr<VertexBuffer>>& result = ptr->GetVertexBuffers();
  35. return VectorToHandleArray(result, "Array<VertexBuffer@>");
  36. }
  37. // void Object::UnsubscribeFromAllEventsExcept(const PODVector<StringHash>& exceptions, bool onlyUserData) | File: ../Core/Object.h
  38. static void Geometry_UnsubscribeFromAllEventsExcept_PODVectorStringHash_bool(Geometry* ptr, CScriptArray* exceptions, bool onlyUserData)
  39. {
  40. PODVector<StringHash> param0 = ArrayToPODVector<StringHash>(exceptions);
  41. ptr->UnsubscribeFromAllEventsExcept(param0, onlyUserData);
  42. }
  43. // PODVector<int> Graphics::GetMultiSampleLevels() const | File: ../Graphics/Graphics.h
  44. static CScriptArray* Graphics_GetMultiSampleLevels_void(Graphics* ptr)
  45. {
  46. PODVector<int> result = ptr->GetMultiSampleLevels();
  47. return VectorToArray(result, "Array<int>");
  48. }
  49. // PODVector<IntVector3> Graphics::GetResolutions(int monitor) const | File: ../Graphics/Graphics.h
  50. static CScriptArray* Graphics_GetResolutions_int(Graphics* ptr, int monitor)
  51. {
  52. PODVector<IntVector3> result = ptr->GetResolutions(monitor);
  53. return VectorToArray(result, "Array<IntVector3>");
  54. }
  55. // explicit Graphics::Graphics(Context* context) | File: ../Graphics/Graphics.h
  56. static Graphics* Graphics_Graphics_Context()
  57. {
  58. return new Graphics(GetScriptContext());
  59. }
  60. // bool Graphics::SetVertexBuffers(const Vector<SharedPtr<VertexBuffer>>& buffers, unsigned instanceOffset=0) | File: ../Graphics/Graphics.h
  61. static bool Graphics_SetVertexBuffers_VectorSharedPtrVertexBuffer_unsigned(Graphics* ptr, CScriptArray* buffers, unsigned instanceOffset)
  62. {
  63. Vector<SharedPtr<VertexBuffer> > param0 = HandleArrayToVector<VertexBuffer>(buffers);
  64. bool result = ptr->SetVertexBuffers(param0, instanceOffset);
  65. return result;
  66. }
  67. // void Object::UnsubscribeFromAllEventsExcept(const PODVector<StringHash>& exceptions, bool onlyUserData) | File: ../Core/Object.h
  68. static void Graphics_UnsubscribeFromAllEventsExcept_PODVectorStringHash_bool(Graphics* ptr, CScriptArray* exceptions, bool onlyUserData)
  69. {
  70. PODVector<StringHash> param0 = ArrayToPODVector<StringHash>(exceptions);
  71. ptr->UnsubscribeFromAllEventsExcept(param0, onlyUserData);
  72. }
  73. #ifdef URHO3D_PHYSICS
  74. // GImpactMeshData::GImpactMeshData(Model* model, unsigned lodLevel) | File: ../Physics/CollisionShape.h
  75. static GImpactMeshData* GImpactMeshData_GImpactMeshData_Model_unsigned(Model *model, unsigned lodLevel)
  76. {
  77. return new GImpactMeshData(model, lodLevel);
  78. }
  79. #endif
  80. #ifdef URHO3D_PHYSICS
  81. // explicit GImpactMeshData::GImpactMeshData(CustomGeometry* custom) | File: ../Physics/CollisionShape.h
  82. static GImpactMeshData* GImpactMeshData_GImpactMeshData_CustomGeometry(CustomGeometry *custom)
  83. {
  84. return new GImpactMeshData(custom);
  85. }
  86. #endif
  87. // GeometryDesc::~GeometryDesc() | Implicitly-declared
  88. static void GeometryDesc_Destructor(GeometryDesc* ptr)
  89. {
  90. ptr->~GeometryDesc();
  91. }
  92. void ASRegisterGenerated_Members_G(asIScriptEngine* engine)
  93. {
  94. // void GPUObject::ClearDataLost() | File: ../Graphics/GPUObject.h
  95. engine->RegisterObjectMethod("GPUObject", "void ClearDataLost()", asMETHODPR(GPUObject, ClearDataLost, (), void), asCALL_THISCALL);
  96. // void* GPUObject::GetGPUObject() const | File: ../Graphics/GPUObject.h
  97. // Error: type "void*" can not automatically bind
  98. // unsigned GPUObject::GetGPUObjectName() const | File: ../Graphics/GPUObject.h
  99. engine->RegisterObjectMethod("GPUObject", "uint GetGPUObjectName() const", asMETHODPR(GPUObject, GetGPUObjectName, () const, unsigned), asCALL_THISCALL);
  100. // Graphics* GPUObject::GetGraphics() const | File: ../Graphics/GPUObject.h
  101. engine->RegisterObjectMethod("GPUObject", "Graphics@+ GetGraphics() const", asMETHODPR(GPUObject, GetGraphics, () const, Graphics*), asCALL_THISCALL);
  102. // explicit GPUObject::GPUObject(Graphics* graphics) | File: ../Graphics/GPUObject.h
  103. engine->RegisterObjectBehaviour("GPUObject", asBEHAVE_CONSTRUCT, "void f(Graphics@+)", asFUNCTION(GPUObject_GPUObject_Graphics), asCALL_CDECL_OBJFIRST);
  104. // bool GPUObject::HasPendingData() const | File: ../Graphics/GPUObject.h
  105. engine->RegisterObjectMethod("GPUObject", "bool HasPendingData() const", asMETHODPR(GPUObject, HasPendingData, () const, bool), asCALL_THISCALL);
  106. // bool GPUObject::IsDataLost() const | File: ../Graphics/GPUObject.h
  107. engine->RegisterObjectMethod("GPUObject", "bool IsDataLost() const", asMETHODPR(GPUObject, IsDataLost, () const, bool), asCALL_THISCALL);
  108. engine->RegisterObjectMethod("GPUObject", "bool get_dataLost() const", asMETHODPR(GPUObject, IsDataLost, () const, bool), asCALL_THISCALL);
  109. // virtual void GPUObject::OnDeviceLost() | File: ../Graphics/GPUObject.h
  110. engine->RegisterObjectMethod("GPUObject", "void OnDeviceLost()", asMETHODPR(GPUObject, OnDeviceLost, (), void), asCALL_THISCALL);
  111. // virtual void GPUObject::OnDeviceReset() | File: ../Graphics/GPUObject.h
  112. engine->RegisterObjectMethod("GPUObject", "void OnDeviceReset()", asMETHODPR(GPUObject, OnDeviceReset, (), void), asCALL_THISCALL);
  113. // virtual void GPUObject::Release() | File: ../Graphics/GPUObject.h
  114. engine->RegisterObjectMethod("GPUObject", "void Release()", asMETHODPR(GPUObject, Release, (), void), asCALL_THISCALL);
  115. // virtual GPUObject::~GPUObject() | File: ../Graphics/GPUObject.h
  116. engine->RegisterObjectBehaviour("GPUObject", asBEHAVE_DESTRUCT, "void f()", asFUNCTION(GPUObject_Destructor_GPUObject_void), asCALL_CDECL_OBJFIRST);
  117. // GPUObject& GPUObject::operator=(const GPUObject&) | Possible implicitly-declared
  118. RegisterImplicitlyDeclaredAssignOperatorIfPossible<GPUObject>(engine, "GPUObject");
  119. #ifdef REGISTER_MANUAL_PART_GPUObject
  120. REGISTER_MANUAL_PART_GPUObject(GPUObject, "GPUObject")
  121. #endif
  122. // void RefCounted::AddRef() | File: ../Container/RefCounted.h
  123. engine->RegisterObjectBehaviour("Geometry", asBEHAVE_ADDREF, "void f()", asMETHODPR(Geometry, AddRef, (), void), asCALL_THISCALL);
  124. // template<typename T> T* Object::Cast() | File: ../Core/Object.h
  125. // Not registered because template
  126. // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
  127. // Not registered because template
  128. // void Geometry::Draw(Graphics* graphics) | File: ../Graphics/Geometry.h
  129. engine->RegisterObjectMethod("Geometry", "void Draw(Graphics@+)", asMETHODPR(Geometry, Draw, (Graphics*), void), asCALL_THISCALL);
  130. // explicit Geometry::Geometry(Context* context) | File: ../Graphics/Geometry.h
  131. engine->RegisterObjectBehaviour("Geometry", asBEHAVE_FACTORY, "Geometry@+ f()", asFUNCTION(Geometry_Geometry_Context), asCALL_CDECL);
  132. // bool Object::GetBlockEvents() const | File: ../Core/Object.h
  133. engine->RegisterObjectMethod("Geometry", "bool GetBlockEvents() const", asMETHODPR(Geometry, GetBlockEvents, () const, bool), asCALL_THISCALL);
  134. // unsigned short Geometry::GetBufferHash() const | File: ../Graphics/Geometry.h
  135. engine->RegisterObjectMethod("Geometry", "uint16 GetBufferHash() const", asMETHODPR(Geometry, GetBufferHash, () const, unsigned short), asCALL_THISCALL);
  136. // const String& Object::GetCategory() const | File: ../Core/Object.h
  137. engine->RegisterObjectMethod("Geometry", "const String& GetCategory() const", asMETHODPR(Geometry, GetCategory, () const, const String&), asCALL_THISCALL);
  138. engine->RegisterObjectMethod("Geometry", "const String& get_category() const", asMETHODPR(Geometry, GetCategory, () const, const String&), asCALL_THISCALL);
  139. // Context* Object::GetContext() const | File: ../Core/Object.h
  140. // Error: type "Context*" can not be returned
  141. // VariantMap& Object::GetEventDataMap() const | File: ../Core/Object.h
  142. engine->RegisterObjectMethod("Geometry", "VariantMap& GetEventDataMap() const", asMETHODPR(Geometry, GetEventDataMap, () const, VariantMap&), asCALL_THISCALL);
  143. // EventHandler* Object::GetEventHandler() const | File: ../Core/Object.h
  144. // Error: type "EventHandler*" can not automatically bind
  145. // Object* Object::GetEventSender() const | File: ../Core/Object.h
  146. engine->RegisterObjectMethod("Geometry", "Object@+ GetEventSender() const", asMETHODPR(Geometry, GetEventSender, () const, Object*), asCALL_THISCALL);
  147. // const Variant& Object::GetGlobalVar(StringHash key) const | File: ../Core/Object.h
  148. engine->RegisterObjectMethod("Geometry", "const Variant& GetGlobalVar(StringHash) const", asMETHODPR(Geometry, GetGlobalVar, (StringHash) const, const Variant&), asCALL_THISCALL);
  149. engine->RegisterObjectMethod("Geometry", "const Variant& get_globalVar(StringHash) const", asMETHODPR(Geometry, GetGlobalVar, (StringHash) const, const Variant&), asCALL_THISCALL);
  150. // const VariantMap& Object::GetGlobalVars() const | File: ../Core/Object.h
  151. engine->RegisterObjectMethod("Geometry", "const VariantMap& GetGlobalVars() const", asMETHODPR(Geometry, GetGlobalVars, () const, const VariantMap&), asCALL_THISCALL);
  152. engine->RegisterObjectMethod("Geometry", "const VariantMap& get_globalVars() const", asMETHODPR(Geometry, GetGlobalVars, () const, const VariantMap&), asCALL_THISCALL);
  153. // float Geometry::GetHitDistance(const Ray& ray, Vector3* outNormal=nullptr, Vector2* outUV=nullptr) const | File: ../Graphics/Geometry.h
  154. // Error: type "Vector3*" can not automatically bind
  155. // IndexBuffer* Geometry::GetIndexBuffer() const | File: ../Graphics/Geometry.h
  156. engine->RegisterObjectMethod("Geometry", "IndexBuffer@+ GetIndexBuffer() const", asMETHODPR(Geometry, GetIndexBuffer, () const, IndexBuffer*), asCALL_THISCALL);
  157. engine->RegisterObjectMethod("Geometry", "IndexBuffer@+ get_indexBuffer() const", asMETHODPR(Geometry, GetIndexBuffer, () const, IndexBuffer*), asCALL_THISCALL);
  158. // unsigned Geometry::GetIndexCount() const | File: ../Graphics/Geometry.h
  159. engine->RegisterObjectMethod("Geometry", "uint GetIndexCount() const", asMETHODPR(Geometry, GetIndexCount, () const, unsigned), asCALL_THISCALL);
  160. engine->RegisterObjectMethod("Geometry", "uint get_indexCount() const", asMETHODPR(Geometry, GetIndexCount, () const, unsigned), asCALL_THISCALL);
  161. // unsigned Geometry::GetIndexStart() const | File: ../Graphics/Geometry.h
  162. engine->RegisterObjectMethod("Geometry", "uint GetIndexStart() const", asMETHODPR(Geometry, GetIndexStart, () const, unsigned), asCALL_THISCALL);
  163. engine->RegisterObjectMethod("Geometry", "uint get_indexStart() const", asMETHODPR(Geometry, GetIndexStart, () const, unsigned), asCALL_THISCALL);
  164. // float Geometry::GetLodDistance() const | File: ../Graphics/Geometry.h
  165. engine->RegisterObjectMethod("Geometry", "float GetLodDistance() const", asMETHODPR(Geometry, GetLodDistance, () const, float), asCALL_THISCALL);
  166. engine->RegisterObjectMethod("Geometry", "float get_lodDistance() const", asMETHODPR(Geometry, GetLodDistance, () const, float), asCALL_THISCALL);
  167. // unsigned Geometry::GetNumVertexBuffers() const | File: ../Graphics/Geometry.h
  168. engine->RegisterObjectMethod("Geometry", "uint GetNumVertexBuffers() const", asMETHODPR(Geometry, GetNumVertexBuffers, () const, unsigned), asCALL_THISCALL);
  169. engine->RegisterObjectMethod("Geometry", "uint get_numVertexBuffers() const", asMETHODPR(Geometry, GetNumVertexBuffers, () const, unsigned), asCALL_THISCALL);
  170. // PrimitiveType Geometry::GetPrimitiveType() const | File: ../Graphics/Geometry.h
  171. engine->RegisterObjectMethod("Geometry", "PrimitiveType GetPrimitiveType() const", asMETHODPR(Geometry, GetPrimitiveType, () const, PrimitiveType), asCALL_THISCALL);
  172. engine->RegisterObjectMethod("Geometry", "PrimitiveType get_primitiveType() const", asMETHODPR(Geometry, GetPrimitiveType, () const, PrimitiveType), asCALL_THISCALL);
  173. // void Geometry::GetRawData(const unsigned char*& vertexData, unsigned& vertexSize, const unsigned char*& indexData, unsigned& indexSize, const PODVector<VertexElement>*& elements) const | File: ../Graphics/Geometry.h
  174. // Error: type "const unsigned char*&" can not automatically bind
  175. // void Geometry::GetRawDataShared(SharedArrayPtr<unsigned char>& vertexData, unsigned& vertexSize, SharedArrayPtr<unsigned char>& indexData, unsigned& indexSize, const PODVector<VertexElement>*& elements) const | File: ../Graphics/Geometry.h
  176. // Error: type "SharedArrayPtr<unsigned char>&" can not automatically bind
  177. // Object* Object::GetSubsystem(StringHash type) const | File: ../Core/Object.h
  178. engine->RegisterObjectMethod("Geometry", "Object@+ GetSubsystem(StringHash) const", asMETHODPR(Geometry, GetSubsystem, (StringHash) const, Object*), asCALL_THISCALL);
  179. // template<class T> T* Object::GetSubsystem() const | File: ../Core/Object.h
  180. // Not registered because template
  181. // virtual StringHash Object::GetType() const =0 | File: ../Core/Object.h
  182. engine->RegisterObjectMethod("Geometry", "StringHash GetType() const", asMETHODPR(Geometry, GetType, () const, StringHash), asCALL_THISCALL);
  183. engine->RegisterObjectMethod("Geometry", "StringHash get_type() const", asMETHODPR(Geometry, GetType, () const, StringHash), asCALL_THISCALL);
  184. // virtual const TypeInfo* Object::GetTypeInfo() const =0 | File: ../Core/Object.h
  185. // Error: type "TypeInfo" can not automatically bind bacause have @nobind mark
  186. // static const TypeInfo* Object::GetTypeInfoStatic() | File: ../Core/Object.h
  187. // Error: type "TypeInfo" can not automatically bind bacause have @nobind mark
  188. // virtual const String& Object::GetTypeName() const =0 | File: ../Core/Object.h
  189. engine->RegisterObjectMethod("Geometry", "const String& GetTypeName() const", asMETHODPR(Geometry, GetTypeName, () const, const String&), asCALL_THISCALL);
  190. engine->RegisterObjectMethod("Geometry", "const String& get_typeName() const", asMETHODPR(Geometry, GetTypeName, () const, const String&), asCALL_THISCALL);
  191. // VertexBuffer* Geometry::GetVertexBuffer(unsigned index) const | File: ../Graphics/Geometry.h
  192. engine->RegisterObjectMethod("Geometry", "VertexBuffer@+ GetVertexBuffer(uint) const", asMETHODPR(Geometry, GetVertexBuffer, (unsigned) const, VertexBuffer*), asCALL_THISCALL);
  193. engine->RegisterObjectMethod("Geometry", "VertexBuffer@+ get_vertexBuffers(uint) const", asMETHODPR(Geometry, GetVertexBuffer, (unsigned) const, VertexBuffer*), asCALL_THISCALL);
  194. // const Vector<SharedPtr<VertexBuffer>>& Geometry::GetVertexBuffers() const | File: ../Graphics/Geometry.h
  195. engine->RegisterObjectMethod("Geometry", "Array<VertexBuffer@>@ GetVertexBuffers() const", asFUNCTION(Geometry_GetVertexBuffers_void), asCALL_CDECL_OBJFIRST);
  196. // unsigned Geometry::GetVertexCount() const | File: ../Graphics/Geometry.h
  197. engine->RegisterObjectMethod("Geometry", "uint GetVertexCount() const", asMETHODPR(Geometry, GetVertexCount, () const, unsigned), asCALL_THISCALL);
  198. engine->RegisterObjectMethod("Geometry", "uint get_vertexCount() const", asMETHODPR(Geometry, GetVertexCount, () const, unsigned), asCALL_THISCALL);
  199. // unsigned Geometry::GetVertexStart() const | File: ../Graphics/Geometry.h
  200. engine->RegisterObjectMethod("Geometry", "uint GetVertexStart() const", asMETHODPR(Geometry, GetVertexStart, () const, unsigned), asCALL_THISCALL);
  201. engine->RegisterObjectMethod("Geometry", "uint get_vertexStart() const", asMETHODPR(Geometry, GetVertexStart, () const, unsigned), asCALL_THISCALL);
  202. // bool Object::HasEventHandlers() const | File: ../Core/Object.h
  203. engine->RegisterObjectMethod("Geometry", "bool HasEventHandlers() const", asMETHODPR(Geometry, HasEventHandlers, () const, bool), asCALL_THISCALL);
  204. // bool Object::HasSubscribedToEvent(StringHash eventType) const | File: ../Core/Object.h
  205. engine->RegisterObjectMethod("Geometry", "bool HasSubscribedToEvent(StringHash) const", asMETHODPR(Geometry, HasSubscribedToEvent, (StringHash) const, bool), asCALL_THISCALL);
  206. // bool Object::HasSubscribedToEvent(Object* sender, StringHash eventType) const | File: ../Core/Object.h
  207. engine->RegisterObjectMethod("Geometry", "bool HasSubscribedToEvent(Object@+, StringHash) const", asMETHODPR(Geometry, HasSubscribedToEvent, (Object*, StringHash) const, bool), asCALL_THISCALL);
  208. // bool Geometry::IsEmpty() const | File: ../Graphics/Geometry.h
  209. engine->RegisterObjectMethod("Geometry", "bool IsEmpty() const", asMETHODPR(Geometry, IsEmpty, () const, bool), asCALL_THISCALL);
  210. engine->RegisterObjectMethod("Geometry", "bool get_empty() const", asMETHODPR(Geometry, IsEmpty, () const, bool), asCALL_THISCALL);
  211. // bool Geometry::IsInside(const Ray& ray) const | File: ../Graphics/Geometry.h
  212. engine->RegisterObjectMethod("Geometry", "bool IsInside(const Ray&in) const", asMETHODPR(Geometry, IsInside, (const Ray&) const, bool), asCALL_THISCALL);
  213. // bool Object::IsInstanceOf(StringHash type) const | File: ../Core/Object.h
  214. engine->RegisterObjectMethod("Geometry", "bool IsInstanceOf(StringHash) const", asMETHODPR(Geometry, IsInstanceOf, (StringHash) const, bool), asCALL_THISCALL);
  215. // bool Object::IsInstanceOf(const TypeInfo* typeInfo) const | File: ../Core/Object.h
  216. // Error: type "TypeInfo" can not automatically bind bacause have @nobind mark
  217. // template<typename T> bool Object::IsInstanceOf() const | File: ../Core/Object.h
  218. // Not registered because template
  219. // virtual void Object::OnEvent(Object* sender, StringHash eventType, VariantMap& eventData) | File: ../Core/Object.h
  220. engine->RegisterObjectMethod("Geometry", "void OnEvent(Object@+, StringHash, VariantMap&)", asMETHODPR(Geometry, OnEvent, (Object*, StringHash, VariantMap&), void), asCALL_THISCALL);
  221. // RefCount* RefCounted::RefCountPtr() | File: ../Container/RefCounted.h
  222. // Error: type "RefCount*" can not automatically bind
  223. // int RefCounted::Refs() const | File: ../Container/RefCounted.h
  224. engine->RegisterObjectMethod("Geometry", "int Refs() const", asMETHODPR(Geometry, Refs, () const, int), asCALL_THISCALL);
  225. engine->RegisterObjectMethod("Geometry", "int get_refs() const", asMETHODPR(Geometry, Refs, () const, int), asCALL_THISCALL);
  226. // void RefCounted::ReleaseRef() | File: ../Container/RefCounted.h
  227. engine->RegisterObjectBehaviour("Geometry", asBEHAVE_RELEASE, "void f()", asMETHODPR(Geometry, ReleaseRef, (), void), asCALL_THISCALL);
  228. // void Object::SendEvent(StringHash eventType) | File: ../Core/Object.h
  229. engine->RegisterObjectMethod("Geometry", "void SendEvent(StringHash)", asMETHODPR(Geometry, SendEvent, (StringHash), void), asCALL_THISCALL);
  230. // void Object::SendEvent(StringHash eventType, VariantMap& eventData) | File: ../Core/Object.h
  231. engine->RegisterObjectMethod("Geometry", "void SendEvent(StringHash, VariantMap&)", asMETHODPR(Geometry, SendEvent, (StringHash, VariantMap&), void), asCALL_THISCALL);
  232. // template<typename... Args> void Object::SendEvent(StringHash eventType, Args... args) | File: ../Core/Object.h
  233. // Not registered because template
  234. // void Object::SetBlockEvents(bool block) | File: ../Core/Object.h
  235. engine->RegisterObjectMethod("Geometry", "void SetBlockEvents(bool)", asMETHODPR(Geometry, SetBlockEvents, (bool), void), asCALL_THISCALL);
  236. // bool Geometry::SetDrawRange(PrimitiveType type, unsigned indexStart, unsigned indexCount, bool getUsedVertexRange=true) | File: ../Graphics/Geometry.h
  237. engine->RegisterObjectMethod("Geometry", "bool SetDrawRange(PrimitiveType, uint, uint, bool = true)", asMETHODPR(Geometry, SetDrawRange, (PrimitiveType, unsigned, unsigned, bool), bool), asCALL_THISCALL);
  238. // bool Geometry::SetDrawRange(PrimitiveType type, unsigned indexStart, unsigned indexCount, unsigned vertexStart, unsigned vertexCount, bool checkIllegal=true) | File: ../Graphics/Geometry.h
  239. engine->RegisterObjectMethod("Geometry", "bool SetDrawRange(PrimitiveType, uint, uint, uint, uint, bool = true)", asMETHODPR(Geometry, SetDrawRange, (PrimitiveType, unsigned, unsigned, unsigned, unsigned, bool), bool), asCALL_THISCALL);
  240. // void Object::SetGlobalVar(StringHash key, const Variant& value) | File: ../Core/Object.h
  241. engine->RegisterObjectMethod("Geometry", "void SetGlobalVar(StringHash, const Variant&in)", asMETHODPR(Geometry, SetGlobalVar, (StringHash, const Variant&), void), asCALL_THISCALL);
  242. engine->RegisterObjectMethod("Geometry", "void set_globalVar(StringHash, const Variant&in)", asMETHODPR(Geometry, SetGlobalVar, (StringHash, const Variant&), void), asCALL_THISCALL);
  243. // void Geometry::SetIndexBuffer(IndexBuffer* buffer) | File: ../Graphics/Geometry.h
  244. engine->RegisterObjectMethod("Geometry", "void SetIndexBuffer(IndexBuffer@+)", asMETHODPR(Geometry, SetIndexBuffer, (IndexBuffer*), void), asCALL_THISCALL);
  245. engine->RegisterObjectMethod("Geometry", "void set_indexBuffer(IndexBuffer@+)", asMETHODPR(Geometry, SetIndexBuffer, (IndexBuffer*), void), asCALL_THISCALL);
  246. // void Geometry::SetLodDistance(float distance) | File: ../Graphics/Geometry.h
  247. engine->RegisterObjectMethod("Geometry", "void SetLodDistance(float)", asMETHODPR(Geometry, SetLodDistance, (float), void), asCALL_THISCALL);
  248. engine->RegisterObjectMethod("Geometry", "void set_lodDistance(float)", asMETHODPR(Geometry, SetLodDistance, (float), void), asCALL_THISCALL);
  249. // bool Geometry::SetNumVertexBuffers(unsigned num) | File: ../Graphics/Geometry.h
  250. engine->RegisterObjectMethod("Geometry", "bool SetNumVertexBuffers(uint)", asMETHODPR(Geometry, SetNumVertexBuffers, (unsigned), bool), asCALL_THISCALL);
  251. engine->RegisterObjectMethod("Geometry", "bool set_numVertexBuffers(uint)", asMETHODPR(Geometry, SetNumVertexBuffers, (unsigned), bool), asCALL_THISCALL);
  252. // void Geometry::SetRawIndexData(const SharedArrayPtr<unsigned char>& data, unsigned indexSize) | File: ../Graphics/Geometry.h
  253. // Error: type "const SharedArrayPtr<unsigned char>&" can not automatically bind
  254. // void Geometry::SetRawVertexData(const SharedArrayPtr<unsigned char>& data, const PODVector<VertexElement>& elements) | File: ../Graphics/Geometry.h
  255. // Error: type "const SharedArrayPtr<unsigned char>&" can not automatically bind
  256. // void Geometry::SetRawVertexData(const SharedArrayPtr<unsigned char>& data, unsigned elementMask) | File: ../Graphics/Geometry.h
  257. // Error: type "const SharedArrayPtr<unsigned char>&" can not automatically bind
  258. // bool Geometry::SetVertexBuffer(unsigned index, VertexBuffer* buffer) | File: ../Graphics/Geometry.h
  259. engine->RegisterObjectMethod("Geometry", "bool SetVertexBuffer(uint, VertexBuffer@+)", asMETHODPR(Geometry, SetVertexBuffer, (unsigned, VertexBuffer*), bool), asCALL_THISCALL);
  260. // void Object::SubscribeToEvent(StringHash eventType, EventHandler* handler) | File: ../Core/Object.h
  261. // Error: type "EventHandler*" can not automatically bind
  262. // void Object::SubscribeToEvent(Object* sender, StringHash eventType, EventHandler* handler) | File: ../Core/Object.h
  263. // Error: type "EventHandler*" can not automatically bind
  264. // void Object::SubscribeToEvent(StringHash eventType, const std::function<void(StringHash, VariantMap&)>& function, void* userData=nullptr) | File: ../Core/Object.h
  265. // Error: type "const std::function<void(StringHash, VariantMap&)>&" can not automatically bind
  266. // void Object::SubscribeToEvent(Object* sender, StringHash eventType, const std::function<void(StringHash, VariantMap&)>& function, void* userData=nullptr) | File: ../Core/Object.h
  267. // Error: type "const std::function<void(StringHash, VariantMap&)>&" can not automatically bind
  268. // void Object::UnsubscribeFromAllEvents() | File: ../Core/Object.h
  269. engine->RegisterObjectMethod("Geometry", "void UnsubscribeFromAllEvents()", asMETHODPR(Geometry, UnsubscribeFromAllEvents, (), void), asCALL_THISCALL);
  270. // void Object::UnsubscribeFromAllEventsExcept(const PODVector<StringHash>& exceptions, bool onlyUserData) | File: ../Core/Object.h
  271. engine->RegisterObjectMethod("Geometry", "void UnsubscribeFromAllEventsExcept(Array<StringHash>@+, bool)", asFUNCTION(Geometry_UnsubscribeFromAllEventsExcept_PODVectorStringHash_bool), asCALL_CDECL_OBJFIRST);
  272. // void Object::UnsubscribeFromEvent(StringHash eventType) | File: ../Core/Object.h
  273. engine->RegisterObjectMethod("Geometry", "void UnsubscribeFromEvent(StringHash)", asMETHODPR(Geometry, UnsubscribeFromEvent, (StringHash), void), asCALL_THISCALL);
  274. // void Object::UnsubscribeFromEvent(Object* sender, StringHash eventType) | File: ../Core/Object.h
  275. engine->RegisterObjectMethod("Geometry", "void UnsubscribeFromEvent(Object@+, StringHash)", asMETHODPR(Geometry, UnsubscribeFromEvent, (Object*, StringHash), void), asCALL_THISCALL);
  276. // void Object::UnsubscribeFromEvents(Object* sender) | File: ../Core/Object.h
  277. engine->RegisterObjectMethod("Geometry", "void UnsubscribeFromEvents(Object@+)", asMETHODPR(Geometry, UnsubscribeFromEvents, (Object*), void), asCALL_THISCALL);
  278. // int RefCounted::WeakRefs() const | File: ../Container/RefCounted.h
  279. engine->RegisterObjectMethod("Geometry", "int WeakRefs() const", asMETHODPR(Geometry, WeakRefs, () const, int), asCALL_THISCALL);
  280. engine->RegisterObjectMethod("Geometry", "int get_weakRefs() const", asMETHODPR(Geometry, WeakRefs, () const, int), asCALL_THISCALL);
  281. #ifdef REGISTER_MANUAL_PART_Object
  282. REGISTER_MANUAL_PART_Object(Geometry, "Geometry")
  283. #endif
  284. #ifdef REGISTER_MANUAL_PART_RefCounted
  285. REGISTER_MANUAL_PART_RefCounted(Geometry, "Geometry")
  286. #endif
  287. #ifdef REGISTER_MANUAL_PART_Geometry
  288. REGISTER_MANUAL_PART_Geometry(Geometry, "Geometry")
  289. #endif
  290. RegisterSubclass<Object, Geometry>(engine, "Object", "Geometry");
  291. RegisterSubclass<RefCounted, Geometry>(engine, "RefCounted", "Geometry");
  292. // void Graphics::AddGPUObject(GPUObject* object) | File: ../Graphics/Graphics.h
  293. // Error: type "GPUObject*" can not automatically bind
  294. // void RefCounted::AddRef() | File: ../Container/RefCounted.h
  295. engine->RegisterObjectBehaviour("Graphics", asBEHAVE_ADDREF, "void f()", asMETHODPR(Graphics, AddRef, (), void), asCALL_THISCALL);
  296. // void Graphics::BeginDumpShaders(const String& fileName) | File: ../Graphics/Graphics.h
  297. engine->RegisterObjectMethod("Graphics", "void BeginDumpShaders(const String&in)", asMETHODPR(Graphics, BeginDumpShaders, (const String&), void), asCALL_THISCALL);
  298. // bool Graphics::BeginFrame() | File: ../Graphics/Graphics.h
  299. engine->RegisterObjectMethod("Graphics", "bool BeginFrame()", asMETHODPR(Graphics, BeginFrame, (), bool), asCALL_THISCALL);
  300. // template<typename T> T* Object::Cast() | File: ../Core/Object.h
  301. // Not registered because template
  302. // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
  303. // Not registered because template
  304. // void Graphics::CleanupRenderSurface(RenderSurface* surface) | File: ../Graphics/Graphics.h
  305. // Not registered because have @nobind mark
  306. // void Graphics::CleanupScratchBuffers() | File: ../Graphics/Graphics.h
  307. engine->RegisterObjectMethod("Graphics", "void CleanupScratchBuffers()", asMETHODPR(Graphics, CleanupScratchBuffers, (), void), asCALL_THISCALL);
  308. // void Graphics::CleanupShaderPrograms(ShaderVariation* variation) | File: ../Graphics/Graphics.h
  309. engine->RegisterObjectMethod("Graphics", "void CleanupShaderPrograms(ShaderVariation@+)", asMETHODPR(Graphics, CleanupShaderPrograms, (ShaderVariation*), void), asCALL_THISCALL);
  310. // void Graphics::Clear(ClearTargetFlags flags, const Color& color=Color(0.0f, 0.0f, 0.0f, 0.0f), float depth=1.0f, unsigned stencil=0) | File: ../Graphics/Graphics.h
  311. engine->RegisterObjectMethod("Graphics", "void Clear(ClearTargetFlags, const Color&in = Color(0.0f, 0.0f, 0.0f, 0.0f), float = 1.0f, uint = 0)", asMETHODPR(Graphics, Clear, (ClearTargetFlags, const Color&, float, unsigned), void), asCALL_THISCALL);
  312. // void Graphics::ClearParameterSource(ShaderParameterGroup group) | File: ../Graphics/Graphics.h
  313. engine->RegisterObjectMethod("Graphics", "void ClearParameterSource(ShaderParameterGroup)", asMETHODPR(Graphics, ClearParameterSource, (ShaderParameterGroup), void), asCALL_THISCALL);
  314. // void Graphics::ClearParameterSources() | File: ../Graphics/Graphics.h
  315. engine->RegisterObjectMethod("Graphics", "void ClearParameterSources()", asMETHODPR(Graphics, ClearParameterSources, (), void), asCALL_THISCALL);
  316. // void Graphics::ClearTransformSources() | File: ../Graphics/Graphics.h
  317. engine->RegisterObjectMethod("Graphics", "void ClearTransformSources()", asMETHODPR(Graphics, ClearTransformSources, (), void), asCALL_THISCALL);
  318. // void Graphics::Close() | File: ../Graphics/Graphics.h
  319. engine->RegisterObjectMethod("Graphics", "void Close()", asMETHODPR(Graphics, Close, (), void), asCALL_THISCALL);
  320. // void Graphics::Draw(PrimitiveType type, unsigned vertexStart, unsigned vertexCount) | File: ../Graphics/Graphics.h
  321. engine->RegisterObjectMethod("Graphics", "void Draw(PrimitiveType, uint, uint)", asMETHODPR(Graphics, Draw, (PrimitiveType, unsigned, unsigned), void), asCALL_THISCALL);
  322. // void Graphics::Draw(PrimitiveType type, unsigned indexStart, unsigned indexCount, unsigned minVertex, unsigned vertexCount) | File: ../Graphics/Graphics.h
  323. engine->RegisterObjectMethod("Graphics", "void Draw(PrimitiveType, uint, uint, uint, uint)", asMETHODPR(Graphics, Draw, (PrimitiveType, unsigned, unsigned, unsigned, unsigned), void), asCALL_THISCALL);
  324. // void Graphics::Draw(PrimitiveType type, unsigned indexStart, unsigned indexCount, unsigned baseVertexIndex, unsigned minVertex, unsigned vertexCount) | File: ../Graphics/Graphics.h
  325. engine->RegisterObjectMethod("Graphics", "void Draw(PrimitiveType, uint, uint, uint, uint, uint)", asMETHODPR(Graphics, Draw, (PrimitiveType, unsigned, unsigned, unsigned, unsigned, unsigned), void), asCALL_THISCALL);
  326. // void Graphics::DrawInstanced(PrimitiveType type, unsigned indexStart, unsigned indexCount, unsigned minVertex, unsigned vertexCount, unsigned instanceCount) | File: ../Graphics/Graphics.h
  327. engine->RegisterObjectMethod("Graphics", "void DrawInstanced(PrimitiveType, uint, uint, uint, uint, uint)", asMETHODPR(Graphics, DrawInstanced, (PrimitiveType, unsigned, unsigned, unsigned, unsigned, unsigned), void), asCALL_THISCALL);
  328. // void Graphics::DrawInstanced(PrimitiveType type, unsigned indexStart, unsigned indexCount, unsigned baseVertexIndex, unsigned minVertex, unsigned vertexCount, unsigned instanceCount) | File: ../Graphics/Graphics.h
  329. engine->RegisterObjectMethod("Graphics", "void DrawInstanced(PrimitiveType, uint, uint, uint, uint, uint, uint)", asMETHODPR(Graphics, DrawInstanced, (PrimitiveType, unsigned, unsigned, unsigned, unsigned, unsigned, unsigned), void), asCALL_THISCALL);
  330. // void Graphics::EndDumpShaders() | File: ../Graphics/Graphics.h
  331. engine->RegisterObjectMethod("Graphics", "void EndDumpShaders()", asMETHODPR(Graphics, EndDumpShaders, (), void), asCALL_THISCALL);
  332. // void Graphics::EndFrame() | File: ../Graphics/Graphics.h
  333. engine->RegisterObjectMethod("Graphics", "void EndFrame()", asMETHODPR(Graphics, EndFrame, (), void), asCALL_THISCALL);
  334. // unsigned Graphics::FindBestResolutionIndex(int monitor, int width, int height, int refreshRate) const | File: ../Graphics/Graphics.h
  335. engine->RegisterObjectMethod("Graphics", "uint FindBestResolutionIndex(int, int, int, int) const", asMETHODPR(Graphics, FindBestResolutionIndex, (int, int, int, int) const, unsigned), asCALL_THISCALL);
  336. // void Graphics::FreeScratchBuffer(void* buffer) | File: ../Graphics/Graphics.h
  337. // Error: type "void*" can not automatically bind
  338. // static unsigned Graphics::GetAlphaFormat() | File: ../Graphics/Graphics.h
  339. engine->SetDefaultNamespace("Graphics");
  340. engine->RegisterGlobalFunction("uint GetAlphaFormat()", asFUNCTIONPR(Graphics::GetAlphaFormat, (), unsigned), asCALL_CDECL);
  341. engine->SetDefaultNamespace("");
  342. // bool Graphics::GetAlphaToCoverage() const | File: ../Graphics/Graphics.h
  343. engine->RegisterObjectMethod("Graphics", "bool GetAlphaToCoverage() const", asMETHODPR(Graphics, GetAlphaToCoverage, () const, bool), asCALL_THISCALL);
  344. // bool Graphics::GetAnisotropySupport() const | File: ../Graphics/Graphics.h
  345. engine->RegisterObjectMethod("Graphics", "bool GetAnisotropySupport() const", asMETHODPR(Graphics, GetAnisotropySupport, () const, bool), asCALL_THISCALL);
  346. // const String& Graphics::GetApiName() const | File: ../Graphics/Graphics.h
  347. engine->RegisterObjectMethod("Graphics", "const String& GetApiName() const", asMETHODPR(Graphics, GetApiName, () const, const String&), asCALL_THISCALL);
  348. engine->RegisterObjectMethod("Graphics", "const String& get_apiName() const", asMETHODPR(Graphics, GetApiName, () const, const String&), asCALL_THISCALL);
  349. // BlendMode Graphics::GetBlendMode() const | File: ../Graphics/Graphics.h
  350. engine->RegisterObjectMethod("Graphics", "BlendMode GetBlendMode() const", asMETHODPR(Graphics, GetBlendMode, () const, BlendMode), asCALL_THISCALL);
  351. // bool Object::GetBlockEvents() const | File: ../Core/Object.h
  352. engine->RegisterObjectMethod("Graphics", "bool GetBlockEvents() const", asMETHODPR(Graphics, GetBlockEvents, () const, bool), asCALL_THISCALL);
  353. // bool Graphics::GetBorderless() const | File: ../Graphics/Graphics.h
  354. engine->RegisterObjectMethod("Graphics", "bool GetBorderless() const", asMETHODPR(Graphics, GetBorderless, () const, bool), asCALL_THISCALL);
  355. engine->RegisterObjectMethod("Graphics", "bool get_borderless() const", asMETHODPR(Graphics, GetBorderless, () const, bool), asCALL_THISCALL);
  356. // const String& Object::GetCategory() const | File: ../Core/Object.h
  357. engine->RegisterObjectMethod("Graphics", "const String& GetCategory() const", asMETHODPR(Graphics, GetCategory, () const, const String&), asCALL_THISCALL);
  358. engine->RegisterObjectMethod("Graphics", "const String& get_category() const", asMETHODPR(Graphics, GetCategory, () const, const String&), asCALL_THISCALL);
  359. // bool Graphics::GetColorWrite() const | File: ../Graphics/Graphics.h
  360. engine->RegisterObjectMethod("Graphics", "bool GetColorWrite() const", asMETHODPR(Graphics, GetColorWrite, () const, bool), asCALL_THISCALL);
  361. // Context* Object::GetContext() const | File: ../Core/Object.h
  362. // Error: type "Context*" can not be returned
  363. // CullMode Graphics::GetCullMode() const | File: ../Graphics/Graphics.h
  364. engine->RegisterObjectMethod("Graphics", "CullMode GetCullMode() const", asMETHODPR(Graphics, GetCullMode, () const, CullMode), asCALL_THISCALL);
  365. // int Graphics::GetCurrentMonitor() const | File: ../Graphics/Graphics.h
  366. engine->RegisterObjectMethod("Graphics", "int GetCurrentMonitor() const", asMETHODPR(Graphics, GetCurrentMonitor, () const, int), asCALL_THISCALL);
  367. engine->RegisterObjectMethod("Graphics", "int get_currentMonitor() const", asMETHODPR(Graphics, GetCurrentMonitor, () const, int), asCALL_THISCALL);
  368. // unsigned Graphics::GetDefaultTextureAnisotropy() const | File: ../Graphics/Graphics.h
  369. engine->RegisterObjectMethod("Graphics", "uint GetDefaultTextureAnisotropy() const", asMETHODPR(Graphics, GetDefaultTextureAnisotropy, () const, unsigned), asCALL_THISCALL);
  370. // TextureFilterMode Graphics::GetDefaultTextureFilterMode() const | File: ../Graphics/Graphics.h
  371. engine->RegisterObjectMethod("Graphics", "TextureFilterMode GetDefaultTextureFilterMode() const", asMETHODPR(Graphics, GetDefaultTextureFilterMode, () const, TextureFilterMode), asCALL_THISCALL);
  372. // bool Graphics::GetDeferredSupport() const | File: ../Graphics/Graphics.h
  373. engine->RegisterObjectMethod("Graphics", "bool GetDeferredSupport() const", asMETHODPR(Graphics, GetDeferredSupport, () const, bool), asCALL_THISCALL);
  374. engine->RegisterObjectMethod("Graphics", "bool get_deferredSupport() const", asMETHODPR(Graphics, GetDeferredSupport, () const, bool), asCALL_THISCALL);
  375. // float Graphics::GetDepthConstantBias() const | File: ../Graphics/Graphics.h
  376. engine->RegisterObjectMethod("Graphics", "float GetDepthConstantBias() const", asMETHODPR(Graphics, GetDepthConstantBias, () const, float), asCALL_THISCALL);
  377. // float Graphics::GetDepthSlopeScaledBias() const | File: ../Graphics/Graphics.h
  378. engine->RegisterObjectMethod("Graphics", "float GetDepthSlopeScaledBias() const", asMETHODPR(Graphics, GetDepthSlopeScaledBias, () const, float), asCALL_THISCALL);
  379. // RenderSurface* Graphics::GetDepthStencil() const | File: ../Graphics/Graphics.h
  380. engine->RegisterObjectMethod("Graphics", "RenderSurface@+ GetDepthStencil() const", asMETHODPR(Graphics, GetDepthStencil, () const, RenderSurface*), asCALL_THISCALL);
  381. // static unsigned Graphics::GetDepthStencilFormat() | File: ../Graphics/Graphics.h
  382. engine->SetDefaultNamespace("Graphics");
  383. engine->RegisterGlobalFunction("uint GetDepthStencilFormat()", asFUNCTIONPR(Graphics::GetDepthStencilFormat, (), unsigned), asCALL_CDECL);
  384. engine->SetDefaultNamespace("");
  385. // CompareMode Graphics::GetDepthTest() const | File: ../Graphics/Graphics.h
  386. engine->RegisterObjectMethod("Graphics", "CompareMode GetDepthTest() const", asMETHODPR(Graphics, GetDepthTest, () const, CompareMode), asCALL_THISCALL);
  387. // bool Graphics::GetDepthWrite() const | File: ../Graphics/Graphics.h
  388. engine->RegisterObjectMethod("Graphics", "bool GetDepthWrite() const", asMETHODPR(Graphics, GetDepthWrite, () const, bool), asCALL_THISCALL);
  389. // IntVector2 Graphics::GetDesktopResolution(int monitor) const | File: ../Graphics/Graphics.h
  390. engine->RegisterObjectMethod("Graphics", "IntVector2 GetDesktopResolution(int) const", asMETHODPR(Graphics, GetDesktopResolution, (int) const, IntVector2), asCALL_THISCALL);
  391. engine->RegisterObjectMethod("Graphics", "IntVector2 get_desktopResolution(int) const", asMETHODPR(Graphics, GetDesktopResolution, (int) const, IntVector2), asCALL_THISCALL);
  392. // Vector3 Graphics::GetDisplayDPI(int monitor=0) const | File: ../Graphics/Graphics.h
  393. engine->RegisterObjectMethod("Graphics", "Vector3 GetDisplayDPI(int = 0) const", asMETHODPR(Graphics, GetDisplayDPI, (int) const, Vector3), asCALL_THISCALL);
  394. engine->RegisterObjectMethod("Graphics", "Vector3 get_displayDPI(int = 0) const", asMETHODPR(Graphics, GetDisplayDPI, (int) const, Vector3), asCALL_THISCALL);
  395. // bool Graphics::GetDither() const | File: ../Graphics/Graphics.h
  396. engine->RegisterObjectMethod("Graphics", "bool GetDither() const", asMETHODPR(Graphics, GetDither, () const, bool), asCALL_THISCALL);
  397. engine->RegisterObjectMethod("Graphics", "bool get_dither() const", asMETHODPR(Graphics, GetDither, () const, bool), asCALL_THISCALL);
  398. // unsigned Graphics::GetDummyColorFormat() const | File: ../Graphics/Graphics.h
  399. engine->RegisterObjectMethod("Graphics", "uint GetDummyColorFormat() const", asMETHODPR(Graphics, GetDummyColorFormat, () const, unsigned), asCALL_THISCALL);
  400. // VariantMap& Object::GetEventDataMap() const | File: ../Core/Object.h
  401. engine->RegisterObjectMethod("Graphics", "VariantMap& GetEventDataMap() const", asMETHODPR(Graphics, GetEventDataMap, () const, VariantMap&), asCALL_THISCALL);
  402. // EventHandler* Object::GetEventHandler() const | File: ../Core/Object.h
  403. // Error: type "EventHandler*" can not automatically bind
  404. // Object* Object::GetEventSender() const | File: ../Core/Object.h
  405. engine->RegisterObjectMethod("Graphics", "Object@+ GetEventSender() const", asMETHODPR(Graphics, GetEventSender, () const, Object*), asCALL_THISCALL);
  406. // void* Graphics::GetExternalWindow() const | File: ../Graphics/Graphics.h
  407. // Error: type "void*" can not automatically bind
  408. // FillMode Graphics::GetFillMode() const | File: ../Graphics/Graphics.h
  409. engine->RegisterObjectMethod("Graphics", "FillMode GetFillMode() const", asMETHODPR(Graphics, GetFillMode, () const, FillMode), asCALL_THISCALL);
  410. // static unsigned Graphics::GetFloat16Format() | File: ../Graphics/Graphics.h
  411. engine->SetDefaultNamespace("Graphics");
  412. engine->RegisterGlobalFunction("uint GetFloat16Format()", asFUNCTIONPR(Graphics::GetFloat16Format, (), unsigned), asCALL_CDECL);
  413. engine->SetDefaultNamespace("");
  414. // static unsigned Graphics::GetFloat32Format() | File: ../Graphics/Graphics.h
  415. engine->SetDefaultNamespace("Graphics");
  416. engine->RegisterGlobalFunction("uint GetFloat32Format()", asFUNCTIONPR(Graphics::GetFloat32Format, (), unsigned), asCALL_CDECL);
  417. engine->SetDefaultNamespace("");
  418. // bool Graphics::GetFlushGPU() const | File: ../Graphics/Graphics.h
  419. engine->RegisterObjectMethod("Graphics", "bool GetFlushGPU() const", asMETHODPR(Graphics, GetFlushGPU, () const, bool), asCALL_THISCALL);
  420. engine->RegisterObjectMethod("Graphics", "bool get_flushGPU() const", asMETHODPR(Graphics, GetFlushGPU, () const, bool), asCALL_THISCALL);
  421. // bool Graphics::GetForceGL2() const | File: ../Graphics/Graphics.h
  422. engine->RegisterObjectMethod("Graphics", "bool GetForceGL2() const", asMETHODPR(Graphics, GetForceGL2, () const, bool), asCALL_THISCALL);
  423. // unsigned Graphics::GetFormat(CompressedFormat format) const | File: ../Graphics/Graphics.h
  424. engine->RegisterObjectMethod("Graphics", "uint GetFormat(CompressedFormat) const", asMETHODPR(Graphics, GetFormat, (CompressedFormat) const, unsigned), asCALL_THISCALL);
  425. // static unsigned Graphics::GetFormat(const String& formatName) | File: ../Graphics/Graphics.h
  426. engine->SetDefaultNamespace("Graphics");
  427. engine->RegisterGlobalFunction("uint GetFormat(const String&in)", asFUNCTIONPR(Graphics::GetFormat, (const String&), unsigned), asCALL_CDECL);
  428. engine->SetDefaultNamespace("");
  429. // bool Graphics::GetFullscreen() const | File: ../Graphics/Graphics.h
  430. engine->RegisterObjectMethod("Graphics", "bool GetFullscreen() const", asMETHODPR(Graphics, GetFullscreen, () const, bool), asCALL_THISCALL);
  431. engine->RegisterObjectMethod("Graphics", "bool get_fullscreen() const", asMETHODPR(Graphics, GetFullscreen, () const, bool), asCALL_THISCALL);
  432. // static bool Graphics::GetGL3Support() | File: ../Graphics/Graphics.h
  433. engine->SetDefaultNamespace("Graphics");
  434. engine->RegisterGlobalFunction("bool GetGL3Support()", asFUNCTIONPR(Graphics::GetGL3Support, (), bool), asCALL_CDECL);
  435. engine->SetDefaultNamespace("");
  436. // const Variant& Object::GetGlobalVar(StringHash key) const | File: ../Core/Object.h
  437. engine->RegisterObjectMethod("Graphics", "const Variant& GetGlobalVar(StringHash) const", asMETHODPR(Graphics, GetGlobalVar, (StringHash) const, const Variant&), asCALL_THISCALL);
  438. engine->RegisterObjectMethod("Graphics", "const Variant& get_globalVar(StringHash) const", asMETHODPR(Graphics, GetGlobalVar, (StringHash) const, const Variant&), asCALL_THISCALL);
  439. // const VariantMap& Object::GetGlobalVars() const | File: ../Core/Object.h
  440. engine->RegisterObjectMethod("Graphics", "const VariantMap& GetGlobalVars() const", asMETHODPR(Graphics, GetGlobalVars, () const, const VariantMap&), asCALL_THISCALL);
  441. engine->RegisterObjectMethod("Graphics", "const VariantMap& get_globalVars() const", asMETHODPR(Graphics, GetGlobalVars, () const, const VariantMap&), asCALL_THISCALL);
  442. // bool Graphics::GetHardwareShadowSupport() const | File: ../Graphics/Graphics.h
  443. engine->RegisterObjectMethod("Graphics", "bool GetHardwareShadowSupport() const", asMETHODPR(Graphics, GetHardwareShadowSupport, () const, bool), asCALL_THISCALL);
  444. engine->RegisterObjectMethod("Graphics", "bool get_hardwareShadowSupport() const", asMETHODPR(Graphics, GetHardwareShadowSupport, () const, bool), asCALL_THISCALL);
  445. // int Graphics::GetHeight() const | File: ../Graphics/Graphics.h
  446. engine->RegisterObjectMethod("Graphics", "int GetHeight() const", asMETHODPR(Graphics, GetHeight, () const, int), asCALL_THISCALL);
  447. engine->RegisterObjectMethod("Graphics", "int get_height() const", asMETHODPR(Graphics, GetHeight, () const, int), asCALL_THISCALL);
  448. // bool Graphics::GetHighDPI() const | File: ../Graphics/Graphics.h
  449. engine->RegisterObjectMethod("Graphics", "bool GetHighDPI() const", asMETHODPR(Graphics, GetHighDPI, () const, bool), asCALL_THISCALL);
  450. // unsigned Graphics::GetHiresShadowMapFormat() const | File: ../Graphics/Graphics.h
  451. engine->RegisterObjectMethod("Graphics", "uint GetHiresShadowMapFormat() const", asMETHODPR(Graphics, GetHiresShadowMapFormat, () const, unsigned), asCALL_THISCALL);
  452. // GraphicsImpl* Graphics::GetImpl() const | File: ../Graphics/Graphics.h
  453. // Error: type "GraphicsImpl*" can not automatically bind
  454. // IndexBuffer* Graphics::GetIndexBuffer() const | File: ../Graphics/Graphics.h
  455. engine->RegisterObjectMethod("Graphics", "IndexBuffer@+ GetIndexBuffer() const", asMETHODPR(Graphics, GetIndexBuffer, () const, IndexBuffer*), asCALL_THISCALL);
  456. // bool Graphics::GetInstancingSupport() const | File: ../Graphics/Graphics.h
  457. engine->RegisterObjectMethod("Graphics", "bool GetInstancingSupport() const", asMETHODPR(Graphics, GetInstancingSupport, () const, bool), asCALL_THISCALL);
  458. engine->RegisterObjectMethod("Graphics", "bool get_instancingSupport() const", asMETHODPR(Graphics, GetInstancingSupport, () const, bool), asCALL_THISCALL);
  459. // bool Graphics::GetLightPrepassSupport() const | File: ../Graphics/Graphics.h
  460. engine->RegisterObjectMethod("Graphics", "bool GetLightPrepassSupport() const", asMETHODPR(Graphics, GetLightPrepassSupport, () const, bool), asCALL_THISCALL);
  461. engine->RegisterObjectMethod("Graphics", "bool get_lightPrepassSupport() const", asMETHODPR(Graphics, GetLightPrepassSupport, () const, bool), asCALL_THISCALL);
  462. // bool Graphics::GetLineAntiAlias() const | File: ../Graphics/Graphics.h
  463. engine->RegisterObjectMethod("Graphics", "bool GetLineAntiAlias() const", asMETHODPR(Graphics, GetLineAntiAlias, () const, bool), asCALL_THISCALL);
  464. // static unsigned Graphics::GetLinearDepthFormat() | File: ../Graphics/Graphics.h
  465. engine->SetDefaultNamespace("Graphics");
  466. engine->RegisterGlobalFunction("uint GetLinearDepthFormat()", asFUNCTIONPR(Graphics::GetLinearDepthFormat, (), unsigned), asCALL_CDECL);
  467. engine->SetDefaultNamespace("");
  468. // static unsigned Graphics::GetLuminanceAlphaFormat() | File: ../Graphics/Graphics.h
  469. engine->SetDefaultNamespace("Graphics");
  470. engine->RegisterGlobalFunction("uint GetLuminanceAlphaFormat()", asFUNCTIONPR(Graphics::GetLuminanceAlphaFormat, (), unsigned), asCALL_CDECL);
  471. engine->SetDefaultNamespace("");
  472. // static unsigned Graphics::GetLuminanceFormat() | File: ../Graphics/Graphics.h
  473. engine->SetDefaultNamespace("Graphics");
  474. engine->RegisterGlobalFunction("uint GetLuminanceFormat()", asFUNCTIONPR(Graphics::GetLuminanceFormat, (), unsigned), asCALL_CDECL);
  475. engine->SetDefaultNamespace("");
  476. // static unsigned Graphics::GetMaxBones() | File: ../Graphics/Graphics.h
  477. engine->SetDefaultNamespace("Graphics");
  478. engine->RegisterGlobalFunction("uint GetMaxBones()", asFUNCTIONPR(Graphics::GetMaxBones, (), unsigned), asCALL_CDECL);
  479. engine->SetDefaultNamespace("");
  480. // bool Graphics::GetMaximized() const | File: ../Graphics/Graphics.h
  481. engine->RegisterObjectMethod("Graphics", "bool GetMaximized() const", asMETHODPR(Graphics, GetMaximized, () const, bool), asCALL_THISCALL);
  482. engine->RegisterObjectMethod("Graphics", "bool get_maximized() const", asMETHODPR(Graphics, GetMaximized, () const, bool), asCALL_THISCALL);
  483. // int Graphics::GetMonitor() const | File: ../Graphics/Graphics.h
  484. engine->RegisterObjectMethod("Graphics", "int GetMonitor() const", asMETHODPR(Graphics, GetMonitor, () const, int), asCALL_THISCALL);
  485. // int Graphics::GetMonitorCount() const | File: ../Graphics/Graphics.h
  486. engine->RegisterObjectMethod("Graphics", "int GetMonitorCount() const", asMETHODPR(Graphics, GetMonitorCount, () const, int), asCALL_THISCALL);
  487. engine->RegisterObjectMethod("Graphics", "int get_monitorCount() const", asMETHODPR(Graphics, GetMonitorCount, () const, int), asCALL_THISCALL);
  488. // int Graphics::GetMultiSample() const | File: ../Graphics/Graphics.h
  489. engine->RegisterObjectMethod("Graphics", "int GetMultiSample() const", asMETHODPR(Graphics, GetMultiSample, () const, int), asCALL_THISCALL);
  490. engine->RegisterObjectMethod("Graphics", "int get_multiSample() const", asMETHODPR(Graphics, GetMultiSample, () const, int), asCALL_THISCALL);
  491. // PODVector<int> Graphics::GetMultiSampleLevels() const | File: ../Graphics/Graphics.h
  492. engine->RegisterObjectMethod("Graphics", "Array<int>@ GetMultiSampleLevels() const", asFUNCTION(Graphics_GetMultiSampleLevels_void), asCALL_CDECL_OBJFIRST);
  493. engine->RegisterObjectMethod("Graphics", "Array<int>@ get_multiSampleLevels() const", asFUNCTION(Graphics_GetMultiSampleLevels_void), asCALL_CDECL_OBJFIRST);
  494. // unsigned Graphics::GetNumBatches() const | File: ../Graphics/Graphics.h
  495. engine->RegisterObjectMethod("Graphics", "uint GetNumBatches() const", asMETHODPR(Graphics, GetNumBatches, () const, unsigned), asCALL_THISCALL);
  496. engine->RegisterObjectMethod("Graphics", "uint get_numBatches() const", asMETHODPR(Graphics, GetNumBatches, () const, unsigned), asCALL_THISCALL);
  497. // unsigned Graphics::GetNumPrimitives() const | File: ../Graphics/Graphics.h
  498. engine->RegisterObjectMethod("Graphics", "uint GetNumPrimitives() const", asMETHODPR(Graphics, GetNumPrimitives, () const, unsigned), asCALL_THISCALL);
  499. engine->RegisterObjectMethod("Graphics", "uint get_numPrimitives() const", asMETHODPR(Graphics, GetNumPrimitives, () const, unsigned), asCALL_THISCALL);
  500. // ConstantBuffer* Graphics::GetOrCreateConstantBuffer(ShaderType type, unsigned index, unsigned size) | File: ../Graphics/Graphics.h
  501. // Not registered because have @nobind mark
  502. // const String& Graphics::GetOrientations() const | File: ../Graphics/Graphics.h
  503. engine->RegisterObjectMethod("Graphics", "const String& GetOrientations() const", asMETHODPR(Graphics, GetOrientations, () const, const String&), asCALL_THISCALL);
  504. engine->RegisterObjectMethod("Graphics", "const String& get_orientations() const", asMETHODPR(Graphics, GetOrientations, () const, const String&), asCALL_THISCALL);
  505. // ShaderVariation* Graphics::GetPixelShader() const | File: ../Graphics/Graphics.h
  506. engine->RegisterObjectMethod("Graphics", "ShaderVariation@+ GetPixelShader() const", asMETHODPR(Graphics, GetPixelShader, () const, ShaderVariation*), asCALL_THISCALL);
  507. // static const Vector2& Graphics::GetPixelUVOffset() | File: ../Graphics/Graphics.h
  508. engine->SetDefaultNamespace("Graphics");
  509. engine->RegisterGlobalFunction("const Vector2& GetPixelUVOffset()", asFUNCTIONPR(Graphics::GetPixelUVOffset, (), const Vector2&), asCALL_CDECL);
  510. engine->SetDefaultNamespace("");
  511. // static unsigned Graphics::GetReadableDepthFormat() | File: ../Graphics/Graphics.h
  512. engine->SetDefaultNamespace("Graphics");
  513. engine->RegisterGlobalFunction("uint GetReadableDepthFormat()", asFUNCTIONPR(Graphics::GetReadableDepthFormat, (), unsigned), asCALL_CDECL);
  514. engine->SetDefaultNamespace("");
  515. // bool Graphics::GetReadableDepthSupport() const | File: ../Graphics/Graphics.h
  516. engine->RegisterObjectMethod("Graphics", "bool GetReadableDepthSupport() const", asMETHODPR(Graphics, GetReadableDepthSupport, () const, bool), asCALL_THISCALL);
  517. engine->RegisterObjectMethod("Graphics", "bool get_readableDepthSupport() const", asMETHODPR(Graphics, GetReadableDepthSupport, () const, bool), asCALL_THISCALL);
  518. // int Graphics::GetRefreshRate() const | File: ../Graphics/Graphics.h
  519. engine->RegisterObjectMethod("Graphics", "int GetRefreshRate() const", asMETHODPR(Graphics, GetRefreshRate, () const, int), asCALL_THISCALL);
  520. // RenderSurface* Graphics::GetRenderTarget(unsigned index) const | File: ../Graphics/Graphics.h
  521. engine->RegisterObjectMethod("Graphics", "RenderSurface@+ GetRenderTarget(uint) const", asMETHODPR(Graphics, GetRenderTarget, (unsigned) const, RenderSurface*), asCALL_THISCALL);
  522. // IntVector2 Graphics::GetRenderTargetDimensions() const | File: ../Graphics/Graphics.h
  523. engine->RegisterObjectMethod("Graphics", "IntVector2 GetRenderTargetDimensions() const", asMETHODPR(Graphics, GetRenderTargetDimensions, () const, IntVector2), asCALL_THISCALL);
  524. // bool Graphics::GetResizable() const | File: ../Graphics/Graphics.h
  525. engine->RegisterObjectMethod("Graphics", "bool GetResizable() const", asMETHODPR(Graphics, GetResizable, () const, bool), asCALL_THISCALL);
  526. engine->RegisterObjectMethod("Graphics", "bool get_resizable() const", asMETHODPR(Graphics, GetResizable, () const, bool), asCALL_THISCALL);
  527. // PODVector<IntVector3> Graphics::GetResolutions(int monitor) const | File: ../Graphics/Graphics.h
  528. engine->RegisterObjectMethod("Graphics", "Array<IntVector3>@ GetResolutions(int) const", asFUNCTION(Graphics_GetResolutions_int), asCALL_CDECL_OBJFIRST);
  529. engine->RegisterObjectMethod("Graphics", "Array<IntVector3>@ get_resolutions(int) const", asFUNCTION(Graphics_GetResolutions_int), asCALL_CDECL_OBJFIRST);
  530. // static unsigned Graphics::GetRG16Format() | File: ../Graphics/Graphics.h
  531. engine->SetDefaultNamespace("Graphics");
  532. engine->RegisterGlobalFunction("uint GetRG16Format()", asFUNCTIONPR(Graphics::GetRG16Format, (), unsigned), asCALL_CDECL);
  533. engine->SetDefaultNamespace("");
  534. // static unsigned Graphics::GetRGBA16Format() | File: ../Graphics/Graphics.h
  535. engine->SetDefaultNamespace("Graphics");
  536. engine->RegisterGlobalFunction("uint GetRGBA16Format()", asFUNCTIONPR(Graphics::GetRGBA16Format, (), unsigned), asCALL_CDECL);
  537. engine->SetDefaultNamespace("");
  538. // static unsigned Graphics::GetRGBAFloat16Format() | File: ../Graphics/Graphics.h
  539. engine->SetDefaultNamespace("Graphics");
  540. engine->RegisterGlobalFunction("uint GetRGBAFloat16Format()", asFUNCTIONPR(Graphics::GetRGBAFloat16Format, (), unsigned), asCALL_CDECL);
  541. engine->SetDefaultNamespace("");
  542. // static unsigned Graphics::GetRGBAFloat32Format() | File: ../Graphics/Graphics.h
  543. engine->SetDefaultNamespace("Graphics");
  544. engine->RegisterGlobalFunction("uint GetRGBAFloat32Format()", asFUNCTIONPR(Graphics::GetRGBAFloat32Format, (), unsigned), asCALL_CDECL);
  545. engine->SetDefaultNamespace("");
  546. // static unsigned Graphics::GetRGBAFormat() | File: ../Graphics/Graphics.h
  547. engine->SetDefaultNamespace("Graphics");
  548. engine->RegisterGlobalFunction("uint GetRGBAFormat()", asFUNCTIONPR(Graphics::GetRGBAFormat, (), unsigned), asCALL_CDECL);
  549. engine->SetDefaultNamespace("");
  550. // static unsigned Graphics::GetRGBFormat() | File: ../Graphics/Graphics.h
  551. engine->SetDefaultNamespace("Graphics");
  552. engine->RegisterGlobalFunction("uint GetRGBFormat()", asFUNCTIONPR(Graphics::GetRGBFormat, (), unsigned), asCALL_CDECL);
  553. engine->SetDefaultNamespace("");
  554. // static unsigned Graphics::GetRGFloat16Format() | File: ../Graphics/Graphics.h
  555. engine->SetDefaultNamespace("Graphics");
  556. engine->RegisterGlobalFunction("uint GetRGFloat16Format()", asFUNCTIONPR(Graphics::GetRGFloat16Format, (), unsigned), asCALL_CDECL);
  557. engine->SetDefaultNamespace("");
  558. // static unsigned Graphics::GetRGFloat32Format() | File: ../Graphics/Graphics.h
  559. engine->SetDefaultNamespace("Graphics");
  560. engine->RegisterGlobalFunction("uint GetRGFloat32Format()", asFUNCTIONPR(Graphics::GetRGFloat32Format, (), unsigned), asCALL_CDECL);
  561. engine->SetDefaultNamespace("");
  562. // const IntRect& Graphics::GetScissorRect() const | File: ../Graphics/Graphics.h
  563. engine->RegisterObjectMethod("Graphics", "const IntRect& GetScissorRect() const", asMETHODPR(Graphics, GetScissorRect, () const, const IntRect&), asCALL_THISCALL);
  564. // bool Graphics::GetScissorTest() const | File: ../Graphics/Graphics.h
  565. engine->RegisterObjectMethod("Graphics", "bool GetScissorTest() const", asMETHODPR(Graphics, GetScissorTest, () const, bool), asCALL_THISCALL);
  566. // const ScreenModeParams& Graphics::GetScreenModeParams() const | File: ../Graphics/Graphics.h
  567. engine->RegisterObjectMethod("Graphics", "const ScreenModeParams& GetScreenModeParams() const", asMETHODPR(Graphics, GetScreenModeParams, () const, const ScreenModeParams&), asCALL_THISCALL);
  568. // ShaderVariation* Graphics::GetShader(ShaderType type, const String& name, const String& defines=String::EMPTY) const | File: ../Graphics/Graphics.h
  569. engine->RegisterObjectMethod("Graphics", "ShaderVariation@+ GetShader(ShaderType, const String&in, const String&in = String::EMPTY) const", asMETHODPR(Graphics, GetShader, (ShaderType, const String&, const String&) const, ShaderVariation*), asCALL_THISCALL);
  570. // ShaderVariation* Graphics::GetShader(ShaderType type, const char* name, const char* defines) const | File: ../Graphics/Graphics.h
  571. // Error: type "const char*" can not automatically bind
  572. // const String& Graphics::GetShaderCacheDir() const | File: ../Graphics/Graphics.h
  573. engine->RegisterObjectMethod("Graphics", "const String& GetShaderCacheDir() const", asMETHODPR(Graphics, GetShaderCacheDir, () const, const String&), asCALL_THISCALL);
  574. engine->RegisterObjectMethod("Graphics", "const String& get_shaderCacheDir() const", asMETHODPR(Graphics, GetShaderCacheDir, () const, const String&), asCALL_THISCALL);
  575. // ShaderProgram* Graphics::GetShaderProgram() const | File: ../Graphics/Graphics.h
  576. // Not registered because have @nobind mark
  577. // unsigned Graphics::GetShadowMapFormat() const | File: ../Graphics/Graphics.h
  578. engine->RegisterObjectMethod("Graphics", "uint GetShadowMapFormat() const", asMETHODPR(Graphics, GetShadowMapFormat, () const, unsigned), asCALL_THISCALL);
  579. // IntVector2 Graphics::GetSize() const | File: ../Graphics/Graphics.h
  580. engine->RegisterObjectMethod("Graphics", "IntVector2 GetSize() const", asMETHODPR(Graphics, GetSize, () const, IntVector2), asCALL_THISCALL);
  581. engine->RegisterObjectMethod("Graphics", "IntVector2 get_size() const", asMETHODPR(Graphics, GetSize, () const, IntVector2), asCALL_THISCALL);
  582. // bool Graphics::GetSRGB() const | File: ../Graphics/Graphics.h
  583. engine->RegisterObjectMethod("Graphics", "bool GetSRGB() const", asMETHODPR(Graphics, GetSRGB, () const, bool), asCALL_THISCALL);
  584. engine->RegisterObjectMethod("Graphics", "bool get_sRGB() const", asMETHODPR(Graphics, GetSRGB, () const, bool), asCALL_THISCALL);
  585. // bool Graphics::GetSRGBSupport() const | File: ../Graphics/Graphics.h
  586. engine->RegisterObjectMethod("Graphics", "bool GetSRGBSupport() const", asMETHODPR(Graphics, GetSRGBSupport, () const, bool), asCALL_THISCALL);
  587. engine->RegisterObjectMethod("Graphics", "bool get_sRGBSupport() const", asMETHODPR(Graphics, GetSRGBSupport, () const, bool), asCALL_THISCALL);
  588. // bool Graphics::GetSRGBWriteSupport() const | File: ../Graphics/Graphics.h
  589. engine->RegisterObjectMethod("Graphics", "bool GetSRGBWriteSupport() const", asMETHODPR(Graphics, GetSRGBWriteSupport, () const, bool), asCALL_THISCALL);
  590. engine->RegisterObjectMethod("Graphics", "bool get_sRGBWriteSupport() const", asMETHODPR(Graphics, GetSRGBWriteSupport, () const, bool), asCALL_THISCALL);
  591. // unsigned Graphics::GetStencilCompareMask() const | File: ../Graphics/Graphics.h
  592. engine->RegisterObjectMethod("Graphics", "uint GetStencilCompareMask() const", asMETHODPR(Graphics, GetStencilCompareMask, () const, unsigned), asCALL_THISCALL);
  593. // StencilOp Graphics::GetStencilFail() const | File: ../Graphics/Graphics.h
  594. engine->RegisterObjectMethod("Graphics", "StencilOp GetStencilFail() const", asMETHODPR(Graphics, GetStencilFail, () const, StencilOp), asCALL_THISCALL);
  595. // StencilOp Graphics::GetStencilPass() const | File: ../Graphics/Graphics.h
  596. engine->RegisterObjectMethod("Graphics", "StencilOp GetStencilPass() const", asMETHODPR(Graphics, GetStencilPass, () const, StencilOp), asCALL_THISCALL);
  597. // unsigned Graphics::GetStencilRef() const | File: ../Graphics/Graphics.h
  598. engine->RegisterObjectMethod("Graphics", "uint GetStencilRef() const", asMETHODPR(Graphics, GetStencilRef, () const, unsigned), asCALL_THISCALL);
  599. // bool Graphics::GetStencilTest() const | File: ../Graphics/Graphics.h
  600. engine->RegisterObjectMethod("Graphics", "bool GetStencilTest() const", asMETHODPR(Graphics, GetStencilTest, () const, bool), asCALL_THISCALL);
  601. // CompareMode Graphics::GetStencilTestMode() const | File: ../Graphics/Graphics.h
  602. engine->RegisterObjectMethod("Graphics", "CompareMode GetStencilTestMode() const", asMETHODPR(Graphics, GetStencilTestMode, () const, CompareMode), asCALL_THISCALL);
  603. // unsigned Graphics::GetStencilWriteMask() const | File: ../Graphics/Graphics.h
  604. engine->RegisterObjectMethod("Graphics", "uint GetStencilWriteMask() const", asMETHODPR(Graphics, GetStencilWriteMask, () const, unsigned), asCALL_THISCALL);
  605. // StencilOp Graphics::GetStencilZFail() const | File: ../Graphics/Graphics.h
  606. engine->RegisterObjectMethod("Graphics", "StencilOp GetStencilZFail() const", asMETHODPR(Graphics, GetStencilZFail, () const, StencilOp), asCALL_THISCALL);
  607. // Object* Object::GetSubsystem(StringHash type) const | File: ../Core/Object.h
  608. engine->RegisterObjectMethod("Graphics", "Object@+ GetSubsystem(StringHash) const", asMETHODPR(Graphics, GetSubsystem, (StringHash) const, Object*), asCALL_THISCALL);
  609. // template<class T> T* Object::GetSubsystem() const | File: ../Core/Object.h
  610. // Not registered because template
  611. // Texture* Graphics::GetTexture(unsigned index) const | File: ../Graphics/Graphics.h
  612. engine->RegisterObjectMethod("Graphics", "Texture@+ GetTexture(uint) const", asMETHODPR(Graphics, GetTexture, (unsigned) const, Texture*), asCALL_THISCALL);
  613. // TextureUnit Graphics::GetTextureUnit(const String& name) | File: ../Graphics/Graphics.h
  614. engine->RegisterObjectMethod("Graphics", "TextureUnit GetTextureUnit(const String&in)", asMETHODPR(Graphics, GetTextureUnit, (const String&), TextureUnit), asCALL_THISCALL);
  615. // const String& Graphics::GetTextureUnitName(TextureUnit unit) | File: ../Graphics/Graphics.h
  616. engine->RegisterObjectMethod("Graphics", "const String& GetTextureUnitName(TextureUnit)", asMETHODPR(Graphics, GetTextureUnitName, (TextureUnit), const String&), asCALL_THISCALL);
  617. // bool Graphics::GetTripleBuffer() const | File: ../Graphics/Graphics.h
  618. engine->RegisterObjectMethod("Graphics", "bool GetTripleBuffer() const", asMETHODPR(Graphics, GetTripleBuffer, () const, bool), asCALL_THISCALL);
  619. engine->RegisterObjectMethod("Graphics", "bool get_tripleBuffer() const", asMETHODPR(Graphics, GetTripleBuffer, () const, bool), asCALL_THISCALL);
  620. // virtual StringHash Object::GetType() const =0 | File: ../Core/Object.h
  621. engine->RegisterObjectMethod("Graphics", "StringHash GetType() const", asMETHODPR(Graphics, GetType, () const, StringHash), asCALL_THISCALL);
  622. engine->RegisterObjectMethod("Graphics", "StringHash get_type() const", asMETHODPR(Graphics, GetType, () const, StringHash), asCALL_THISCALL);
  623. // virtual const TypeInfo* Object::GetTypeInfo() const =0 | File: ../Core/Object.h
  624. // Error: type "TypeInfo" can not automatically bind bacause have @nobind mark
  625. // static const TypeInfo* Object::GetTypeInfoStatic() | File: ../Core/Object.h
  626. // Error: type "TypeInfo" can not automatically bind bacause have @nobind mark
  627. // virtual const String& Object::GetTypeName() const =0 | File: ../Core/Object.h
  628. engine->RegisterObjectMethod("Graphics", "const String& GetTypeName() const", asMETHODPR(Graphics, GetTypeName, () const, const String&), asCALL_THISCALL);
  629. engine->RegisterObjectMethod("Graphics", "const String& get_typeName() const", asMETHODPR(Graphics, GetTypeName, () const, const String&), asCALL_THISCALL);
  630. // bool Graphics::GetUseClipPlane() const | File: ../Graphics/Graphics.h
  631. engine->RegisterObjectMethod("Graphics", "bool GetUseClipPlane() const", asMETHODPR(Graphics, GetUseClipPlane, () const, bool), asCALL_THISCALL);
  632. // VertexBuffer* Graphics::GetVertexBuffer(unsigned index) const | File: ../Graphics/Graphics.h
  633. engine->RegisterObjectMethod("Graphics", "VertexBuffer@+ GetVertexBuffer(uint) const", asMETHODPR(Graphics, GetVertexBuffer, (unsigned) const, VertexBuffer*), asCALL_THISCALL);
  634. // ShaderVariation* Graphics::GetVertexShader() const | File: ../Graphics/Graphics.h
  635. engine->RegisterObjectMethod("Graphics", "ShaderVariation@+ GetVertexShader() const", asMETHODPR(Graphics, GetVertexShader, () const, ShaderVariation*), asCALL_THISCALL);
  636. // IntRect Graphics::GetViewport() const | File: ../Graphics/Graphics.h
  637. engine->RegisterObjectMethod("Graphics", "IntRect GetViewport() const", asMETHODPR(Graphics, GetViewport, () const, IntRect), asCALL_THISCALL);
  638. // bool Graphics::GetVSync() const | File: ../Graphics/Graphics.h
  639. engine->RegisterObjectMethod("Graphics", "bool GetVSync() const", asMETHODPR(Graphics, GetVSync, () const, bool), asCALL_THISCALL);
  640. engine->RegisterObjectMethod("Graphics", "bool get_vSync() const", asMETHODPR(Graphics, GetVSync, () const, bool), asCALL_THISCALL);
  641. // int Graphics::GetWidth() const | File: ../Graphics/Graphics.h
  642. engine->RegisterObjectMethod("Graphics", "int GetWidth() const", asMETHODPR(Graphics, GetWidth, () const, int), asCALL_THISCALL);
  643. engine->RegisterObjectMethod("Graphics", "int get_width() const", asMETHODPR(Graphics, GetWidth, () const, int), asCALL_THISCALL);
  644. // SDL_Window* Graphics::GetWindow() const | File: ../Graphics/Graphics.h
  645. // Error: type "SDL_Window*" can not automatically bind
  646. // IntVector2 Graphics::GetWindowPosition() const | File: ../Graphics/Graphics.h
  647. engine->RegisterObjectMethod("Graphics", "IntVector2 GetWindowPosition() const", asMETHODPR(Graphics, GetWindowPosition, () const, IntVector2), asCALL_THISCALL);
  648. engine->RegisterObjectMethod("Graphics", "IntVector2 get_windowPosition() const", asMETHODPR(Graphics, GetWindowPosition, () const, IntVector2), asCALL_THISCALL);
  649. // const String& Graphics::GetWindowTitle() const | File: ../Graphics/Graphics.h
  650. engine->RegisterObjectMethod("Graphics", "const String& GetWindowTitle() const", asMETHODPR(Graphics, GetWindowTitle, () const, const String&), asCALL_THISCALL);
  651. engine->RegisterObjectMethod("Graphics", "const String& get_windowTitle() const", asMETHODPR(Graphics, GetWindowTitle, () const, const String&), asCALL_THISCALL);
  652. // explicit Graphics::Graphics(Context* context) | File: ../Graphics/Graphics.h
  653. engine->RegisterObjectBehaviour("Graphics", asBEHAVE_FACTORY, "Graphics@+ f()", asFUNCTION(Graphics_Graphics_Context), asCALL_CDECL);
  654. // bool Object::HasEventHandlers() const | File: ../Core/Object.h
  655. engine->RegisterObjectMethod("Graphics", "bool HasEventHandlers() const", asMETHODPR(Graphics, HasEventHandlers, () const, bool), asCALL_THISCALL);
  656. // bool Graphics::HasShaderParameter(StringHash param) | File: ../Graphics/Graphics.h
  657. engine->RegisterObjectMethod("Graphics", "bool HasShaderParameter(StringHash)", asMETHODPR(Graphics, HasShaderParameter, (StringHash), bool), asCALL_THISCALL);
  658. // bool Object::HasSubscribedToEvent(StringHash eventType) const | File: ../Core/Object.h
  659. engine->RegisterObjectMethod("Graphics", "bool HasSubscribedToEvent(StringHash) const", asMETHODPR(Graphics, HasSubscribedToEvent, (StringHash) const, bool), asCALL_THISCALL);
  660. // bool Object::HasSubscribedToEvent(Object* sender, StringHash eventType) const | File: ../Core/Object.h
  661. engine->RegisterObjectMethod("Graphics", "bool HasSubscribedToEvent(Object@+, StringHash) const", asMETHODPR(Graphics, HasSubscribedToEvent, (Object*, StringHash) const, bool), asCALL_THISCALL);
  662. // bool Graphics::HasTextureUnit(TextureUnit unit) | File: ../Graphics/Graphics.h
  663. engine->RegisterObjectMethod("Graphics", "bool HasTextureUnit(TextureUnit)", asMETHODPR(Graphics, HasTextureUnit, (TextureUnit), bool), asCALL_THISCALL);
  664. // bool Graphics::IsDeviceLost() const | File: ../Graphics/Graphics.h
  665. engine->RegisterObjectMethod("Graphics", "bool IsDeviceLost() const", asMETHODPR(Graphics, IsDeviceLost, () const, bool), asCALL_THISCALL);
  666. engine->RegisterObjectMethod("Graphics", "bool get_deviceLost() const", asMETHODPR(Graphics, IsDeviceLost, () const, bool), asCALL_THISCALL);
  667. // bool Graphics::IsInitialized() const | File: ../Graphics/Graphics.h
  668. engine->RegisterObjectMethod("Graphics", "bool IsInitialized() const", asMETHODPR(Graphics, IsInitialized, () const, bool), asCALL_THISCALL);
  669. engine->RegisterObjectMethod("Graphics", "bool get_initialized() const", asMETHODPR(Graphics, IsInitialized, () const, bool), asCALL_THISCALL);
  670. // bool Object::IsInstanceOf(StringHash type) const | File: ../Core/Object.h
  671. engine->RegisterObjectMethod("Graphics", "bool IsInstanceOf(StringHash) const", asMETHODPR(Graphics, IsInstanceOf, (StringHash) const, bool), asCALL_THISCALL);
  672. // bool Object::IsInstanceOf(const TypeInfo* typeInfo) const | File: ../Core/Object.h
  673. // Error: type "TypeInfo" can not automatically bind bacause have @nobind mark
  674. // template<typename T> bool Object::IsInstanceOf() const | File: ../Core/Object.h
  675. // Not registered because template
  676. // void Graphics::MarkFBODirty() | File: ../Graphics/Graphics.h
  677. // Not registered because have @nobind mark
  678. // void Graphics::Maximize() | File: ../Graphics/Graphics.h
  679. engine->RegisterObjectMethod("Graphics", "void Maximize()", asMETHODPR(Graphics, Maximize, (), void), asCALL_THISCALL);
  680. // void Graphics::Minimize() | File: ../Graphics/Graphics.h
  681. engine->RegisterObjectMethod("Graphics", "void Minimize()", asMETHODPR(Graphics, Minimize, (), void), asCALL_THISCALL);
  682. // bool Graphics::NeedParameterUpdate(ShaderParameterGroup group, const void* source) | File: ../Graphics/Graphics.h
  683. // Error: type "void*" can not automatically bind
  684. // virtual void Object::OnEvent(Object* sender, StringHash eventType, VariantMap& eventData) | File: ../Core/Object.h
  685. engine->RegisterObjectMethod("Graphics", "void OnEvent(Object@+, StringHash, VariantMap&)", asMETHODPR(Graphics, OnEvent, (Object*, StringHash, VariantMap&), void), asCALL_THISCALL);
  686. // void Graphics::OnWindowMoved() | File: ../Graphics/Graphics.h
  687. engine->RegisterObjectMethod("Graphics", "void OnWindowMoved()", asMETHODPR(Graphics, OnWindowMoved, (), void), asCALL_THISCALL);
  688. // void Graphics::OnWindowResized() | File: ../Graphics/Graphics.h
  689. engine->RegisterObjectMethod("Graphics", "void OnWindowResized()", asMETHODPR(Graphics, OnWindowResized, (), void), asCALL_THISCALL);
  690. // void Graphics::PrecacheShaders(Deserializer& source) | File: ../Graphics/Graphics.h
  691. engine->RegisterObjectMethod("Graphics", "void PrecacheShaders(Deserializer&)", asMETHODPR(Graphics, PrecacheShaders, (Deserializer&), void), asCALL_THISCALL);
  692. // void Graphics::Raise() const | File: ../Graphics/Graphics.h
  693. engine->RegisterObjectMethod("Graphics", "void Raise() const", asMETHODPR(Graphics, Raise, () const, void), asCALL_THISCALL);
  694. // RefCount* RefCounted::RefCountPtr() | File: ../Container/RefCounted.h
  695. // Error: type "RefCount*" can not automatically bind
  696. // int RefCounted::Refs() const | File: ../Container/RefCounted.h
  697. engine->RegisterObjectMethod("Graphics", "int Refs() const", asMETHODPR(Graphics, Refs, () const, int), asCALL_THISCALL);
  698. engine->RegisterObjectMethod("Graphics", "int get_refs() const", asMETHODPR(Graphics, Refs, () const, int), asCALL_THISCALL);
  699. // void RefCounted::ReleaseRef() | File: ../Container/RefCounted.h
  700. engine->RegisterObjectBehaviour("Graphics", asBEHAVE_RELEASE, "void f()", asMETHODPR(Graphics, ReleaseRef, (), void), asCALL_THISCALL);
  701. // void Graphics::RemoveGPUObject(GPUObject* object) | File: ../Graphics/Graphics.h
  702. // Error: type "GPUObject*" can not automatically bind
  703. // void* Graphics::ReserveScratchBuffer(unsigned size) | File: ../Graphics/Graphics.h
  704. // Error: type "void*" can not automatically bind
  705. // void Graphics::ResetDepthStencil() | File: ../Graphics/Graphics.h
  706. engine->RegisterObjectMethod("Graphics", "void ResetDepthStencil()", asMETHODPR(Graphics, ResetDepthStencil, (), void), asCALL_THISCALL);
  707. // void Graphics::ResetRenderTarget(unsigned index) | File: ../Graphics/Graphics.h
  708. engine->RegisterObjectMethod("Graphics", "void ResetRenderTarget(uint)", asMETHODPR(Graphics, ResetRenderTarget, (unsigned), void), asCALL_THISCALL);
  709. // void Graphics::ResetRenderTargets() | File: ../Graphics/Graphics.h
  710. engine->RegisterObjectMethod("Graphics", "void ResetRenderTargets()", asMETHODPR(Graphics, ResetRenderTargets, (), void), asCALL_THISCALL);
  711. // bool Graphics::ResolveToTexture(Texture2D* destination, const IntRect& viewport) | File: ../Graphics/Graphics.h
  712. engine->RegisterObjectMethod("Graphics", "bool ResolveToTexture(Texture2D@+, const IntRect&in)", asMETHODPR(Graphics, ResolveToTexture, (Texture2D*, const IntRect&), bool), asCALL_THISCALL);
  713. // bool Graphics::ResolveToTexture(Texture2D* texture) | File: ../Graphics/Graphics.h
  714. engine->RegisterObjectMethod("Graphics", "bool ResolveToTexture(Texture2D@+)", asMETHODPR(Graphics, ResolveToTexture, (Texture2D*), bool), asCALL_THISCALL);
  715. // bool Graphics::ResolveToTexture(TextureCube* texture) | File: ../Graphics/Graphics.h
  716. engine->RegisterObjectMethod("Graphics", "bool ResolveToTexture(TextureCube@+)", asMETHODPR(Graphics, ResolveToTexture, (TextureCube*), bool), asCALL_THISCALL);
  717. // void Graphics::Restore() | File: ../Graphics/Graphics.h
  718. // Not registered because have @nobind mark
  719. // void Object::SendEvent(StringHash eventType) | File: ../Core/Object.h
  720. engine->RegisterObjectMethod("Graphics", "void SendEvent(StringHash)", asMETHODPR(Graphics, SendEvent, (StringHash), void), asCALL_THISCALL);
  721. // void Object::SendEvent(StringHash eventType, VariantMap& eventData) | File: ../Core/Object.h
  722. engine->RegisterObjectMethod("Graphics", "void SendEvent(StringHash, VariantMap&)", asMETHODPR(Graphics, SendEvent, (StringHash, VariantMap&), void), asCALL_THISCALL);
  723. // template<typename... Args> void Object::SendEvent(StringHash eventType, Args... args) | File: ../Core/Object.h
  724. // Not registered because template
  725. // void Graphics::SetBlendMode(BlendMode mode, bool alphaToCoverage=false) | File: ../Graphics/Graphics.h
  726. engine->RegisterObjectMethod("Graphics", "void SetBlendMode(BlendMode, bool = false)", asMETHODPR(Graphics, SetBlendMode, (BlendMode, bool), void), asCALL_THISCALL);
  727. // void Object::SetBlockEvents(bool block) | File: ../Core/Object.h
  728. engine->RegisterObjectMethod("Graphics", "void SetBlockEvents(bool)", asMETHODPR(Graphics, SetBlockEvents, (bool), void), asCALL_THISCALL);
  729. // void Graphics::SetClipPlane(bool enable, const Plane& clipPlane=Plane::UP, const Matrix3x4& view=Matrix3x4::IDENTITY, const Matrix4& projection=Matrix4::IDENTITY) | File: ../Graphics/Graphics.h
  730. engine->RegisterObjectMethod("Graphics", "void SetClipPlane(bool, const Plane&in = Plane::UP, const Matrix3x4&in = Matrix3x4::IDENTITY, const Matrix4&in = Matrix4::IDENTITY)", asMETHODPR(Graphics, SetClipPlane, (bool, const Plane&, const Matrix3x4&, const Matrix4&), void), asCALL_THISCALL);
  731. // void Graphics::SetColorWrite(bool enable) | File: ../Graphics/Graphics.h
  732. engine->RegisterObjectMethod("Graphics", "void SetColorWrite(bool)", asMETHODPR(Graphics, SetColorWrite, (bool), void), asCALL_THISCALL);
  733. // void Graphics::SetCullMode(CullMode mode) | File: ../Graphics/Graphics.h
  734. engine->RegisterObjectMethod("Graphics", "void SetCullMode(CullMode)", asMETHODPR(Graphics, SetCullMode, (CullMode), void), asCALL_THISCALL);
  735. // void Graphics::SetDefaultTextureAnisotropy(unsigned level) | File: ../Graphics/Graphics.h
  736. engine->RegisterObjectMethod("Graphics", "void SetDefaultTextureAnisotropy(uint)", asMETHODPR(Graphics, SetDefaultTextureAnisotropy, (unsigned), void), asCALL_THISCALL);
  737. // void Graphics::SetDefaultTextureFilterMode(TextureFilterMode mode) | File: ../Graphics/Graphics.h
  738. engine->RegisterObjectMethod("Graphics", "void SetDefaultTextureFilterMode(TextureFilterMode)", asMETHODPR(Graphics, SetDefaultTextureFilterMode, (TextureFilterMode), void), asCALL_THISCALL);
  739. // bool Graphics::SetDefaultWindowModes(int width, int height, const ScreenModeParams& params) | File: ../Graphics/Graphics.h
  740. engine->RegisterObjectMethod("Graphics", "bool SetDefaultWindowModes(int, int, const ScreenModeParams&in)", asMETHODPR(Graphics, SetDefaultWindowModes, (int, int, const ScreenModeParams&), bool), asCALL_THISCALL);
  741. // void Graphics::SetDepthBias(float constantBias, float slopeScaledBias) | File: ../Graphics/Graphics.h
  742. engine->RegisterObjectMethod("Graphics", "void SetDepthBias(float, float)", asMETHODPR(Graphics, SetDepthBias, (float, float), void), asCALL_THISCALL);
  743. // void Graphics::SetDepthStencil(RenderSurface* depthStencil) | File: ../Graphics/Graphics.h
  744. engine->RegisterObjectMethod("Graphics", "void SetDepthStencil(RenderSurface@+)", asMETHODPR(Graphics, SetDepthStencil, (RenderSurface*), void), asCALL_THISCALL);
  745. // void Graphics::SetDepthStencil(Texture2D* texture) | File: ../Graphics/Graphics.h
  746. engine->RegisterObjectMethod("Graphics", "void SetDepthStencil(Texture2D@+)", asMETHODPR(Graphics, SetDepthStencil, (Texture2D*), void), asCALL_THISCALL);
  747. // void Graphics::SetDepthTest(CompareMode mode) | File: ../Graphics/Graphics.h
  748. engine->RegisterObjectMethod("Graphics", "void SetDepthTest(CompareMode)", asMETHODPR(Graphics, SetDepthTest, (CompareMode), void), asCALL_THISCALL);
  749. // void Graphics::SetDepthWrite(bool enable) | File: ../Graphics/Graphics.h
  750. engine->RegisterObjectMethod("Graphics", "void SetDepthWrite(bool)", asMETHODPR(Graphics, SetDepthWrite, (bool), void), asCALL_THISCALL);
  751. // void Graphics::SetDither(bool enable) | File: ../Graphics/Graphics.h
  752. engine->RegisterObjectMethod("Graphics", "void SetDither(bool)", asMETHODPR(Graphics, SetDither, (bool), void), asCALL_THISCALL);
  753. engine->RegisterObjectMethod("Graphics", "void set_dither(bool)", asMETHODPR(Graphics, SetDither, (bool), void), asCALL_THISCALL);
  754. // void Graphics::SetExternalWindow(void* window) | File: ../Graphics/Graphics.h
  755. // Error: type "void*" can not automatically bind
  756. // void Graphics::SetFillMode(FillMode mode) | File: ../Graphics/Graphics.h
  757. engine->RegisterObjectMethod("Graphics", "void SetFillMode(FillMode)", asMETHODPR(Graphics, SetFillMode, (FillMode), void), asCALL_THISCALL);
  758. // void Graphics::SetFlushGPU(bool enable) | File: ../Graphics/Graphics.h
  759. engine->RegisterObjectMethod("Graphics", "void SetFlushGPU(bool)", asMETHODPR(Graphics, SetFlushGPU, (bool), void), asCALL_THISCALL);
  760. engine->RegisterObjectMethod("Graphics", "void set_flushGPU(bool)", asMETHODPR(Graphics, SetFlushGPU, (bool), void), asCALL_THISCALL);
  761. // void Graphics::SetForceGL2(bool enable) | File: ../Graphics/Graphics.h
  762. engine->RegisterObjectMethod("Graphics", "void SetForceGL2(bool)", asMETHODPR(Graphics, SetForceGL2, (bool), void), asCALL_THISCALL);
  763. // void Object::SetGlobalVar(StringHash key, const Variant& value) | File: ../Core/Object.h
  764. engine->RegisterObjectMethod("Graphics", "void SetGlobalVar(StringHash, const Variant&in)", asMETHODPR(Graphics, SetGlobalVar, (StringHash, const Variant&), void), asCALL_THISCALL);
  765. engine->RegisterObjectMethod("Graphics", "void set_globalVar(StringHash, const Variant&in)", asMETHODPR(Graphics, SetGlobalVar, (StringHash, const Variant&), void), asCALL_THISCALL);
  766. // void Graphics::SetIndexBuffer(IndexBuffer* buffer) | File: ../Graphics/Graphics.h
  767. engine->RegisterObjectMethod("Graphics", "void SetIndexBuffer(IndexBuffer@+)", asMETHODPR(Graphics, SetIndexBuffer, (IndexBuffer*), void), asCALL_THISCALL);
  768. // void Graphics::SetLineAntiAlias(bool enable) | File: ../Graphics/Graphics.h
  769. engine->RegisterObjectMethod("Graphics", "void SetLineAntiAlias(bool)", asMETHODPR(Graphics, SetLineAntiAlias, (bool), void), asCALL_THISCALL);
  770. // bool Graphics::SetMode(int width, int height, bool fullscreen, bool borderless, bool resizable, bool highDPI, bool vsync, bool tripleBuffer, int multiSample, int monitor, int refreshRate) | File: ../Graphics/Graphics.h
  771. engine->RegisterObjectMethod("Graphics", "bool SetMode(int, int, bool, bool, bool, bool, bool, bool, int, int, int)", asMETHODPR(Graphics, SetMode, (int, int, bool, bool, bool, bool, bool, bool, int, int, int), bool), asCALL_THISCALL);
  772. // bool Graphics::SetMode(int width, int height) | File: ../Graphics/Graphics.h
  773. engine->RegisterObjectMethod("Graphics", "bool SetMode(int, int)", asMETHODPR(Graphics, SetMode, (int, int), bool), asCALL_THISCALL);
  774. // void Graphics::SetOrientations(const String& orientations) | File: ../Graphics/Graphics.h
  775. engine->RegisterObjectMethod("Graphics", "void SetOrientations(const String&in)", asMETHODPR(Graphics, SetOrientations, (const String&), void), asCALL_THISCALL);
  776. engine->RegisterObjectMethod("Graphics", "void set_orientations(const String&in)", asMETHODPR(Graphics, SetOrientations, (const String&), void), asCALL_THISCALL);
  777. // void Graphics::SetRenderTarget(unsigned index, RenderSurface* renderTarget) | File: ../Graphics/Graphics.h
  778. engine->RegisterObjectMethod("Graphics", "void SetRenderTarget(uint, RenderSurface@+)", asMETHODPR(Graphics, SetRenderTarget, (unsigned, RenderSurface*), void), asCALL_THISCALL);
  779. // void Graphics::SetRenderTarget(unsigned index, Texture2D* texture) | File: ../Graphics/Graphics.h
  780. engine->RegisterObjectMethod("Graphics", "void SetRenderTarget(uint, Texture2D@+)", asMETHODPR(Graphics, SetRenderTarget, (unsigned, Texture2D*), void), asCALL_THISCALL);
  781. // void Graphics::SetScissorTest(bool enable, const Rect& rect=Rect::FULL, bool borderInclusive=true) | File: ../Graphics/Graphics.h
  782. engine->RegisterObjectMethod("Graphics", "void SetScissorTest(bool, const Rect&in = Rect::FULL, bool = true)", asMETHODPR(Graphics, SetScissorTest, (bool, const Rect&, bool), void), asCALL_THISCALL);
  783. // void Graphics::SetScissorTest(bool enable, const IntRect& rect) | File: ../Graphics/Graphics.h
  784. engine->RegisterObjectMethod("Graphics", "void SetScissorTest(bool, const IntRect&in)", asMETHODPR(Graphics, SetScissorTest, (bool, const IntRect&), void), asCALL_THISCALL);
  785. // bool Graphics::SetScreenMode(int width, int height, const ScreenModeParams& params, bool maximize=false) | File: ../Graphics/Graphics.h
  786. engine->RegisterObjectMethod("Graphics", "bool SetScreenMode(int, int, const ScreenModeParams&in, bool = false)", asMETHODPR(Graphics, SetScreenMode, (int, int, const ScreenModeParams&, bool), bool), asCALL_THISCALL);
  787. // bool Graphics::SetScreenMode(int width, int height) | File: ../Graphics/Graphics.h
  788. engine->RegisterObjectMethod("Graphics", "bool SetScreenMode(int, int)", asMETHODPR(Graphics, SetScreenMode, (int, int), bool), asCALL_THISCALL);
  789. // void Graphics::SetShaderCacheDir(const String& path) | File: ../Graphics/Graphics.h
  790. engine->RegisterObjectMethod("Graphics", "void SetShaderCacheDir(const String&in)", asMETHODPR(Graphics, SetShaderCacheDir, (const String&), void), asCALL_THISCALL);
  791. engine->RegisterObjectMethod("Graphics", "void set_shaderCacheDir(const String&in)", asMETHODPR(Graphics, SetShaderCacheDir, (const String&), void), asCALL_THISCALL);
  792. // void Graphics::SetShaderParameter(StringHash param, const float* data, unsigned count) | File: ../Graphics/Graphics.h
  793. // Error: type "const float*" can not automatically bind
  794. // void Graphics::SetShaderParameter(StringHash param, float value) | File: ../Graphics/Graphics.h
  795. engine->RegisterObjectMethod("Graphics", "void SetShaderParameter(StringHash, float)", asMETHODPR(Graphics, SetShaderParameter, (StringHash, float), void), asCALL_THISCALL);
  796. // void Graphics::SetShaderParameter(StringHash param, int value) | File: ../Graphics/Graphics.h
  797. engine->RegisterObjectMethod("Graphics", "void SetShaderParameter(StringHash, int)", asMETHODPR(Graphics, SetShaderParameter, (StringHash, int), void), asCALL_THISCALL);
  798. // void Graphics::SetShaderParameter(StringHash param, bool value) | File: ../Graphics/Graphics.h
  799. engine->RegisterObjectMethod("Graphics", "void SetShaderParameter(StringHash, bool)", asMETHODPR(Graphics, SetShaderParameter, (StringHash, bool), void), asCALL_THISCALL);
  800. // void Graphics::SetShaderParameter(StringHash param, const Color& color) | File: ../Graphics/Graphics.h
  801. engine->RegisterObjectMethod("Graphics", "void SetShaderParameter(StringHash, const Color&in)", asMETHODPR(Graphics, SetShaderParameter, (StringHash, const Color&), void), asCALL_THISCALL);
  802. // void Graphics::SetShaderParameter(StringHash param, const Vector2& vector) | File: ../Graphics/Graphics.h
  803. engine->RegisterObjectMethod("Graphics", "void SetShaderParameter(StringHash, const Vector2&in)", asMETHODPR(Graphics, SetShaderParameter, (StringHash, const Vector2&), void), asCALL_THISCALL);
  804. // void Graphics::SetShaderParameter(StringHash param, const Matrix3& matrix) | File: ../Graphics/Graphics.h
  805. engine->RegisterObjectMethod("Graphics", "void SetShaderParameter(StringHash, const Matrix3&in)", asMETHODPR(Graphics, SetShaderParameter, (StringHash, const Matrix3&), void), asCALL_THISCALL);
  806. // void Graphics::SetShaderParameter(StringHash param, const Vector3& vector) | File: ../Graphics/Graphics.h
  807. engine->RegisterObjectMethod("Graphics", "void SetShaderParameter(StringHash, const Vector3&in)", asMETHODPR(Graphics, SetShaderParameter, (StringHash, const Vector3&), void), asCALL_THISCALL);
  808. // void Graphics::SetShaderParameter(StringHash param, const Matrix4& matrix) | File: ../Graphics/Graphics.h
  809. engine->RegisterObjectMethod("Graphics", "void SetShaderParameter(StringHash, const Matrix4&in)", asMETHODPR(Graphics, SetShaderParameter, (StringHash, const Matrix4&), void), asCALL_THISCALL);
  810. // void Graphics::SetShaderParameter(StringHash param, const Vector4& vector) | File: ../Graphics/Graphics.h
  811. engine->RegisterObjectMethod("Graphics", "void SetShaderParameter(StringHash, const Vector4&in)", asMETHODPR(Graphics, SetShaderParameter, (StringHash, const Vector4&), void), asCALL_THISCALL);
  812. // void Graphics::SetShaderParameter(StringHash param, const Matrix3x4& matrix) | File: ../Graphics/Graphics.h
  813. engine->RegisterObjectMethod("Graphics", "void SetShaderParameter(StringHash, const Matrix3x4&in)", asMETHODPR(Graphics, SetShaderParameter, (StringHash, const Matrix3x4&), void), asCALL_THISCALL);
  814. // void Graphics::SetShaderParameter(StringHash param, const Variant& value) | File: ../Graphics/Graphics.h
  815. engine->RegisterObjectMethod("Graphics", "void SetShaderParameter(StringHash, const Variant&in)", asMETHODPR(Graphics, SetShaderParameter, (StringHash, const Variant&), void), asCALL_THISCALL);
  816. // void Graphics::SetShaders(ShaderVariation* vs, ShaderVariation* ps) | File: ../Graphics/Graphics.h
  817. engine->RegisterObjectMethod("Graphics", "void SetShaders(ShaderVariation@+, ShaderVariation@+)", asMETHODPR(Graphics, SetShaders, (ShaderVariation*, ShaderVariation*), void), asCALL_THISCALL);
  818. // void Graphics::SetSRGB(bool enable) | File: ../Graphics/Graphics.h
  819. engine->RegisterObjectMethod("Graphics", "void SetSRGB(bool)", asMETHODPR(Graphics, SetSRGB, (bool), void), asCALL_THISCALL);
  820. engine->RegisterObjectMethod("Graphics", "void set_sRGB(bool)", asMETHODPR(Graphics, SetSRGB, (bool), void), asCALL_THISCALL);
  821. // void Graphics::SetStencilTest(bool enable, CompareMode mode=CMP_ALWAYS, StencilOp pass=OP_KEEP, StencilOp fail=OP_KEEP, StencilOp zFail=OP_KEEP, unsigned stencilRef=0, unsigned compareMask=M_MAX_UNSIGNED, unsigned writeMask=M_MAX_UNSIGNED) | File: ../Graphics/Graphics.h
  822. engine->RegisterObjectMethod("Graphics", "void SetStencilTest(bool, CompareMode = CMP_ALWAYS, StencilOp = OP_KEEP, StencilOp = OP_KEEP, StencilOp = OP_KEEP, uint = 0, uint = M_MAX_UNSIGNED, uint = M_MAX_UNSIGNED)", asMETHODPR(Graphics, SetStencilTest, (bool, CompareMode, StencilOp, StencilOp, StencilOp, unsigned, unsigned, unsigned), void), asCALL_THISCALL);
  823. // void Graphics::SetTexture(unsigned index, Texture* texture) | File: ../Graphics/Graphics.h
  824. engine->RegisterObjectMethod("Graphics", "void SetTexture(uint, Texture@+)", asMETHODPR(Graphics, SetTexture, (unsigned, Texture*), void), asCALL_THISCALL);
  825. // void Graphics::SetTextureForUpdate(Texture* texture) | File: ../Graphics/Graphics.h
  826. // Not registered because have @nobind mark
  827. // void Graphics::SetTextureParametersDirty() | File: ../Graphics/Graphics.h
  828. // Not registered because have @nobind mark
  829. // void Graphics::SetUBO(unsigned object) | File: ../Graphics/Graphics.h
  830. // Not registered because have @nobind mark
  831. // void Graphics::SetVBO(unsigned object) | File: ../Graphics/Graphics.h
  832. // Not registered because have @nobind mark
  833. // void Graphics::SetVertexBuffer(VertexBuffer* buffer) | File: ../Graphics/Graphics.h
  834. engine->RegisterObjectMethod("Graphics", "void SetVertexBuffer(VertexBuffer@+)", asMETHODPR(Graphics, SetVertexBuffer, (VertexBuffer*), void), asCALL_THISCALL);
  835. // bool Graphics::SetVertexBuffers(const PODVector<VertexBuffer*>& buffers, unsigned instanceOffset=0) | File: ../Graphics/Graphics.h
  836. // Not registered because have @nobind mark
  837. // bool Graphics::SetVertexBuffers(const Vector<SharedPtr<VertexBuffer>>& buffers, unsigned instanceOffset=0) | File: ../Graphics/Graphics.h
  838. engine->RegisterObjectMethod("Graphics", "bool SetVertexBuffers(Array<VertexBuffer@>@+, uint = 0)", asFUNCTION(Graphics_SetVertexBuffers_VectorSharedPtrVertexBuffer_unsigned), asCALL_CDECL_OBJFIRST);
  839. // void Graphics::SetViewport(const IntRect& rect) | File: ../Graphics/Graphics.h
  840. engine->RegisterObjectMethod("Graphics", "void SetViewport(const IntRect&in)", asMETHODPR(Graphics, SetViewport, (const IntRect&), void), asCALL_THISCALL);
  841. // void Graphics::SetWindowIcon(Image* windowIcon) | File: ../Graphics/Graphics.h
  842. engine->RegisterObjectMethod("Graphics", "void SetWindowIcon(Image@+)", asMETHODPR(Graphics, SetWindowIcon, (Image*), void), asCALL_THISCALL);
  843. engine->RegisterObjectMethod("Graphics", "void set_windowIcon(Image@+)", asMETHODPR(Graphics, SetWindowIcon, (Image*), void), asCALL_THISCALL);
  844. // bool Graphics::SetWindowModes(const WindowModeParams& windowMode, const WindowModeParams& secondaryWindowMode, bool maximize=false) | File: ../Graphics/Graphics.h
  845. engine->RegisterObjectMethod("Graphics", "bool SetWindowModes(const WindowModeParams&in, const WindowModeParams&in, bool = false)", asMETHODPR(Graphics, SetWindowModes, (const WindowModeParams&, const WindowModeParams&, bool), bool), asCALL_THISCALL);
  846. // void Graphics::SetWindowPosition(const IntVector2& position) | File: ../Graphics/Graphics.h
  847. engine->RegisterObjectMethod("Graphics", "void SetWindowPosition(const IntVector2&in)", asMETHODPR(Graphics, SetWindowPosition, (const IntVector2&), void), asCALL_THISCALL);
  848. engine->RegisterObjectMethod("Graphics", "void set_windowPosition(const IntVector2&in)", asMETHODPR(Graphics, SetWindowPosition, (const IntVector2&), void), asCALL_THISCALL);
  849. // void Graphics::SetWindowPosition(int x, int y) | File: ../Graphics/Graphics.h
  850. engine->RegisterObjectMethod("Graphics", "void SetWindowPosition(int, int)", asMETHODPR(Graphics, SetWindowPosition, (int, int), void), asCALL_THISCALL);
  851. // void Graphics::SetWindowTitle(const String& windowTitle) | File: ../Graphics/Graphics.h
  852. engine->RegisterObjectMethod("Graphics", "void SetWindowTitle(const String&in)", asMETHODPR(Graphics, SetWindowTitle, (const String&), void), asCALL_THISCALL);
  853. engine->RegisterObjectMethod("Graphics", "void set_windowTitle(const String&in)", asMETHODPR(Graphics, SetWindowTitle, (const String&), void), asCALL_THISCALL);
  854. // void Object::SubscribeToEvent(StringHash eventType, EventHandler* handler) | File: ../Core/Object.h
  855. // Error: type "EventHandler*" can not automatically bind
  856. // void Object::SubscribeToEvent(Object* sender, StringHash eventType, EventHandler* handler) | File: ../Core/Object.h
  857. // Error: type "EventHandler*" can not automatically bind
  858. // void Object::SubscribeToEvent(StringHash eventType, const std::function<void(StringHash, VariantMap&)>& function, void* userData=nullptr) | File: ../Core/Object.h
  859. // Error: type "const std::function<void(StringHash, VariantMap&)>&" can not automatically bind
  860. // void Object::SubscribeToEvent(Object* sender, StringHash eventType, const std::function<void(StringHash, VariantMap&)>& function, void* userData=nullptr) | File: ../Core/Object.h
  861. // Error: type "const std::function<void(StringHash, VariantMap&)>&" can not automatically bind
  862. // bool Graphics::TakeScreenShot(Image& destImage) | File: ../Graphics/Graphics.h
  863. engine->RegisterObjectMethod("Graphics", "bool TakeScreenShot(Image&)", asMETHODPR(Graphics, TakeScreenShot, (Image&), bool), asCALL_THISCALL);
  864. // bool Graphics::ToggleFullscreen() | File: ../Graphics/Graphics.h
  865. engine->RegisterObjectMethod("Graphics", "bool ToggleFullscreen()", asMETHODPR(Graphics, ToggleFullscreen, (), bool), asCALL_THISCALL);
  866. // void Object::UnsubscribeFromAllEvents() | File: ../Core/Object.h
  867. engine->RegisterObjectMethod("Graphics", "void UnsubscribeFromAllEvents()", asMETHODPR(Graphics, UnsubscribeFromAllEvents, (), void), asCALL_THISCALL);
  868. // void Object::UnsubscribeFromAllEventsExcept(const PODVector<StringHash>& exceptions, bool onlyUserData) | File: ../Core/Object.h
  869. engine->RegisterObjectMethod("Graphics", "void UnsubscribeFromAllEventsExcept(Array<StringHash>@+, bool)", asFUNCTION(Graphics_UnsubscribeFromAllEventsExcept_PODVectorStringHash_bool), asCALL_CDECL_OBJFIRST);
  870. // void Object::UnsubscribeFromEvent(StringHash eventType) | File: ../Core/Object.h
  871. engine->RegisterObjectMethod("Graphics", "void UnsubscribeFromEvent(StringHash)", asMETHODPR(Graphics, UnsubscribeFromEvent, (StringHash), void), asCALL_THISCALL);
  872. // void Object::UnsubscribeFromEvent(Object* sender, StringHash eventType) | File: ../Core/Object.h
  873. engine->RegisterObjectMethod("Graphics", "void UnsubscribeFromEvent(Object@+, StringHash)", asMETHODPR(Graphics, UnsubscribeFromEvent, (Object*, StringHash), void), asCALL_THISCALL);
  874. // void Object::UnsubscribeFromEvents(Object* sender) | File: ../Core/Object.h
  875. engine->RegisterObjectMethod("Graphics", "void UnsubscribeFromEvents(Object@+)", asMETHODPR(Graphics, UnsubscribeFromEvents, (Object*), void), asCALL_THISCALL);
  876. // int RefCounted::WeakRefs() const | File: ../Container/RefCounted.h
  877. engine->RegisterObjectMethod("Graphics", "int WeakRefs() const", asMETHODPR(Graphics, WeakRefs, () const, int), asCALL_THISCALL);
  878. engine->RegisterObjectMethod("Graphics", "int get_weakRefs() const", asMETHODPR(Graphics, WeakRefs, () const, int), asCALL_THISCALL);
  879. #ifdef REGISTER_MANUAL_PART_Object
  880. REGISTER_MANUAL_PART_Object(Graphics, "Graphics")
  881. #endif
  882. #ifdef REGISTER_MANUAL_PART_RefCounted
  883. REGISTER_MANUAL_PART_RefCounted(Graphics, "Graphics")
  884. #endif
  885. #ifdef REGISTER_MANUAL_PART_Graphics
  886. REGISTER_MANUAL_PART_Graphics(Graphics, "Graphics")
  887. #endif
  888. RegisterSubclass<Object, Graphics>(engine, "Object", "Graphics");
  889. RegisterSubclass<RefCounted, Graphics>(engine, "RefCounted", "Graphics");
  890. #ifdef URHO3D_PHYSICS
  891. // UniquePtr<TriangleMeshInterface> GImpactMeshData::meshInterface_ | File: ../Physics/CollisionShape.h
  892. // Error: type "UniquePtr<TriangleMeshInterface>" can not automatically bind
  893. // void RefCounted::AddRef() | File: ../Container/RefCounted.h
  894. engine->RegisterObjectBehaviour("GImpactMeshData", asBEHAVE_ADDREF, "void f()", asMETHODPR(GImpactMeshData, AddRef, (), void), asCALL_THISCALL);
  895. // GImpactMeshData::GImpactMeshData(Model* model, unsigned lodLevel) | File: ../Physics/CollisionShape.h
  896. engine->RegisterObjectBehaviour("GImpactMeshData", asBEHAVE_FACTORY, "GImpactMeshData@+ f(Model@+, uint)", asFUNCTION(GImpactMeshData_GImpactMeshData_Model_unsigned), asCALL_CDECL);
  897. // explicit GImpactMeshData::GImpactMeshData(CustomGeometry* custom) | File: ../Physics/CollisionShape.h
  898. engine->RegisterObjectBehaviour("GImpactMeshData", asBEHAVE_FACTORY, "GImpactMeshData@+ f(CustomGeometry@+)", asFUNCTION(GImpactMeshData_GImpactMeshData_CustomGeometry), asCALL_CDECL);
  899. // RefCount* RefCounted::RefCountPtr() | File: ../Container/RefCounted.h
  900. // Error: type "RefCount*" can not automatically bind
  901. // int RefCounted::Refs() const | File: ../Container/RefCounted.h
  902. engine->RegisterObjectMethod("GImpactMeshData", "int Refs() const", asMETHODPR(GImpactMeshData, Refs, () const, int), asCALL_THISCALL);
  903. engine->RegisterObjectMethod("GImpactMeshData", "int get_refs() const", asMETHODPR(GImpactMeshData, Refs, () const, int), asCALL_THISCALL);
  904. // void RefCounted::ReleaseRef() | File: ../Container/RefCounted.h
  905. engine->RegisterObjectBehaviour("GImpactMeshData", asBEHAVE_RELEASE, "void f()", asMETHODPR(GImpactMeshData, ReleaseRef, (), void), asCALL_THISCALL);
  906. // int RefCounted::WeakRefs() const | File: ../Container/RefCounted.h
  907. engine->RegisterObjectMethod("GImpactMeshData", "int WeakRefs() const", asMETHODPR(GImpactMeshData, WeakRefs, () const, int), asCALL_THISCALL);
  908. engine->RegisterObjectMethod("GImpactMeshData", "int get_weakRefs() const", asMETHODPR(GImpactMeshData, WeakRefs, () const, int), asCALL_THISCALL);
  909. #ifdef REGISTER_MANUAL_PART_CollisionGeometryData
  910. REGISTER_MANUAL_PART_CollisionGeometryData(GImpactMeshData, "GImpactMeshData")
  911. #endif
  912. #ifdef REGISTER_MANUAL_PART_RefCounted
  913. REGISTER_MANUAL_PART_RefCounted(GImpactMeshData, "GImpactMeshData")
  914. #endif
  915. #ifdef REGISTER_MANUAL_PART_GImpactMeshData
  916. REGISTER_MANUAL_PART_GImpactMeshData(GImpactMeshData, "GImpactMeshData")
  917. #endif
  918. RegisterSubclass<CollisionGeometryData, GImpactMeshData>(engine, "CollisionGeometryData", "GImpactMeshData");
  919. RegisterSubclass<RefCounted, GImpactMeshData>(engine, "RefCounted", "GImpactMeshData");
  920. #endif
  921. // unsigned GeometryDesc::ibRef_ | File: ../Graphics/Model.h
  922. engine->RegisterObjectProperty("GeometryDesc", "uint ibRef", offsetof(GeometryDesc, ibRef_));
  923. // unsigned GeometryDesc::indexCount_ | File: ../Graphics/Model.h
  924. engine->RegisterObjectProperty("GeometryDesc", "uint indexCount", offsetof(GeometryDesc, indexCount_));
  925. // unsigned GeometryDesc::indexStart_ | File: ../Graphics/Model.h
  926. engine->RegisterObjectProperty("GeometryDesc", "uint indexStart", offsetof(GeometryDesc, indexStart_));
  927. // PrimitiveType GeometryDesc::type_ | File: ../Graphics/Model.h
  928. engine->RegisterObjectProperty("GeometryDesc", "PrimitiveType type", offsetof(GeometryDesc, type_));
  929. // unsigned GeometryDesc::vbRef_ | File: ../Graphics/Model.h
  930. engine->RegisterObjectProperty("GeometryDesc", "uint vbRef", offsetof(GeometryDesc, vbRef_));
  931. // GeometryDesc::~GeometryDesc() | Implicitly-declared
  932. engine->RegisterObjectBehaviour("GeometryDesc", asBEHAVE_DESTRUCT, "void f()", asFUNCTION(GeometryDesc_Destructor), asCALL_CDECL_OBJFIRST);
  933. // GeometryDesc& GeometryDesc::operator=(const GeometryDesc&) | Possible implicitly-declared
  934. RegisterImplicitlyDeclaredAssignOperatorIfPossible<GeometryDesc>(engine, "GeometryDesc");
  935. #ifdef REGISTER_MANUAL_PART_GeometryDesc
  936. REGISTER_MANUAL_PART_GeometryDesc(GeometryDesc, "GeometryDesc")
  937. #endif
  938. }
  939. }