shader-slang / slang

Making it easier to work with shaders
http://shader-slang.com
Other
2.51k stars 198 forks source link

[Docs] Extensions - better wording for c# equivalent #5636

Closed burak-efe closed 16 hours ago

burak-efe commented 16 hours ago

slang extensions looks same as c# extension methods, not partial classes. Partial classes allow extending types to introduce more variables unlike slang extensions. And you cannot extend that types not partial to begin with. Where extension methods allows that. Also c# users that use extension methods much more than partial types, probably.

CLAassistant commented 16 hours ago

CLA assistant check
All committers have signed the CLA.

csyonghe commented 16 hours ago

Agreed. Thanks for the correction!