Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions | Variables
OgreAngelscriptWrappers.h File Reference

Description

Helper/wrapper functions shared by native (OgreAngelscript.cpp) and generic (OgreAngelscriptGeneric.cpp) OGRE bindings.

Native bindings register these directly (asCALL_CDECL_OBJFIRST/OBJLAST), generic bindings wrap them using WRAP_OBJ_FIRST()/WRAP_OBJ_LAST().

Definition in file OgreAngelscriptWrappers.h.

#include "Application.h"
#include "ScriptEngine.h"
#include "ScriptUtils.h"
#include "scriptarray/scriptarray.h"
#include <OgreRenderOperation.h>
#include <Overlay/OgreOverlaySystem.h>
#include <Overlay/OgreOverlayManager.h>
#include <Overlay/OgreOverlay.h>
#include <Overlay/OgreOverlayContainer.h>

Go to the source code of this file.

Namespaces

namespace  OgreAngelscriptWrappers
 

Typedefs

typedef CReadonlyScriptArrayView< Ogre::SubMesh * > OgreAngelscriptWrappers::SubMeshArray
 
typedef CReadonlyScriptArrayView< Ogre::Node * > OgreAngelscriptWrappers::ChildNodeArray
 
typedef CReadonlyScriptArrayView< Ogre::MovableObject * > OgreAngelscriptWrappers::MovableObjectArray
 
typedef CReadonlyScriptDictView< SceneManager * > OgreAngelscriptWrappers::SceneManagerInstanceDict
 
typedef CReadonlyScriptDictView< AnimationState * > OgreAngelscriptWrappers::AnimationStateDict
 
typedef CReadonlyScriptArrayView< Ogre::Technique * > OgreAngelscriptWrappers::TechniqueArray
 
typedef CReadonlyScriptArrayView< Ogre::Pass * > OgreAngelscriptWrappers::PassArray
 
typedef CReadonlyScriptArrayView< Ogre::TextureUnitState * > OgreAngelscriptWrappers::TextureUnitStateArray
 
typedef CReadonlyScriptArrayView< Ogre::SubEntity * > OgreAngelscriptWrappers::SubEntityArray
 

Functions

static void OgreAngelscriptWrappers::Vector3DefaultConstructor (Vector3 *self)
 
static void OgreAngelscriptWrappers::Vector3CopyConstructor (const Vector3 &other, Vector3 *self)
 
static void OgreAngelscriptWrappers::Vector3InitConstructor (float x, float y, float z, Vector3 *self)
 
static void OgreAngelscriptWrappers::Vector3InitConstructorScaler (float s, Vector3 *self)
 
static void OgreAngelscriptWrappers::Vector2DefaultConstructor (Vector2 *self)
 
static void OgreAngelscriptWrappers::Vector2CopyConstructor (const Vector2 &other, Vector2 *self)
 
static void OgreAngelscriptWrappers::Vector2InitConstructor (float x, float y, Vector2 *self)
 
static void OgreAngelscriptWrappers::Vector2InitConstructorScaler (float s, Vector2 *self)
 
static void OgreAngelscriptWrappers::RadianDefaultConstructor (Radian *self)
 
static void OgreAngelscriptWrappers::RadianCopyConstructor (const Radian &other, Radian *self)
 
static void OgreAngelscriptWrappers::RadianInitConstructor (float r, Radian *self)
 
static int OgreAngelscriptWrappers::RadianCmp (const Radian &a, const Radian &b)
 
static void OgreAngelscriptWrappers::DegreeDefaultConstructor (Degree *self)
 
static void OgreAngelscriptWrappers::DegreeCopyConstructor (const Degree &other, Degree *self)
 
static void OgreAngelscriptWrappers::DegreeInitConstructor (float r, Degree *self)
 
static int OgreAngelscriptWrappers::DegreeCmp (const Degree &a, const Degree &b)
 
static void OgreAngelscriptWrappers::QuaternionDefaultConstructor (Quaternion *self)
 
static void OgreAngelscriptWrappers::QuaternionCopyConstructor (const Quaternion &other, Quaternion *self)
 
static void OgreAngelscriptWrappers::QuaternionInitConstructor1 (const Radian &rfAngle, const Vector3 &rkAxis, Quaternion *self)
 
static void OgreAngelscriptWrappers::QuaternionInitConstructor2 (float w, float x, float y, float z, Quaternion *self)
 
