Пример #1
0
 public static void BeginFrame()
 {
     PlatformRenderer.BeginFrame();
     PolyCount3d       = 0;
     Blending          = Blending.None;
     Shader            = ShaderId.None;
     CullMode          = CullMode.None;
     Transform1        = Matrix32.Identity;
     Transform2        = Matrix32.Identity;
     World             = Matrix44.Identity;
     View              = Matrix44.Identity;
     CurrentRenderList = MainRenderList;
     RenderCycle++;
 }
Пример #2
0
 public static void BeginFrame()
 {
     PlatformRenderer.BeginFrame();
     PolyCount3d       = 0;
     Blending          = Blending.None;
     Shader            = ShaderId.None;
     CullMode          = CullMode.None;
     Transform1        = Matrix32.Identity;
     Transform2        = Matrix32.Identity;
     FrontFace         = FrontFace.CW;
     World             = Matrix44.Identity;
     View              = Matrix44.Identity;
     CurrentRenderList = MainRenderList;
     Clear(ClearOptions.All, Color4.Black);
     RenderCycle++;
 }