Available on crate feature
runtime-opengl only.Expand description
C API for the librashader OpenGL Runtime (libra_gl_*).
Structs§
- filter_
chain_ gl_ opt_ t - Options for filter chain creation.
- frame_
gl_ opt_ t - Options for each OpenGL shader frame.
- libra_
image_ gl_ t - OpenGL parameters for an image.
Functions§
- libra_
gl_ ⚠filter_ chain_ create - Create the filter chain given the shader preset.
- libra_
gl_ ⚠filter_ chain_ frame - Draw a frame with the given parameters for the given filter chain.
- libra_
gl_ ⚠filter_ chain_ free - Free a GL filter chain.
- libra_
gl_ ⚠filter_ chain_ get_ active_ pass_ count - Gets the number of active passes for this chain.
- libra_
gl_ ⚠filter_ chain_ get_ param - Gets a parameter for the filter chain.
- libra_
gl_ ⚠filter_ chain_ set_ active_ pass_ count - Sets the number of active passes for this chain.
- libra_
gl_ ⚠filter_ chain_ set_ param - Sets a parameter for the filter chain.
Type Aliases§
- PFN_
libra_ gl_ filter_ chain_ create - Function pointer definition for libra_gl_filter_chain_create
- PFN_
libra_ gl_ filter_ chain_ frame - Function pointer definition for libra_gl_filter_chain_frame
- PFN_
libra_ gl_ filter_ chain_ free - Function pointer definition for libra_gl_filter_chain_free
- PFN_
libra_ gl_ filter_ chain_ get_ active_ pass_ count - Function pointer definition for libra_gl_filter_chain_get_active_pass_count
- PFN_
libra_ gl_ filter_ chain_ get_ param - Function pointer definition for libra_gl_filter_chain_get_param
- PFN_
libra_ gl_ filter_ chain_ set_ active_ pass_ count - Function pointer definition for libra_gl_filter_chain_set_active_pass_count
- PFN_
libra_ gl_ filter_ chain_ set_ param - Function pointer definition for libra_gl_filter_chain_set_param
- libra_
gl_ loader_ t - A GL function loader that librashader needs to be initialized with.