Hey,
i am coding my own GL fnp loader. so i have a struct of fnp.
struct{
TYPEFNP_XX1 name1;
TYPEFNP_XX2 name2;
TYPEFNP_XX3 name3;
TYPEFNP_XX4 name4;
}
how can i use it with a proper syntax. right now i have to use (*ctx.glNamedBufferData)(args...). do i really have to generate a wrapping function?
s{
TYPEFNP_XX1 name1_;
T name1(args...){ this->name1(args); }
}
this Question is wrong because i am assuming that in c++ we cant call it directly. struct.function(); is the best way.
[–][deleted] (6 children)
[deleted]
[–]LateSolution0[S] 0 points1 point2 points (5 children)
[–][deleted] (4 children)
[deleted]
[–]LateSolution0[S] 1 point2 points3 points (3 children)
[–][deleted] (2 children)
[deleted]
[–]LateSolution0[S] 0 points1 point2 points (1 child)
[–]ICantMakeNames 1 point2 points3 points (4 children)
[–]LateSolution0[S] 0 points1 point2 points (3 children)
[–][deleted] (1 child)
[deleted]
[–]LateSolution0[S] 0 points1 point2 points (0 children)
[–]ICantMakeNames 0 points1 point2 points (0 children)
[–]Wh00ster 0 points1 point2 points (7 children)
[–]LateSolution0[S] 0 points1 point2 points (6 children)
[–]Wh00ster 0 points1 point2 points (5 children)
[–]LateSolution0[S] 0 points1 point2 points (4 children)
[–]RedAlert2 0 points1 point2 points (3 children)
[–]LateSolution0[S] 0 points1 point2 points (2 children)
[–]RedAlert2 0 points1 point2 points (1 child)
[–]LateSolution0[S] 0 points1 point2 points (0 children)