panda3d / panda3d-docs

Sphinx documentation for Panda3D
https://docs.panda3d.org
47 stars 54 forks source link

Document makeTextureBuffer's behaviour when the buffer size is 0,0 #100

Closed Germanunkol closed 3 years ago

Germanunkol commented 3 years ago

When calling base.win.makeTextureBuffer with a size of 0,0, then it looks like subsequent resizes of the main window will also modify the size of the created texture buffer.

If this is intended behaviour (is it?) it would be nice if it was documented.

I expected to find this information here: https://docs.panda3d.org/1.10/python/reference/panda3d.core.GraphicsOutput?highlight=maketexturebuffer#panda3d.core.GraphicsOutput.makeTextureBuffer

rdb commented 3 years ago

I suspect this is intended, but should indeed be documented.