Message 1 of 3
ReferenceTarget object?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In my code snippet I've saved a copy of the render engine in a REF_TYPE of my param block. How can I then cast this REF_TYPE back to the actual class type of Renderer? I don't understand?? Hope you can help. Thanks.
Lastly I would ask how to check if the variable rend is of class type Renderer before proceeding in my code?
ReferenceTarget *ref;
ref = pblock->GetReferenceTarget(pb_re01 + i, 0);
Renderer *rend = //ref as renderer
