Add functions for easier texture sharing