Commit Graph
13 Commits
Author SHA1 Message Date
Jeremy Pritts ddcb97be28 Support int, uint, long, ulong, and decimal in IColor<T> 2023-08-01 21:51:29 -04:00
Jeremy Pritts 959f6584b2 Remove HalfConstants 2023-08-01 17:58:11 -04:00
Jeremy Pritts 8f4390a315 Apply readonly to color properties and methods 2023-08-01 16:50:17 -04:00
Jeremy Pritts 20c835e821 Add static abstract properties to IColor<T> 2023-08-01 09:54:32 -04:00
Jeremy Pritts 7c6ac4ba0e Support double precision channels 2023-06-22 10:45:36 -04:00
Jeremy Pritts fb48fa3b94 Add back support for earlier .NET versions, which was previously removed in 92d1909562 2022-11-23 16:18:31 -05:00
Jeremy Pritts e2fba56e81 More optimized code generation:
* Use Half.One instead of (Half)1
* No generic instantiation for GetChannels or SetChannels
* In SetChannels, only set properties that are actually used
2022-11-17 19:47:13 -05:00
Jeremy Pritts 92d1909562 Bump to .NET 7 2022-11-17 19:27:19 -05:00
Jeremy Pritts 18abd1731b Standardize naming for floating point rgb formats 2022-11-07 09:58:53 -05:00
Naomi b4ad9bcb39 Add R11G11B10FloatToBGRA32 (#17)
* Add R11G11B10FloatToBGRA32 and ColorRGB32Half

* Requested changes.

* spaces to tabs

* Assert.Multiple
2022-11-06 23:26:54 -05:00
Jeremy Pritts 07c653873b Add an RgbaAttribute to all RGB formats 2022-11-05 00:03:58 -04:00
Jeremy Pritts 03373afddb Clean up the color source generator 2022-11-04 23:41:15 -04:00
Jeremy Pritts 35ed50dc26 Signed RGB color support with new source generation for standard RGB formats 2022-11-04 21:06:28 -04:00