Skip to content

Unit of the stride attribute #224

Closed
Closed
@padenot

Description

@padenot

While scrolling twitter randomly, I came across this: https://twitter.com/ID_AA_Carmack/status/1389623925286621184, copied here for posterity:

"Stride" and "pitch" are often used interchangeably in graphics, but sometimes have bytes vs pixels implied. Pitch has another meaning for displays, so I try to favor stride, and include the units in names to remove ambiguity: byteStride / pixelStride.
-- John Carmack

This is made worse by the fact that the pixel formats are not defined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingInterface changes that would break current usage (producing errors or undesired behavior).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions