Added feature to render text to a raw texture.