public GpuInstancingEntitySplat(SplatInfo splatInfo, List <InstancesPack> GrassPacks, GpuInstancingGrassInstanceContainer gpuInstancingGrassInstanceContainer, int?splatId = null) { _splatInfo = splatInfo; _grassPacks = GrassPacks; _gpuInstancingGrassInstanceContainer = gpuInstancingGrassInstanceContainer; _splatId = splatId; }
public GpuInstancingGrassSplat(SplatInfo splatInfo, int packId, GpuInstancingGrassInstanceContainer gpuInstancingGrassInstanceContainer) { _splatInfo = splatInfo; _packId = packId; _gpuInstancingGrassInstanceContainer = gpuInstancingGrassInstanceContainer; }
public RootInstanceContainer(GameObjectGrassInstanceContainer gameObjectContainer, GpuInstancingGrassInstanceContainer gpuInstancingGrassContainer) { Containers.Add(ContainerType.GameObject, gameObjectContainer); Containers.Add(ContainerType.Instancing, gpuInstancingGrassContainer); }