static void OgreAngelscriptWrappers::QuaternionInitConstructor3 (const Vector3 &xaxis, const Vector3 &yaxis, const Vector3 &zaxis, Quaternion *self)
 
static void OgreAngelscriptWrappers::QuaternionInitConstructorScaler (float s, Quaternion *self)
 
static void OgreAngelscriptWrappers::ColourValueDefaultConstructor (ColourValue *self)
 
static void OgreAngelscriptWrappers::ColourValueInitConstructor (float r, float g, float b, float a, ColourValue *self)
 
static void OgreAngelscriptWrappers::ColourValueCopyConstructor (const ColourValue &other, ColourValue *self)
 
static void OgreAngelscriptWrappers::BoxDefaultConstructor (Box *self)
 
static void OgreAngelscriptWrappers::BoxInitConstructor (asUINT l, asUINT t, asUINT r, asUINT b, Box *self)
 
static void OgreAngelscriptWrappers::BoxCopyConstructor (const Box &other, Box *self)
 
static void OgreAngelscriptWrappers::BoxDestructor (Box *self)
 
static void OgreAngelscriptWrappers::BoxAssignOperator (const Box &other, Box *self)
 
static void OgreAngelscriptWrappers::TexturePtrDefaultConstructor (TexturePtr *self)
 
static void OgreAngelscriptWrappers::TexturePtrCopyConstructor (const TexturePtr &other, TexturePtr *self)
 
static void OgreAngelscriptWrappers::TexturePtrDestructor (TexturePtr *self)
 
static void OgreAngelscriptWrappers::TexturePtrAssignOperator (const TexturePtr &other, TexturePtr *self)
 
static bool OgreAngelscriptWrappers::TexturePtrIsNull (TexturePtr *self)
 
static Ogre::String OgreAngelscriptWrappers::TexturePtrGetName (TexturePtr const &self)
 
static Ogre::uint32 OgreAngelscriptWrappers::TexturePtrGetWidth (TexturePtr const &self)
 
static Ogre::uint32 OgreAngelscriptWrappers::TexturePtrGetHeight (TexturePtr const &self)
 
static Ogre::uint32 OgreAngelscriptWrappers::TexturePtrGetNumMipmaps (TexturePtr const &self)
 
static HardwarePixelBufferSharedPtr OgreAngelscriptWrappers::TexturePtrGetBuffer (TexturePtr const &self, asUINT face, asUINT mipmap)
 
static TexturePtr OgreAngelscriptWrappers::TextureManagerLoad (TextureManager &mgr, std::string const &file, std::string const &rg)
 
static void OgreAngelscriptWrappers::HardwarePixelBufferPtrDefaultConstructor (HardwarePixelBufferSharedPtr *self)
 
static void OgreAngelscriptWrappers::HardwarePixelBufferPtrCopyConstructor (const HardwarePixelBufferSharedPtr &other, HardwarePixelBufferSharedPtr *self)
 
static void OgreAngelscriptWrappers::HardwarePixelBufferPtrDestructor (HardwarePixelBufferSharedPtr *self)
 
static void OgreAngelscriptWrappers::HardwarePixelBufferPtrAssignOperator (const HardwarePixelBufferSharedPtr &other, HardwarePixelBufferSharedPtr *self)
 
static const PixelBox & OgreAngelscriptWrappers::HardwarePixelBufferPtrGetCurrentLock (HardwarePixelBufferSharedPtr const &self)
 
static const PixelBox & OgreAngelscriptWrappers::HardwarePixelBufferPtrLock (HardwarePixelBufferSharedPtr const &self, const Box &lockbox, HardwareBuffer::LockOptions opt)
 
static asUINT OgreAngelscriptWrappers::HardwarePixelBufferPtrGetWidth (HardwarePixelBufferSharedPtr const &self)
 
static asUINT OgreAngelscriptWrappers::HardwarePixelBufferPtrGetHeight (HardwarePixelBufferSharedPtr const &self)
 
static void OgreAngelscriptWrappers::HardwarePixelBufferPtrBlitFromMemory (HardwarePixelBufferSharedPtr const &self, const PixelBox &src, const Box &dstBox)
 
static void OgreAngelscriptWrappers::HardwarePixelBufferPtrBlitToMemory (HardwarePixelBufferSharedPtr const &self, const Box &srcBox, const PixelBox &dst)
 
static void OgreAngelscriptWrappers::HardwarePixelBufferPtrUnlock (HardwarePixelBufferSharedPtr const &self)
 
static void OgreAngelscriptWrappers::PixelBoxDefaultConstructor (PixelBox *self)
 
