Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is ping-ponging?

ping
0
10 Posted

What is ping-ponging?

0

As explained above, Render-to-texture (RTT) is the GPU equivalent of a feedback loop. In the first pass, the output of a computation is directed to a “write-only” texture, and in the subsequent pass, this texture is bound “read-only” as input for the computation. The process of alternately reading and writing from such textures (or a double-buffered pBuffer) is called ping-ponging’. In Direct3D, this is done with SetRenderTarget(texture), in OpenGL, glDrawBuffer() is used for a texture attached to a framebuffer object.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123