瀏覽代碼

Merge pull request #2643 from Chaosus/shader_missed_overload

Added missed desc for shader built-in overload (textureProjLod)
Yuri Roubinsky 6 年之前
父節點
當前提交
66beec8b1f
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tutorials/shading/shading_reference/shading_language.rst

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

@@ -704,6 +704,8 @@ When vec_type (float), vec_int_type, vec_uint_type, vec_bool_type nomenclature i
 +----------------------------------------------------------------------------+--------------------------------------------------+
 +----------------------------------------------------------------------------+--------------------------------------------------+
 | vec4_type **textureProjLod** ( sampler2D_type s, vec4 uv, float lod )      | Perform a 2D texture read with projection/lod    |
 | vec4_type **textureProjLod** ( sampler2D_type s, vec4 uv, float lod )      | Perform a 2D texture read with projection/lod    |
 +----------------------------------------------------------------------------+--------------------------------------------------+
 +----------------------------------------------------------------------------+--------------------------------------------------+
+| vec4_type **textureProjLod** ( sampler3D_type s, vec4 uv, float lod )      | Perform a 3D texture read with projection/lod    |
++----------------------------------------------------------------------------+--------------------------------------------------+
 | vec4_type **texelFetch** ( sampler2D_type s, ivec2 uv, int lod )           | Fetch a single texel using integer coords        |
 | vec4_type **texelFetch** ( sampler2D_type s, ivec2 uv, int lod )           | Fetch a single texel using integer coords        |
 +----------------------------------------------------------------------------+--------------------------------------------------+
 +----------------------------------------------------------------------------+--------------------------------------------------+
 | vec4_type **texelFetch** ( sampler2DArray_type s, ivec3 uv, int lod )      | Fetch a single texel using integer coords        |
 | vec4_type **texelFetch** ( sampler2DArray_type s, ivec3 uv, int lod )      | Fetch a single texel using integer coords        |