Sign in to follow this  
Simon Brown

Accessing the destination canvas from an effect dialog

Recommended Posts

Look! I spelled should wrong!

He is talking about OnSetRenderInfo... he just left out the "On".
You're a little late. But I had to make sure, since in an earlier beta version of PDN, OnSetRenderInfo was called SetRenderInfo.

Share this post


Link to post
Share on other sites
You're a little late. But I had to make sure, since in an earlier beta version of PDN, OnSetRenderInfo was called SetRenderInfo.

Understood. I still think that SABrown is tackling this thing in a strange and twisted kinda way. SABrown, if you want to just pm your code to me, I'll be happy to take a look and see if maybe I can spot some places where I can help you out with some of the issues you are having... two heads are better than one, after all. Just a suggestion.

Share this post


Link to post
Share on other sites
You're a little late. But I had to make sure, since in an earlier beta version of PDN, OnSetRenderInfo was called SetRenderInfo.

SetRenderInfo() is the public method, which then calls the protected and virtual OnSetRenderInfo(). But yeah an earlier build didn't have it split up like that.

Share this post


Link to post
Share on other sites
You're a little late. But I had to make sure, since in an earlier beta version of PDN, OnSetRenderInfo was called SetRenderInfo.

SetRenderInfo() is the public method, which then calls the protected and virtual OnSetRenderInfo().

And that is generally the standard way of doing things... which makes it intuitive for people like me... I very much appreciate it when API's follow the established conventions... it allows me to hit the ground running.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this