@@ -2807,19 +2807,28 @@ pub fn Wrap(comptime bindings: anytype) type {
2807
2807
}
2808
2808
2809
2809
// 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 );
2812
2812
}
2813
2813
2814
2814
// 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
+ }
2815
2818
// 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
+ }
2816
2822
// pub var uniform4i: *const fn (
2817
2823
// location: Int,
2818
2824
// v0: Int,
2819
2825
// v1: Int,
2820
2826
// v2: Int,
2821
2827
// v3: Int,
2822
2828
// ) 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
+ }
2823
2832
// pub var uniform1fv: *const fn (
2824
2833
// location: Int,
2825
2834
// count: Sizei,
0 commit comments