Light | Dark

# docs.GL

GLSL 4
GLSL ES 3

# isinf

## Name

isinf — determine whether the parameter is positive or negative infinity

## Declaration

`genBType isinf(` | genType x`)`;

## Parameters

`x`

  Specifies the value to test for infinity.

## Description

For each element element i of the result, `isinf` returns `true` if `x`[i] is posititve or negative floating point infinity and false otherwise.

## Version Support

| OpenGL ES Shading Language Version
--- | ---
Function Name | 1.00 | 3.00 | 3.10
isinf (genType) | - | ✔ | ✔

## See Also

isnan

## Copyright

Copyright © 2011-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. https://opencontent.org/openpub/.

Think you can improve this page? Edit this page on GitHub.