Created types for apparances
Update and add tests.
Merge branch 'batching' into polygonGeometry