API Reference > imodeljs-common > Rendering > nextHighestPowerOfTwo nextHighestPowerOfTwo Function Returns the first power-of-two value greater than or equal to the input. nextHighestPowerOfTwo(num: number): number note Floating point inputs are truncated. Parameter Type Description num number Returns - number Defined in core/common/src/Image.ts Line 89 Last Updated: 13 June, 2024