Clean up coding style in Render related classes.

Signed-off-by: PlutoniumHeart <zhitaoli.hust@gmail.com>