You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rl Prefix needs to go from every function/struct/enum definition.
MaxShaderLocations constant taken from rlgl.h needs be imported from raylib.
rest of the constants wrapped manually?
rlTraceLogLevel, rlPixelFormat, rlTextureFilter, rlBlendMode, rlShaderLocationIndex, rlShaderUniformDataType, ShaderAttributeDataType need to be hidden and the respective enums from raylib imported and re-exported.
Wrap rlSetUniform, rlSetVertexAttributeDefault the same way as SetShaderValue.
rlGetPixelFormatName can be rewritten in Nim to avoid allocations when converting to string. But imo looks worthless and for debug. $PixelFormat value does the same thing. Maybe remove it.
Removed for now, but one can make a PR with an overload $ for PixelFormat in raylib.nim.
rlUpdateShaderBuffer, rlUpdateVertexBuffer, rlUpdateVertexBufferElements, rlReadShaderBuffer can be wrapped since it always calls glBindBuffer before. But for the rest, data is nil can be valid. Not sure how to approach this.
So is rlLoadVertexBuffer, rlLoadVertexBufferElement but not rlLoadShadderBuffer?
The text was updated successfully, but these errors were encountered: