EXT_polygon_offset_clamp

The EXT_polygon_offset_clamp extension is part of the WebGL API and adds a limit to the depth offset set with polygonOffset().

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract external fun polygonOffsetClampEXT(factor: GLfloat, units: GLfloat, clamp: GLfloat)

The polygonOffsetClampEXT() method of the EXT_polygon_offset_clamp extension of the WebGL API specifies the scale factor and units used to calculate depth offsets, like WebGLRenderingContext.polygonOffset(), and a limit for the resulting offset.