Exemplo n.º 1
0
 public void SetParameter(EffectRendererParameter config)
 {
     EffekseerNativePINVOKE.EffectRenderer_SetParameter(swigCPtr, EffectRendererParameter.getCPtr(config));
     if (EffekseerNativePINVOKE.SWIGPendingException.Pending)
     {
         throw EffekseerNativePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
        public bool Begin(int squareMaxCount, EffectRendererParameter config, Vector2I screenSize, GraphicsDevice graphicsDevice, EffectSetting setting, RecordingParameter recordingParameter, Vector2I imageSize, bool isSRGBMode, ViewerEffectBehavior behavior, PostEffectParameter postEffectParameter, Effect effect)
        {
            bool ret = EffekseerNativePINVOKE.EffectRecorder_Begin(swigCPtr, squareMaxCount, EffectRendererParameter.getCPtr(config), Vector2I.getCPtr(screenSize), GraphicsDevice.getCPtr(graphicsDevice), EffectSetting.getCPtr(setting), RecordingParameter.getCPtr(recordingParameter), Vector2I.getCPtr(imageSize), isSRGBMode, ViewerEffectBehavior.getCPtr(behavior), PostEffectParameter.getCPtr(postEffectParameter), Effect.getCPtr(effect));

            if (EffekseerNativePINVOKE.SWIGPendingException.Pending)
            {
                throw EffekseerNativePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }