Say for the instance of a textured health bar or a loading bar. You have a sprite and you only want to render half of it. You don't want to resize it because that would stretch it and make the patterning on it look weird.
Is there a way to render only a portion of it? How would I hide/show more and more of it over time or when the player performs an action or gets hit?