global functions

# glm::bitfieldFillOne(...)

## vecType glm::bitfieldFillOne(const vecType &Value=P, int FirstBit, int BitCount)

*Documentation from code comments*

*Documentation from code comments*

Set to 1 a range of bits.

**See also**: gtc_bitfield

# glm::bitfieldFillOne(...)

## genIUType glm::bitfieldFillOne(genIUType Value, int FirstBit, int BitCount)

*Documentation from code comments*

*Documentation from code comments*

Set to 1 a range of bits.

**See also**: gtc_bitfield

# glm::bitfieldFillZero(...)

## vecType glm::bitfieldFillZero(const vecType &Value=P, int FirstBit, int BitCount)

*Documentation from code comments*

*Documentation from code comments*

Set to 0 a range of bits.

**See also**: gtc_bitfield

# glm::bitfieldFillZero(...)

## genIUType glm::bitfieldFillZero(genIUType Value, int FirstBit, int BitCount)

*Documentation from code comments*

*Documentation from code comments*

Set to 0 a range of bits.

**See also**: gtc_bitfield

# glm::bitfieldInterleave(...)

## glm::int16 glm::bitfieldInterleave(glm::int8 x, glm::int8 y)

*Documentation from code comments*

*Documentation from code comments*

Interleaves the bits of x and y. The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.

**See also**: gtc_bitfield

# glm::bitfieldInterleave(...)

## glm::uint16 glm::bitfieldInterleave(glm::uint8 x, glm::uint8 y)

*Documentation from code comments*

*Documentation from code comments*

Interleaves the bits of x and y. The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.

**See also**: gtc_bitfield

# glm::bitfieldInterleave(...)

## glm::int32 glm::bitfieldInterleave(glm::int16 x, glm::int16 y)

*Documentation from code comments*

*Documentation from code comments*

Interleaves the bits of x and y. The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.

**See also**: gtc_bitfield

# glm::bitfieldInterleave(...)

## glm::uint32 glm::bitfieldInterleave(glm::uint16 x, glm::uint16 y)

*Documentation from code comments*

*Documentation from code comments*

**See also**: gtc_bitfield

# glm::bitfieldInterleave(...)

## glm::int64 glm::bitfieldInterleave(glm::int32 x, glm::int32 y)

*Documentation from code comments*

*Documentation from code comments*

**See also**: gtc_bitfield

# glm::bitfieldInterleave(...)

## glm::uint64 glm::bitfieldInterleave(glm::uint32 x, glm::uint32 y)

*Documentation from code comments*

*Documentation from code comments*

**See also**: gtc_bitfield

# glm::bitfieldInterleave(...)

## glm::int32 glm::bitfieldInterleave(glm::int8 x, glm::int8 y, glm::int8 z)

*Documentation from code comments*

*Documentation from code comments*

Interleaves the bits of x, y and z. The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.

**See also**: gtc_bitfield

# glm::bitfieldInterleave(...)

## glm::uint32 glm::bitfieldInterleave(glm::uint8 x, glm::uint8 y, glm::uint8 z)

*Documentation from code comments*

*Documentation from code comments*

Interleaves the bits of x, y and z. The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.

**See also**: gtc_bitfield

# glm::bitfieldInterleave(...)

## glm::int64 glm::bitfieldInterleave(glm::int16 x, glm::int16 y, glm::int16 z)

*Documentation from code comments*

*Documentation from code comments*

Interleaves the bits of x, y and z. The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.

**See also**: gtc_bitfield

# glm::bitfieldInterleave(...)

## glm::uint64 glm::bitfieldInterleave(glm::uint16 x, glm::uint16 y, glm::uint16 z)

*Documentation from code comments*

*Documentation from code comments*

**See also**: gtc_bitfield

# glm::bitfieldInterleave(...)

## glm::int64 glm::bitfieldInterleave(glm::int32 x, glm::int32 y, glm::int32 z)

*Documentation from code comments*

*Documentation from code comments*

