|
VLC 4.0.0-dev
|
#include <vlc_opengl_sampler.h>
Data Fields | |
| void(* | fetch_locations )(struct vlc_gl_sampler *sampler, uint32_t program) |
| Callback to fetch locations of uniform or attribute variables. | |
| void(* | load )(struct vlc_gl_sampler *sampler) |
| Callback to load sampler data. | |
| int(* | update )(struct vlc_gl_sampler *sampler, const struct vlc_gl_picture *picture) |
| Update the input picture. | |
| void(* | select_plane )(struct vlc_gl_sampler *sampler, unsigned plane) |
| Select the plane to expose. | |
| void(* | close )(struct vlc_gl_sampler *sampler) |
| Close the sampler, releasing resources. | |
| void(* vlc_gl_sampler_ops::close) (struct vlc_gl_sampler *sampler) |
Close the sampler, releasing resources.
| sampler | the sampler |
| void(* vlc_gl_sampler_ops::fetch_locations) (struct vlc_gl_sampler *sampler, uint32_t program) |
Callback to fetch locations of uniform or attribute variables.
This function pointer cannot be NULL. This callback is called one time after the program is linked.
| sampler | the sampler |
| program | the linked GL program handle |
Referenced by vlc_gl_sampler_FetchLocations().
| void(* vlc_gl_sampler_ops::load) (struct vlc_gl_sampler *sampler) |
Callback to load sampler data.
This function pointer cannot be NULL. This callback can be used to specify values of uniform variables.
| sampler | the sampler |
Referenced by vlc_gl_sampler_Load().
| void(* vlc_gl_sampler_ops::select_plane) (struct vlc_gl_sampler *sampler, unsigned plane) |
Select the plane to expose.
If the sampler exposes planes separately (for plane filters), select the plane to expose via the GLSL function vlc_texture().
| sampler | the sampler |
| plane | the plane number |
Referenced by vlc_gl_sampler_SelectPlane().
| int(* vlc_gl_sampler_ops::update) (struct vlc_gl_sampler *sampler, const struct vlc_gl_picture *picture) |
Update the input picture.
| sampler | the sampler |
| picture | the OpenGL picture |
Referenced by vlc_gl_sampler_Update().