Change PixelFormat to constants
Merge branch 'renderertweaks' into gltf