![]() However, the kernel routines in this chapter produce only pixel data because that’s the most common data returned by a kernel routine.įabricate the data. Although this four-element vector typically contains pixel data, the vector is not required to represent a pixel. The routine must return a vec4 data type. A kernel routine gets called once for each pixel for the destination image. A kernel file contains one or more kernel routines and any required subroutines. The heart of any image processing filter is the kernel file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |