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