File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tutorials/shaders/shader_reference Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1269,8 +1269,8 @@ is used, it can be scalar or vector.
12691269+-----------------------------------------------------------------------------+---------------------------------------------------------------------+
12701270| int **textureQueryLevels ** (gsampler2D s) | Get the number of accessible mipmap levels of a texture. |
12711271| | |
1272- | int **textureQueryLevels ** (gsampler2DArray s) | If the texture is unassigned to a sampler, ``0 `` is returned. |
1273- | | |
1272+ | int **textureQueryLevels ** (gsampler2DArray s) | If the texture is unassigned to a sampler, ``1 `` is returned (Godot |
1273+ | | always internally assigns a texture even to an empty sampler). |
12741274| int **textureQueryLevels ** (gsampler3D s) | |
12751275| | |
12761276| int **textureQueryLevels ** (samplerCube s) | |
You can’t perform that action at this time.
0 commit comments