Add a helper method to return the selected texture for the TexParameter* and GetTexParameter* family of functions. TRAC #23454 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Authored-by: Jamie Madill