How to pass a texture to an OpenCL kernel?

   695   0   0
User Avatar
Member
45 posts
Joined: Jan. 2016
Online
I would like to pass a texture into an OpenCL kernel so I can use them as lookup tables for some operations, but I can’t figure out how to do it.

Theoretically, I could turn the texture into a volume/vdb I guess, but I just want to know if there is a proper way to do it.

Anyone have any experience in this? OpenCL in Houdini seems to be one of the lesser-documented things at the moment…
  • Quick Links