Crate pixel_caster

source ·

Re-exports

Modules

Macros

  • ternary (c# alias for °statement° ? °true case° : °false case° ) if $test is true return $true_expr, else return $false_expr

Structs

  • Screen is used to get/send color bytes from/to the screen in a straightforward way
  • Contains the values needed to locate the area of the screen to work with
  • Stuff used to work with the winapi

Enums

  • Defines how the BGRA bytes representing pixels’ colors sent to the screen must be treated
  • Equivalent to C’s void type when used as a pointer.