**See also**: gtc_bitfield

# glm::bitfieldInterleave(...)

## glm::uint64 glm::bitfieldInterleave(glm::uint32 x, glm::uint32 y, glm::uint32 z)

*Documentation from code comments*

*Documentation from code comments*

**See also**: gtc_bitfield

# glm::bitfieldInterleave(...)

## glm::int32 glm::bitfieldInterleave(glm::int8 x, glm::int8 y, glm::int8 z, glm::int8 w)

*Documentation from code comments*

*Documentation from code comments*

Interleaves the bits of x, y, z and w. The first bit is the first bit of x followed by the first bit of y, the first bit of z and finally the first bit of w. The other bits are interleaved following the previous sequence.

**See also**: gtc_bitfield

# glm::bitfieldInterleave(...)

## glm::uint32 glm::bitfieldInterleave(glm::uint8 x, glm::uint8 y, glm::uint8 z, glm::uint8 w)

*Documentation from code comments*

*Documentation from code comments*

Interleaves the bits of x, y, z and w. The first bit is the first bit of x followed by the first bit of y, the first bit of z and finally the first bit of w. The other bits are interleaved following the previous sequence.

**See also**: gtc_bitfield

# glm::bitfieldInterleave(...)

## glm::int64 glm::bitfieldInterleave(glm::int16 x, glm::int16 y, glm::int16 z, glm::int16 w)

*Documentation from code comments*

*Documentation from code comments*

Interleaves the bits of x, y, z and w. The first bit is the first bit of x followed by the first bit of y, the first bit of z and finally the first bit of w. The other bits are interleaved following the previous sequence.

**See also**: gtc_bitfield

# glm::bitfieldInterleave(...)

## glm::uint64 glm::bitfieldInterleave(glm::uint16 x, glm::uint16 y, glm::uint16 z, glm::uint16 w)

*Documentation from code comments*

*Documentation from code comments*

**See also**: gtc_bitfield

# glm::bitfieldRotateLeft(...)

## genIUType glm::bitfieldRotateLeft(genIUType In, int Shift)

*Documentation from code comments*

*Documentation from code comments*

Rotate all bits to the left. All the bits dropped in the left side are inserted back on the right side.

**See also**: gtc_bitfield

# glm::bitfieldRotateLeft(...)

## vecType glm::bitfieldRotateLeft(const vecType &In=P, int Shift)

*Documentation from code comments*

*Documentation from code comments*

Rotate all bits to the left. All the bits dropped in the left side are inserted back on the right side.

**See also**: gtc_bitfield

# glm::bitfieldRotateRight(...)

## genIUType glm::bitfieldRotateRight(genIUType In, int Shift)

*Documentation from code comments*

*Documentation from code comments*

Rotate all bits to the right. All the bits dropped in the right side are inserted back on the left side.

**See also**: gtc_bitfield

# glm::bitfieldRotateRight(...)

## vecType glm::bitfieldRotateRight(const vecType &In=P, int Shift)

*Documentation from code comments*

*Documentation from code comments*

Rotate all bits to the right. All the bits dropped in the right side are inserted back on the left side.

**See also**: gtc_bitfield

# glm::mask(...)

## genIUType glm::mask(genIUType Bits)

*Documentation from code comments*

*Documentation from code comments*

Build a mask of 'count' bits

**See also**: gtc_bitfield

# glm::mask(...)

## vecIUType glm::mask(const vecIUType &v=P)

*Documentation from code comments*

*Documentation from code comments*

Build a mask of 'count' bits

**See also**: gtc_bitfield

Last updated 水曜日, 24 3月 2021 22:24:06 UTC - 3584230cdd16cdb7de5ec8a7f713af37f38ca6dd

Hosting for openFrameworks is generously provided by Rackspace

If you have any doubt about the usage of this module you can ask in the forum.

If you want to contribute better documentation or start documenting this section you can do so here

If you find anything wrong with this docs you can report any error by opening an issue