Added first implementation for texture sharing