Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 38. Writing Shaders with Pixel B... > Interfacing with Pixel Bender Kernel...

38.3. Interfacing with Pixel Bender Kernels

In this section, I'll show how to load in a kernel's bytecode and get a Shader handle to the kernel. Once you have a Shader, I'll show the different ways to run it to generate or modify graphics. Then, with the kernel running, I'll show ways to interface with it.

38.3.1. Loading the Bytecode

Recall from the section "Introducing Pixel Bender" that you always load compiled Pixel Bender bytecodes, typically stored as PBJ files. Any method of loading binary data will suffice.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial