Background for Skyrim SE
Member of the LibMathf script
intfunctionNextPowerOfTwo(intn)NativeGlobal

Description

Documentation Comment

Returns the next power of two greater than or equal to n


Caveats


Parameters

intn


Examples

Auto-Generated Example

int myInt__n

int returnedValue = LibMathf.NextPowerOfTwo(myInt__n)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.