global functions

# glm::bitfieldFillOne(...)

## vecType< T, P > glm::bitfieldFillOne(const vecType< T, P > &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< T, P > glm::bitfieldFillZero(const vecType< T, P > &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< T, P > glm::bitfieldRotateLeft(const vecType< T, P > &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< T, P > glm::bitfieldRotateRight(const vecType< T, P > &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< T, P > glm::mask(const vecIUType< T, P > &v=P)

*Documentation from code comments*

*Documentation from code comments*

Build a mask of 'count' bits

**See also**: gtc_bitfield

Last updated Friday, 15 September 2023 21:25:40 UTC - 89b7d17faa77e847b7de814f7dcea89eeca38653

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