Exemplo n.º 1
0
        public bool Initialize(GraphicsDevice graphicsDevice, SoundDevice soundDevice, EffectSetting setting, int spriteCount, bool isSRGBMode)
        {
            bool ret = EffekseerNativePINVOKE.EffectRenderer_Initialize(swigCPtr, GraphicsDevice.getCPtr(graphicsDevice), SoundDevice.getCPtr(soundDevice), EffectSetting.getCPtr(setting), spriteCount, isSRGBMode);

            return(ret);
        }
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);
        }
Exemplo n.º 3
0
 public EffectFactory(EffectSetting setting) : this(EffekseerNativePINVOKE.new_EffectFactory(EffectSetting.getCPtr(setting)), true)
 {
 }