Ejemplo n.º 1
0
 public StatementSource(IFinanceLoader <Income> incomeLoader,
                        IFinanceLoader <Balance> balanceLoader,
                        IFinanceLoader <Cashflow> cashflowLoader,
                        IRawDataSource <IncomeRawData> incomeRawDataSource,
                        IRawDataSource <BalanceRawData> balanceRawDataSource,
                        IRawDataSource <CashflowRawData> cashflowRawDataSource
                        )
 {
     this.incomeLoader          = incomeLoader;
     this.balanceLoader         = balanceLoader;
     this.cashflowLoader        = cashflowLoader;
     this.incomeRawDataSource   = incomeRawDataSource;
     this.balanceRawDataSource  = balanceRawDataSource;
     this.cashflowRawDataSource = cashflowRawDataSource;
 }
Ejemplo n.º 2
0
    void Start()
    {
        computeKernel   = Compute.FindKernel("CSMain");
        occlusionKernel = Compute.FindKernel("OcclusionCompute");
        InitializeDataBuffer();
        InitializeGridBuffer();

        rawDataSource = new GZipSource(); // new ScreenshotSource();

        outputVessel = new Texture2D(ImageResolution, ImageResolution, TextureFormat.ARGB32, false);

        intermediateRenderTexture                   = new RenderTexture(ImageResolution, ImageResolution, 0, RenderTextureFormat.ARGB32);
        intermediateRenderTexture.filterMode        = FilterMode.Point;
        intermediateRenderTexture.wrapMode          = TextureWrapMode.Clamp;
        intermediateRenderTexture.enableRandomWrite = true;
        intermediateRenderTexture.Create();

        outputRenderTexture = GetRenderTexture();
    }
Ejemplo n.º 3
0
 public StockSource(IStockMapper mapper, IRawDataSource <StockRawData> stockRawDataSource, IStatementSource statementSource)
 {
     this.mapper             = mapper;
     this.statementSource    = statementSource;
     this.stockRawDataSource = stockRawDataSource;
 }