aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 63eec7bfa56b6d75bd2ad1420836dc34664e9c90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

OpenGL-Registry-Macros

Latest Version Documentation

Rust macros utilizing the OpenGL API and Extension Registry.

Example usage

use opengl_registry_macros::for_each_opengl_command;

for_each_opengl_command! {
    fn #gl_command_name(#gl_command_args) -> #gl_command_ret_type
    {
        println!("Hello from {}", stringify!(#gl_command_name));

        unimplemented!();
    }
}