@@ -2807,19 +2807,28 @@ pub fn Wrap(comptime bindings: anytype) type {
28072807 }
28082808
28092809 // pub var uniform1i: *const fn (location: Int, v0: Int) callconv(.C) void = undefined;
2810- pub fn uniform1i (location : UniformLocation , value : Int ) void {
2811- bindings .uniform1i (@as (Int , @bitCast (location )), value );
2810+ pub fn uniform1i (location : UniformLocation , v0 : Int ) void {
2811+ bindings .uniform1i (@as (Int , @bitCast (location )), v0 );
28122812 }
28132813
28142814 // pub var uniform2i: *const fn (location: Int, v0: Int, v1: Int) callconv(.C) void = undefined;
2815+ pub fn uniform2i (location : UniformLocation , v0 : i32 , v1 : i32 ) void {
2816+ bindings .uniform2i (@as (Int , @bitCast (location )), v0 , v1 );
2817+ }
28152818 // pub var uniform3i: *const fn (location: Int, v0: Int, v1: Int, v2: Int) callconv(.C) void = undefined;
2819+ pub fn uniform3i (location : UniformLocation , v0 : i32 , v1 : i32 , v2 : i32 ) void {
2820+ bindings .uniform3i (@as (Int , @bitCast (location )), v0 , v1 , v2 );
2821+ }
28162822 // pub var uniform4i: *const fn (
28172823 // location: Int,
28182824 // v0: Int,
28192825 // v1: Int,
28202826 // v2: Int,
28212827 // v3: Int,
28222828 // ) callconv(.C) void = undefined;
2829+ pub fn uniform4i (location : UniformLocation , v0 : i32 , v1 : i32 , v2 : i32 , v3 : i32 ) void {
2830+ bindings .uniform4i (@as (Int , @bitCast (location )), v0 , v1 , v2 , v3 );
2831+ }
28232832 // pub var uniform1fv: *const fn (
28242833 // location: Int,
28252834 // count: Sizei,
0 commit comments