Skip to content
View source

IntGenerated

Category: Types

A 32-bit integer; an overflow fails the element, add_wrap and its kin wrap.

Int

A 32-bit integer; an overflow fails the element, add_wrap and its kin wrap.

Returns Function Category
Int abs(x: Int) math
Int add_wrap(a: Int, b: Int) math
T at(field: Rows<T>, index: Int) field
Int bits(x: Float) math
Bool button(n: Int) context
Int clamp(x: Int, low: Int, high: Int) math
IVec2 clamp(x: IVec2, low: Int, high: Int) math
IVec3 clamp(x: IVec3, low: Int, high: Int) math
IVec4 clamp(x: IVec4, low: Int, high: Int) math
Int clz(x: Int) math
Int count(field: Rows<T>) field
Int count(field: Grid<T>) field
Int count(field: Volume<T>) field
Int ctz(x: Int) math
Int domain() context
Double double(x: Int) conversion
Int element() context
T exchange(value: T, lane: Int) group
T fetch(field: Rows<T>, index: Int) field
Float float(x: Int) conversion
Float from_bits(x: Int) math
Int idomain() context
Int index() context
Int int(x: Float) conversion
Int int(x: Bool) conversion
Int int(x: Double) conversion
Int int(x: Long) conversion
Int isize(field: Rows<T>) field
IVec2 ivec2(x: Int, y: Int) construction
IVec3 ivec3(x: Int, y: Int, z: Int) construction
IVec3 ivec3(xy: IVec2, z: Int) construction
IVec3 ivec3(x: Int, yz: IVec2) construction
IVec4 ivec4(x: Int, y: Int, z: Int, w: Int) construction
IVec4 ivec4(xyz: IVec3, w: Int) construction
Bool key(code: Int) context
Int lane() group
Long long(x: Int) conversion
Int max(a: Int, b: Int) math
IVec2 max(a: IVec2, b: Int) math
IVec3 max(a: IVec3, b: Int) math
IVec4 max(a: IVec4, b: Int) math
Int min(a: Int, b: Int) math
IVec2 min(a: IVec2, b: Int) math
IVec3 min(a: IVec3, b: Int) math
IVec4 min(a: IVec4, b: Int) math
Int mul_wrap(a: Int, b: Int) math
Int mulhi(a: Int, b: Int) math
Int pads() context
Int popcount(x: Int) math
T put(memory: Rows<T>, index: Int, value: T) memory
Int queued() context
Int rotl(x: Int, n: Int) math
Int rotr(x: Int, n: Int) math
Int sign(x: Int) math
Vec2 stick(n: Int) context
Int sub_wrap(a: Int, b: Int) math
Int typed(k: Int) context
Int udiv(a: Int, b: Int) math
Bool ult(a: Int, b: Int) math
Int umulhi(a: Int, b: Int) math
Int urem(a: Int, b: Int) math
Vec2 vec2(x: Int, y: Int) construction
Vec3 vec3(x: Int, y: Int, z: Int) construction
Vec4 vec4(x: Int, y: Int, z: Int, w: Int) construction