public RenderStageModelFactory(IFrameworkMessenger frameworkMessenger, IStartupPropertiesCache startUpPropertiesCache, ISystemComponents veldridComponents, IVeldridWindowUpdater windowUpdater, IDrawQueueGroupFactory drawQueueGroupFactory, IDrawStageBatcherFactory drawStageBatcherFactory, IGpuSurfaceManager gpuSurfaceManager, IPipelineFactory pipelineFactory, IGaussianBlurWeightsAndOffsetsCache gaussianWeightsAndOffsetsCache, IQuadMeshBuilder quadMeshBuilder, IBlendStateConverter blendStateConverter, IShaderLoader shaderTools) { _frameworkMessenger = frameworkMessenger; _startUpPropertiesCache = startUpPropertiesCache; _systemComponents = veldridComponents; _windowUpdater = windowUpdater; _drawQueueGroupFactory = drawQueueGroupFactory; _drawStageBatcherFactory = drawStageBatcherFactory; _gpuSurfaceManager = gpuSurfaceManager; _pipelineFactory = pipelineFactory; _gaussianWeightsAndOffsetsCache = gaussianWeightsAndOffsetsCache; _quadMeshBuilder = quadMeshBuilder; _blendStateConverter = blendStateConverter; _shaderTools = shaderTools; }
public CommonMeshBuilder(ICrtMeshBuilder crtMeshBuilder, ISphericalMeshBuilder sphericalMeshBuilder, IRectangularCuboidMeshBuilder rectangularCuboidMeshBuilder, IQuadMeshBuilder quadMeshBuilder) { _crtMeshBuilder = crtMeshBuilder; _sphericalMeshBuilder = sphericalMeshBuilder; _rectangularCuboidMeshBuilder = rectangularCuboidMeshBuilder; _quadMeshBuilder = quadMeshBuilder; }
public MeshRenderStageModel(IFrameworkMessenger frameworkMessenger, ISystemComponents systemComponents, IQuadMeshBuilder quadMeshBuilder) { _frameworkMessenger = frameworkMessenger; _systemComponents = systemComponents; _quadMeshBuilder = quadMeshBuilder; CreateLights(); GenerateInitialLightingConfigurations(); UpdatePropertiesBuffer(); UpdateLightsBuffer(); GenerateDefaultMesh(); }