コード例 #1
0
 public GraphicsMetricsProfilerVisualiser(
     IAssetManager assetManager,
     I2DRenderUtilities renderUtilities,
     IRenderCache renderCache,
     IRenderAutoCache renderAutoCache,
     IRenderBatcher renderBatcher)
 {
     _renderUtilities = renderUtilities;
     _renderCache     = renderCache;
     _renderAutoCache = renderAutoCache;
     _renderBatcher   = renderBatcher;
     _defaultFont     = assetManager.Get <FontAsset>("font.Default");
 }
コード例 #2
0
 public GraphicsMetricsProfilerVisualiser(
     IAssetManagerProvider assetManagerProvider,
     I2DRenderUtilities renderUtilities,
     IRenderCache renderCache,
     IRenderAutoCache renderAutoCache,
     IRenderBatcher renderBatcher)
 {
     _renderUtilities = renderUtilities;
     _renderCache = renderCache;
     _renderAutoCache = renderAutoCache;
     _renderBatcher = renderBatcher;
     _defaultFont = assetManagerProvider.GetAssetManager().Get<FontAsset>("font.Default");
 }
コード例 #3
0
 public DefaultRenderBatcher(IProfiler profiler, IRenderAutoCache renderAutoCache)
 {
     _profiler        = profiler;
     _renderAutoCache = renderAutoCache;
 }
コード例 #4
0
 public RenderAutoCacheEngineHook(IRenderAutoCache renderAutoCache)
 {
     _renderAutoCache = renderAutoCache;
 }
コード例 #5
0
 public DefaultRenderBatcher(IProfiler profiler, IRenderAutoCache renderAutoCache)
 {
     _profiler = profiler;
     _renderAutoCache = renderAutoCache;
 }