static void OgreAngelscriptWrappers::PixelBoxCopyConstructor (const PixelBox &other, PixelBox *self)
 
static void OgreAngelscriptWrappers::PixelBoxDestructor (PixelBox *self)
 
static void OgreAngelscriptWrappers::PixelBoxAssignOperator (const PixelBox &other, PixelBox *self)
 
static asUINT OgreAngelscriptWrappers::PixelBoxGetWidth (const Ogre::PixelBox &self)
 
static asUINT OgreAngelscriptWrappers::PixelBoxGetHeight (const Ogre::PixelBox &self)
 
static asUINT OgreAngelscriptWrappers::PixelBoxGetDepth (const Ogre::PixelBox &self)
 
static void OgreAngelscriptWrappers::ImageDefaultConstructor (Image *self)
 
static void OgreAngelscriptWrappers::ImageCopyConstructor (const Image &other, Image *self)
 
static void OgreAngelscriptWrappers::ImageDestructor (PixelBox *self)
 
static void OgreAngelscriptWrappers::ImageAssignOperator (const PixelBox &other, PixelBox *self)
 
static SubMeshArray * OgreAngelscriptWrappers::MeshPtrGetSubmeshes (const MeshPtr &self)
 
static void OgreAngelscriptWrappers::MeshPtrDefaultConstructor (MeshPtr *self)
 
static void OgreAngelscriptWrappers::MeshPtrCopyConstructor (const MeshPtr &other, MeshPtr *self)
 
static void OgreAngelscriptWrappers::MeshPtrDestructor (MeshPtr *self)
 
static void OgreAngelscriptWrappers::MeshPtrAssignOperator (const MeshPtr &other, MeshPtr *self)
 
static bool OgreAngelscriptWrappers::MeshPtrIsNull (MeshPtr *self)
 
static Ogre::String OgreAngelscriptWrappers::MeshPtrGetName (MeshPtr const &self)
 
static Ogre::SubMesh * OgreAngelscriptWrappers::MeshPtrCreateSubMesh (MeshPtr const &self, const Ogre::String &name)
 
static void OgreAngelscriptWrappers::MeshPtrDestroySubMesh (MeshPtr const &self, const Ogre::String &name)
 
static MeshPtr OgreAngelscriptWrappers::MeshManagerLoad (MeshManager &mgr, std::string const &file, std::string const &rg)
 
static void OgreAngelscriptWrappers::MeshManagerRemove (MeshManager &mgr, std::string const &file, std::string const &rg)
 
static AngelScript::CScriptArray * OgreAngelscriptWrappers::SubMesh__getVertexPositions (SubMesh *self)
 
static AngelScript::CScriptArray * OgreAngelscriptWrappers::SubMesh__getVertexTexcoords (SubMesh *self, asUINT index)
 
static Ogre::HardwareIndexBuffer::IndexType OgreAngelscriptWrappers::SubMesh__getIndexType (SubMesh *self)
 
static AngelScript::CScriptArray * OgreAngelscriptWrappers::SubMesh__getIndexBufferHelper (Ogre::SubMesh *self, Ogre::HardwareIndexBuffer::IndexType desiredType)
 
static CScriptArray * OgreAngelscriptWrappers::SubMesh__getIndexBuffer16bit (Ogre::SubMesh *self)
 
static CScriptArray * OgreAngelscriptWrappers::SubMesh__getIndexBuffer32bit (Ogre::SubMesh *self)
 
static ChildNodeArray * OgreAngelscriptWrappers::NodeGetChildren (Ogre::Node *self)
 
static std::string OgreAngelscriptWrappers::NodeGetUniqueNameMixin (Ogre::Node *self)
 
template<typename T >
static void OgreAngelscriptWrappers::NodeSetOrientation (T *self, const Ogre::Quaternion &q)
 
static MovableObjectArray * OgreAngelscriptWrappers::SceneNodeGetAttachedObjects (SceneNode *self)
 
static std::string OgreAngelscriptWrappers::MovableObjectGetUniqueNameMixin (Ogre::MovableObject *self)
 
static SceneManagerInstanceDict * OgreAngelscriptWrappers::RootGetSceneManagers (Root *self)
 
static AnimationStateDict * OgreAngelscriptWrappers::AnimationStateSetGetAnimationStates (AnimationStateSet *self)
 
static TechniqueArray * OgreAngelscriptWrappers::MaterialPtrGetTechniques (const MaterialPtr &self)
 
