|
-
January 17th, 2022, 05:58 AM
#7
Re: casting pointer to template type
Thanks a lot kaud..
Im seeing somewhere else in legacy code, (for getting int value)
int iVal = 0;
OnePixel<int> iraster(&iVal);
RenderFuncParams rfp;
rfp.displayDataType = eDDT;
rfp.pInstance = pInstance;
rfp.pfOut = nullptr;
rfp.piOut = &iraster;
where piOut is just single value, not an array
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|