Derpius / VisTrace

Garry's Mod binary module for tracing meshes at high speed on the CPU (and much more)
https://derpius.github.io/VisTrace
MIT License
27 stars 1 forks source link

[feature] Copy constructor for IRenderTarget #82

Closed yogwoggf closed 2 years ago

yogwoggf commented 2 years ago

Is your feature request related to a problem? Please describe. My post-processing VisTrace extension relies a lot on rendertargets, so it'd be beneficial for me to be able to copy IRenderTargets around.

Describe the solution you'd like I want a copy constructor to be added to IRenderTarget which would

Describe alternatives you've considered There is no (good) alternative to this.

yogwoggf commented 2 years ago

Just some quick researching before implementing.. virtual copy constructors don't exist :trollface:

Derpius commented 2 years ago

The interface class shouldn’t have a copy constructor, the derived class should…