initialization pixel buffer in render