I would have liked to have a default contructor and a Create/Init function for PHAL surfaces. Could this be something?
Pejo Software - Per wrote:I would have liked to have a default contructor and a Create/Init function for PHAL surfaces. Could this be something?
I am sorry, but the short answer is no. A longer answer would be that this would result in a bad design. It would allow you to create surfaces in an invalid state (no initialized).
I am curious to know why you need such functionality?
If you really need it, I guess you can write your own Surface class that wraps PHAL's?