Crates.io | opengl-registry-macros |
lib.rs | opengl-registry-macros |
version | 0.1.0 |
source | src |
created_at | 2023-03-07 20:54:58.071085 |
updated_at | 2023-03-07 20:54:58.071085 |
description | Macros utilizing the OpenGL API and Extension Registry |
homepage | |
repository | https://git.hampusmat.com/opengl-registry-macros |
max_upload_size | |
id | 803920 |
size | 33,361 |
Rust macros utilizing the OpenGL API and Extension Registry.
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!();
}
}