Encapsulated rendering