texture batching stuff (work in progress)

Signed-off-by: bytechomper <bytechomper@gmail.com>