Created
March 13, 2023 06:53
-
-
Save dottedmag/4f48d81c143d56b93249926ec1d29bd7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buffer @ 0x10000000, width=4, height=4, pixelsize=4, stride=0 | |
[RGBA RGBA RGBA RGBA] | |
[RGBA RGBA RGBA RGBA] | |
[RGBA RGBA RGBA RGBA] | |
[RGBA RGBA RGBA RGBA] | |
To render upper-left corner, reinterpret as | |
buffer @ 0x10000000, width=2, height=2, pixelsize=4, stride=8 | |
[RGBA RGBA] RGBA RGBA | |
[RGBA RGBA] RGBA RGBA | |
RGBA RGBA RGBA RGBA | |
RGBA RGBA RGBA RGBA |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment