Added support for rednering via dynamic buffers.