public BindRectangleToSurface ( VideoBuffer frame, int width, int height ) : void | ||
frame | VideoBuffer | |
width | int | |
height | int | |
return | void |
public override void Render(VideoBuffer frame) { RunOnUIThread(() => { //if (DrawingSurface.Width != frame.Width || DrawingSurface.Height != frame.Height) //{ // DrawingSurface.Width = frame.Width; // DrawingSurface.Height = frame.Height; //} SharpDXRenderProvider.BindRectangleToSurface(frame, (int)DrawingSurface.Width, (int)DrawingSurface.Height); SharpDXRenderProvider.Render(frame); }); }