C# (CSharp) MediaPortal.Player PlaneScene - 6 exemples trouvés. Ce sont les exemples réels les mieux notés de MediaPortal.Player.PlaneScene extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
This class will draw a video texture onscreen when using VMR9 renderless Its controlled by the allocator wrapper Example on how to use: PlaneScene scene = new PlaneScene(GUIGraphicsContext.RenderGUI) scene.Init() ... allocate direct3d texture scene.SetSrcRect(1.0f,1.0f); //change this depending on the texture dimensions scene.SetSurface(texture); //change this depending on the texture dimensions while (playingMovie) { scene.Render(GUIGraphicsContext.DX9Device, videoTextre, videoSize) } scene.ReleaseSurface(texture) scene.Stop(); scene.DeInit();