public void Blend(byte[] backBuffer, byte[] backClutBuffer, byte[] frontBuffer, byte[] frontClutBuffer, ref byte[] output, Pixel background = null, byte backBufferAlphaMulitplier = 0xFF, byte frontBufferAlphaMultiplayer = 0xFF)
 {
     if (background == null)
     {
         background = new Pixel(0x00, 0x00, 0x00, 0x00);
     }
     blender(backBuffer, backClutBuffer, frontBuffer, frontClutBuffer, ref output, background, backBufferAlphaMulitplier, frontBufferAlphaMultiplayer);
 }
예제 #2
0
파일: STM32LTDC.cs 프로젝트: rte-se/emul8
 private void HandleBackgroundColorChange()
 {
     backgroundColor = new Pixel(
         (byte)backgroundColorRedChannelField.Value, 
         (byte)backgroundColorGreenChannelField.Value, 
         (byte)backgroundColorBlueChannelField.Value, 
         (byte)0xFF);
 }
 public void Blend(byte[] backBuffer, byte[] frontBuffer, ref byte[] output, Pixel background = null, byte backBufferAlphaMulitplier = 0xFF, byte frontBufferAlphaMultiplayer = 0xFF)
 {
     Blend(backBuffer, null, frontBuffer, null, ref output, background, backBufferAlphaMulitplier, frontBufferAlphaMultiplayer);
 }