Mac Guides | Samples

MonoMac.OpenGL.MathHelper.NextPowerOfTwo Method

Returns the next power of two that is larger than the specified number.

Syntax

public static Int32 NextPowerOfTwo (Int32 n)

Parameters

n
The specified number.

Returns

The next power of two.

Requirements

Namespace: MonoMac.OpenGL
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0