RenderTypeCache

Cache the chunk buffer layers to avoid unnecessary memory leak.