| Parameter | Description |
|---|---|
| x | Input value. |
int The smallest power of two greater than or equal to the input.
Returns the smallest power of two greater than or equal to the input.
Also known as nextpow2.
| Parameter | Description |
|---|---|
| x | Input value. |
int2 The componentwise smallest power of two greater than or equal to the input.
Returns the result of a componentwise calculation of the smallest power of two greater than or equal to the input.
Also known as nextpow2.
| Parameter | Description |
|---|---|
| x | Input value. |
int3 The componentwise smallest power of two greater than or equal to the input.
Returns the result of a componentwise calculation of the smallest power of two greater than or equal to the input.
Also known as nextpow2.
| Parameter | Description |
|---|---|
| x | Input value. |
int4 The componentwise smallest power of two greater than or equal to the input.
Returns the result of a componentwise calculation of the smallest power of two greater than or equal to the input.
Also known as nextpow2.
| Parameter | Description |
|---|---|
| x | Input value. |
uint The smallest power of two greater than or equal to the input.
Returns the smallest power of two greater than or equal to the input.
Also known as nextpow2.
| Parameter | Description |
|---|---|
| x | Input value. |
uint2 The componentwise smallest power of two greater than or equal to the input.
Returns the result of a componentwise calculation of the smallest power of two greater than or equal to the input.
Also known as nextpow2.
| Parameter | Description |
|---|---|
| x | Input value. |
uint3 The componentwise smallest power of two greater than or equal to the input.
Returns the result of a componentwise calculation of the smallest power of two greater than or equal to the input.
Also known as nextpow2.
| Parameter | Description |
|---|---|
| x | Input value. |
uint4 The componentwise smallest power of two greater than or equal to the input.
Returns the result of a componentwise calculation of the smallest power of two greater than or equal to the input.
Also known as nextpow2.
| Parameter | Description |
|---|---|
| x | Input value. |
long The smallest power of two greater than or equal to the input.
Returns the smallest power of two greater than or equal to the input.
Also known as nextpow2.
| Parameter | Description |
|---|---|
| x | Input value. |
ulong The smallest power of two greater than or equal to the input.
Returns the smallest power of two greater than or equal to the input.
Also known as nextpow2.