Flutter Engine
The Flutter Engine
|
#include <proc_table_gles.h>
Public Types | |
using | GLFunctionType = T |
Public Member Functions | |
template<class... Args> | |
auto | operator() (Args &&... args) const |
Call the GL function with the appropriate parameters. Lookup the documentation for the GL function being called to understand the arguments and return types. The arguments types must match and will be type checked. More... | |
constexpr bool | IsAvailable () const |
void | Reset () |
Public Attributes | |
const char * | name = nullptr |
GLFunctionType * | function = nullptr |
PFNGLGETERRORPROC | error_fn = nullptr |
Definition at line 50 of file proc_table_gles.h.
using impeller::GLProc< T >::GLFunctionType = T |
Definition at line 51 of file proc_table_gles.h.
|
inlineconstexpr |
Definition at line 91 of file proc_table_gles.h.
|
inline |
Call the GL function with the appropriate parameters. Lookup the documentation for the GL function being called to understand the arguments and return types. The arguments types must match and will be type checked.
Definition at line 79 of file proc_table_gles.h.
|
inline |
Definition at line 93 of file proc_table_gles.h.
PFNGLGETERRORPROC impeller::GLProc< T >::error_fn = nullptr |
An optional error function. If present, all calls will be followed by an error check.
Definition at line 70 of file proc_table_gles.h.
GLFunctionType* impeller::GLProc< T >::function = nullptr |
The pointer to the GL function.
Definition at line 64 of file proc_table_gles.h.
const char* impeller::GLProc< T >::name = nullptr |
The name of the GL function.
Definition at line 59 of file proc_table_gles.h.