added gbuffer class