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); }
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); }