فهرست منبع

Adds 'const' as shader function parameter qualifier

Yuri Roubinsky 5 سال پیش
والد
کامیت
49cb63e5fa
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      tutorials/shading/shading_reference/shading_language.rst

+ 1 - 0
tutorials/shading/shading_reference/shading_language.rst

@@ -493,6 +493,7 @@ Function arguments can have special qualifiers:
 * **in**: Means the argument is only for reading (default).
 * **in**: Means the argument is only for reading (default).
 * **out**: Means the argument is only for writing.
 * **out**: Means the argument is only for writing.
 * **inout**: Means the argument is fully passed via reference.
 * **inout**: Means the argument is fully passed via reference.
+* **const**: Means the argument is a constant and cannot be changed, may be combined with **in** qualifier.
 
 
 Example below:
 Example below: