Made sure to use the types defined by enum for texture filter types.