Jump to content

Calling CVEX Shader from CVEX_Context


Recommended Posts

I know a CVEX_Context can be used to load a .vex shader from disk and run it.

How can I access the .vex shader that's in a CVEX otl? This CVEX_Context will be running embedded inside a SOP, so I will be able to access the CVEX otl, and possibly get the .vex shader inside of it, and copy it to a tmp location for the shader to read, if necessary.

Link to comment
Share on other sites

I know a CVEX_Context can be used to load a .vex shader from disk and run it.

How can I access the .vex shader that's in a CVEX otl? This CVEX_Context will be running embedded inside a SOP, so I will be able to access the CVEX otl, and possibly get the .vex shader inside of it, and copy it to a tmp location for the shader to read, if necessary.

Detailed example of loading vex code from shops or vops is here:

http://www.sidefx.co..._c-example.html

Not sure about embedded vex code inside otl though.

Edited by SYmek
Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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.

×
×
  • Create New...