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 93 Last Updated: 11 June, 2024