Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No, that is OpenGL specific and only if using GLSL, other shading languages expect such values as explicit parameters, for example in WGSL it is @builtin(position) that you are to bind to a specific variable.

    @builtin(position) fragCoord: vec4f


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: