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; }
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(); }
public StockSource(IStockMapper mapper, IRawDataSource <StockRawData> stockRawDataSource, IStatementSource statementSource) { this.mapper = mapper; this.statementSource = statementSource; this.stockRawDataSource = stockRawDataSource; }