Examples: Refactoring gpgpu renderer based on @WestLangley suggestion #4069