A thing that always sucks about using graphics APIs is when you see a "size" parameter and you don't know whether it's size in bytes, size in words (floats), or size in strides (logical vertex mesh elements, bundling together several attributes). There is no solution to this, other than to switch to like Haskell or something where you can have five different int types categorized by meaning. It just sucks

Follow

@mcc thats why i always appreciate verbose argument names. No reason why they cant be named size_in_bytes, etc.

Sign in to participate in the conversation
coolkids.house

this is where the cool kids live