Background for Skyrim SE
Member of the LibMathf script
intfunctionClosestPowerOfTwo(intvalue)NativeGlobal

Description

Documentation Comment

Returns the closest power of two number


Caveats


Parameters

intvalue


Examples

Auto-Generated Example

int myInt__value

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