Exemplo n.º 1
0
 public EPropElevationManager(CommonExecutorUTProxy commonExecutor, UnityThreadComputeShaderExecutorObject shaderExecutorObject,
                              EPropElevationConfiguration configuration, EPropConstantPyramidParameters constantPyramidParameters)
 {
     _configuration              = configuration;
     _localeBufferManager        = new EPropLocaleBufferManager(commonExecutor, shaderExecutorObject, configuration, constantPyramidParameters);
     _pointersOccupancyContainer = new EPropElevationLocalePointersOccupancyContainer(configuration);
 }
Exemplo n.º 2
0
 public EPropQuadTreeComplex(MyQuantRectangle rectangle, EPropLocaleBufferManager localeBufferManager)
 {
     _rectangle = rectangle;
     _subNodes  = Enum.GetValues(typeof(EPropQuadTreeApex)).Cast <EPropQuadTreeApex>()
                  .ToDictionary(c => c, c => new EPropQuadTreeBaseNode(CreateSubRectangle(c, _rectangle), localeBufferManager));
 }
Exemplo n.º 3
0
 public EPropQuadTreeBaseNode(MyQuantRectangle rectangle, EPropLocaleBufferManager localeBufferManager)
 {
     _rectangle           = rectangle;
     _localeBufferManager = localeBufferManager;
     _node = new EPropQuadTreeLeaf(rectangle, localeBufferManager);
 }
Exemplo n.º 4
0
 public EPropQuadTreeLeaf(MyQuantRectangle rectangle, EPropLocaleBufferManager localeBufferManager)
 {
     _rectangle  = rectangle;
     _leafSector = new EPropSector(localeBufferManager);
 }
Exemplo n.º 5
0
 public EPropSector(EPropLocaleBufferManager localeBufferManager)
 {
     _localeBufferManager = localeBufferManager;
     _scopes = new Dictionary <LocaleBufferScopeIndexType, EPropLocaleBufferScopeRegistry>();
 }