protected virtual void Dispose(bool disposing) { lock (this) { if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; EffekseerCorePINVOKE.delete_EffekseerBackendCore(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } } }
public void SetEffectPosition(int handle, float x, float y, float z) { EffekseerCorePINVOKE.EffekseerManagerCore_SetEffectPosition(swigCPtr, handle, x, y, z); }
public int Play(EffekseerEffectCore effect) { int ret = EffekseerCorePINVOKE.EffekseerManagerCore_Play(swigCPtr, EffekseerEffectCore.getCPtr(effect)); return(ret); }
public void Update(float deltaFrames) { EffekseerCorePINVOKE.EffekseerManagerCore_Update(swigCPtr, deltaFrames); }
public bool HasMaterialLoaded(int index) { bool ret = EffekseerCorePINVOKE.EffekseerEffectCore_HasMaterialLoaded(swigCPtr, index); return(ret); }
public static bool InitializeAsOpenGL() { bool ret = EffekseerCorePINVOKE.EffekseerBackendCore_InitializeAsOpenGL(); return(ret); }
public EffekseerBackendCore() : this(EffekseerCorePINVOKE.new_EffekseerBackendCore(), true) { }
public void SetViewProjectionMatrixWithSimpleWindow(int windowWidth, int windowHeight) { EffekseerCorePINVOKE.EffekseerManagerCore_SetViewProjectionMatrixWithSimpleWindow(swigCPtr, windowWidth, windowHeight); }
public bool HasTextureLoaded(int index, EffekseerTextureType type) { bool ret = EffekseerCorePINVOKE.EffekseerEffectCore_HasTextureLoaded(swigCPtr, index, (int)type); return(ret); }
public bool LoadTexture(byte[] data, int len, int index, EffekseerTextureType type) { bool ret = EffekseerCorePINVOKE.EffekseerEffectCore_LoadTexture(swigCPtr, data, len, index, (int)type); return(ret); }
public int GetTextureCount(EffekseerTextureType type) { int ret = EffekseerCorePINVOKE.EffekseerEffectCore_GetTextureCount(swigCPtr, (int)type); return(ret); }
public string GetTexturePath(int index, EffekseerTextureType type) { string ret = System.Runtime.InteropServices.Marshal.PtrToStringUni(EffekseerCorePINVOKE.EffekseerEffectCore_GetTexturePath(swigCPtr, index, (int)type)); return(ret); }
public bool Load(byte[] data, int len, float magnification) { bool ret = EffekseerCorePINVOKE.EffekseerEffectCore_Load(swigCPtr, data, len, magnification); return(ret); }
public EffekseerEffectCore() : this(EffekseerCorePINVOKE.new_EffekseerEffectCore(), true) { }
public void DrawBack() { EffekseerCorePINVOKE.EffekseerManagerCore_DrawBack(swigCPtr); }
public void DrawFront() { EffekseerCorePINVOKE.EffekseerManagerCore_DrawFront(swigCPtr); }
public string GetModelPath(int index) { string ret = System.Runtime.InteropServices.Marshal.PtrToStringUni(EffekseerCorePINVOKE.EffekseerEffectCore_GetModelPath(swigCPtr, index)); return(ret); }
public int GetModelCount() { int ret = EffekseerCorePINVOKE.EffekseerEffectCore_GetModelCount(swigCPtr); return(ret); }
public EffekseerManagerCore() : this(EffekseerCorePINVOKE.new_EffekseerManagerCore(), true) { }
public static EffekseerCoreDeviceType GetDevice() { EffekseerCoreDeviceType ret = (EffekseerCoreDeviceType)EffekseerCorePINVOKE.EffekseerBackendCore_GetDevice(); return(ret); }
public bool Initialize(int spriteMaxCount) { bool ret = EffekseerCorePINVOKE.EffekseerManagerCore_Initialize(swigCPtr, spriteMaxCount); return(ret); }
public static void Terminate() { EffekseerCorePINVOKE.EffekseerBackendCore_Terminate(); }
public bool LoadMaterial(byte[] data, int len, int index) { bool ret = EffekseerCorePINVOKE.EffekseerEffectCore_LoadMaterial(swigCPtr, data, len, index); return(ret); }