static void OgreAngelscriptWrappers::MaterialPtrDefaultConstructor (MaterialPtr *self)
 
static void OgreAngelscriptWrappers::MaterialPtrCopyConstructor (const MaterialPtr &other, MaterialPtr *self)
 
static void OgreAngelscriptWrappers::MaterialPtrDestructor (MaterialPtr *self)
 
static void OgreAngelscriptWrappers::MaterialPtrAssignOperator (const MaterialPtr &other, MaterialPtr *self)
 
static bool OgreAngelscriptWrappers::MaterialPtrIsNull (MaterialPtr *self)
 
static Ogre::String OgreAngelscriptWrappers::MaterialPtrGetName (MaterialPtr const &self)
 
static Ogre::Technique * OgreAngelscriptWrappers::MaterialPtrCreateTechnique (MaterialPtr const &self)
 
static void OgreAngelscriptWrappers::MaterialPtrRemoveTechnique (MaterialPtr const &self, uint16_t index)
 
static MaterialPtr OgreAngelscriptWrappers::MaterialManagerGetByName (MaterialManager &mgr, std::string const &file, std::string const &rg)
 
static MaterialPtr OgreAngelscriptWrappers::MaterialManagerCreate (MaterialManager &mgr, std::string const &file, std::string const &rg)
 
static PassArray * OgreAngelscriptWrappers::TechniqueGetPasses (Technique *self)
 
static TextureUnitStateArray * OgreAngelscriptWrappers::PassGetTextureUnitStates (Pass *self)
 
static Ogre::GpuProgramParametersPtr OgreAngelscriptWrappers::PassGetVertexProgramParameters (Ogre::Pass *self)
 
static Ogre::GpuProgramParametersPtr OgreAngelscriptWrappers::PassGetFragmentProgramParameters (Ogre::Pass *self)
 
static Ogre::GpuProgramParametersPtr OgreAngelscriptWrappers::PassGetGeometryProgramParameters (Ogre::Pass *self)
 
static Ogre::GpuProgramParametersPtr OgreAngelscriptWrappers::PassGetTessellationHullProgramParameters (Ogre::Pass *self)
 
static Ogre::GpuProgramParametersPtr OgreAngelscriptWrappers::PassGetTessellationDomainProgramParameters (Ogre::Pass *self)
 
static Ogre::GpuProgramParametersPtr OgreAngelscriptWrappers::PassGetComputeProgramParameters (Ogre::Pass *self)
 
static SubEntityArray * OgreAngelscriptWrappers::EntityGetSubEntities (Entity *self)
 
static void OgreAngelscriptWrappers::TimerDefaultConstructor (Timer *self)
 
static void OgreAngelscriptWrappers::TimerDefaultDestructor (Timer *self)
 
static void OgreAngelscriptWrappers::TimerCopyConstructor (const Timer &other, Timer *self)
 
static void OgreAngelscriptWrappers::TimerAssignOperator (const Timer &other, Timer *self)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrDefaultConstructor (GpuProgramParametersPtr *self)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrCopyConstructor (const GpuProgramParametersPtr &other, GpuProgramParametersPtr *self)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrDestructor (GpuProgramParametersPtr *self)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrAssignOperator (const GpuProgramParametersPtr &other, GpuProgramParametersPtr *self)
 
static bool OgreAngelscriptWrappers::GpuProgramParametersPtrIsNull (GpuProgramParametersPtr *self)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrSetConstantFloat (GpuProgramParametersPtr const &self, asUINT index, float val)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrSetConstantVector3 (GpuProgramParametersPtr const &self, asUINT index, const Ogre::Vector3 &val)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrSetConstantVector2 (GpuProgramParametersPtr const &self, asUINT index, const Ogre::Vector2 &val)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrSetConstantColourValue (GpuProgramParametersPtr const &self, asUINT index, const Ogre::ColourValue &val)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrSetConstantFloatArray (GpuProgramParametersPtr const &self, asUINT index, CScriptArray *vals)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrSetConstantVector3Array (GpuProgramParametersPtr const &self, asUINT index, CScriptArray *vals)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrSetConstantVector2Array (GpuProgramParametersPtr const &self, asUINT index, CScriptArray *vals)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrSetConstantColourValueArray (GpuProgramParametersPtr const &self, asUINT index, CScriptArray *vals)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrSetNamedConstantFloat (GpuProgramParametersPtr const &self, const std::string &name, float val)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrSetNamedConstantVector3 (GpuProgramParametersPtr const &self, const std::string &name, const Ogre::Vector3 &val)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrSetNamedConstantVector2 (GpuProgramParametersPtr const &self, const std::string &name, const Ogre::Vector2 &val)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrSetNamedConstantColourValue (GpuProgramParametersPtr const &self, const std::string &name, const Ogre::ColourValue &val)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrSetNamedConstantFloatArray (GpuProgramParametersPtr const &self, const std::string &name, CScriptArray *vals)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrSetNamedConstantVector3Array (GpuProgramParametersPtr const &self, const std::string &name, CScriptArray *vals)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrSetNamedConstantVector2Array (GpuProgramParametersPtr const &self, const std::string &name, CScriptArray *vals)
 
