예제 #1
0
 public WindowsRender(IRenderDevice device, CSize renderTargetSize, SwapChainFormats formats, Vector4 borderColor, iMediaEngine mediaEngine) :
     base(device, renderTargetSize, formats, borderColor, new sDecodedVideoSize(mediaEngine.nativeVideoSize))
 {
     this.mediaEngine = mediaEngine;
     videoTexture     = mediaEngine.createFrameTexture(device, formats.color);
 }