示例#1
0
 internal void BloomInit(RBloomSettings settings, ReactorGame game)
 {
     _instance._bloomSettings = settings;
     _instance._bloom = new BloomComponent(game);
     game.Components.Add(_instance._bloom);
     _instance._bloom.Settings = settings;
     _instance._bloom.Enabled = false;
 }
示例#2
0
 public void Bloom_SetSettings(RBloomSettings settings, RRenderTarget2D renderTarget)
 {
     _instance._bloomSettings = settings;
     _instance._bloom.RenderTargetSource = renderTarget;
 }