static void OgreAngelscriptWrappers::GpuProgramParametersPtrSetNamedConstantColourValueArray (GpuProgramParametersPtr const &self, const std::string &name, CScriptArray *vals)
 
static CScriptArray * OgreAngelscriptWrappers::GpuProgramParametersPtr__getNamedConstants (GpuProgramParametersPtr const &self)
 
static AngelScript::CScriptArray * OgreAngelscriptWrappers::SceneManager__getMovableObjectsByType (SceneManager *self, const std::string &typeName)
 
static Ogre::Entity * OgreAngelscriptWrappers::SceneManagerCreateEntity (Ogre::SceneManager *self, const std::string &entityName, const std::string &meshName, const std::string &meshRG)
 
static void OgreAngelscriptWrappers::OverlayAdd2D (Ogre::Overlay *self, Ogre::OverlayElement *elem)
 
static void OgreAngelscriptWrappers::OverlayRemove2D (Ogre::Overlay *self, Ogre::OverlayElement *elem)
 
static AngelScript::CScriptArray * OgreAngelscriptWrappers::get2DElementsHelper (Ogre::Overlay *self)
 
static AngelScript::CScriptArray * OgreAngelscriptWrappers::getElementTemplatesHelper (Ogre::OverlayManager *self)
 
static Ogre::Overlay * OgreAngelscriptWrappers::OverlayManagerCreate (Ogre::OverlayManager *self, const std::string &name)
 
static Ogre::Overlay * OgreAngelscriptWrappers::OverlayManagerGetByName (Ogre::OverlayManager *self, const std::string &name)
 
static void OgreAngelscriptWrappers::OverlayManagerDestroyByName (Ogre::OverlayManager *self, const std::string &name)
 
static void OgreAngelscriptWrappers::OverlayManagerDestroy (Ogre::OverlayManager *self, Ogre::Overlay *ov)
 
static void OgreAngelscriptWrappers::OverlayManagerDestroyAll (Ogre::OverlayManager *self)
 
static CScriptArray * OgreAngelscriptWrappers::OverlayManagerGetOverlays (Ogre::OverlayManager *self)
 
static Ogre::OverlayElement * OgreAngelscriptWrappers::OverlayManagerCreateOverlayElement (Ogre::OverlayManager *self, const std::string &type, const std::string &name, bool isTemplate)
 
static Ogre::OverlayElement * OgreAngelscriptWrappers::OverlayManagerGetOverlayElement (Ogre::OverlayManager *self, const std::string &name)
 
static void OgreAngelscriptWrappers::OverlayManagerDestroyOverlayElementByName (Ogre::OverlayManager *self, const std::string &name, bool isTemplate)
 
static void OgreAngelscriptWrappers::OverlayManagerDestroyOverlayElement (Ogre::OverlayManager *self, Ogre::OverlayElement *oe, bool isTemplate)
 
static void OgreAngelscriptWrappers::OverlayManagerDestroyAllOverlayElements (Ogre::OverlayManager *self, bool isTemplate)
 
static Ogre::OverlayElement * OgreAngelscriptWrappers::OverlayManagerCreateOverlayElementFromTemplate (Ogre::OverlayManager *self, const std::string &templateName, const std::string &typeName, const std::string &instanceName, bool isTemplate)
 
static Ogre::OverlayElement * OgreAngelscriptWrappers::OverlayManagerCloneOverlayElementFromTemplate (Ogre::OverlayManager *self, const std::string &templateName, const std::string &instanceName)
 
static bool OgreAngelscriptWrappers::OverlayManagerIsTemplate (Ogre::OverlayManager *self, const std::string &name)
 

Variables

static PixelBox OgreAngelscriptWrappers::PIXELBOX_DUMMY = PixelBox()