i ran into this earlier this year, but i didn't know why. because oddly it
worked inside the sitoa plugin but not in its own plugin.... i think
because sitoa defines its own macro (SITOA_CALLBACK)

s

On Thu, Sep 13, 2012 at 4:09 AM, Helge Mathee <helge.mat...@gmx.net> wrote:

> Nevermind. Solved it by using XSIPLUGINCALLBACK instead of SICALLBACK.
>
> -H
>
>
> On 13.09.2012 12:46, Helge Mathee wrote:
>
>> Hey guys,
>>
>> I am trying to implement a custom render pass right now, and I am unsure
>> how to start really.
>>
>> Currently this is what I have (which crashes in 2013):
>>
>> SICALLBACK XSILoadPlugin( PluginRegistrar& in_reg )
>> {
>>   in_reg.PutAuthor(L"Helge Mathee");
>>   in_reg.PutName(L"Realtime Rendering Plugin");
>>   in_reg.PutVersion(1,0);
>>
>>   in_reg.**RegisterDisplayCallback(L"**MyRenderPass");
>>
>>   return CStatus::OK;
>> }
>>
>> SICALLBACK MyRenderPass_Init(CRef & in_ctxt, void ** in_pUserData)
>> {
>>   Application().LogMessage(in_**ctxt.GetAsText());
>>   return CStatus::OK;
>> }
>>
>> any hints?
>>
>
>

Reply via email to