ofDocsdocumentation glm gtcbitfield (functions)

gtcbitfield (functions)


glm::bitfieldFillOne( ... )

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

Set to 1 a range of bits.

See also: gtc_bitfield


glm::bitfieldFillZero( ... )

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

Set to 0 a range of bits.

See also: gtc_bitfield


glm::bitfieldInterleave( ... )

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

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)

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)

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)

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::int64 glm::bitfieldInterleave(glm::int32 x, glm::int32 y)

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::uint64 glm::bitfieldInterleave(glm::uint32 x, glm::uint32 y)

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::int8 x, glm::int8 y, glm::int8 z)

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)

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)

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)

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::int32 x, glm::int32 y, glm::int32 z)

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::uint32 x, glm::uint32 y, glm::uint32 z)

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::int32 glm::bitfieldInterleave(glm::int8 x, glm::int8 y, glm::int8 z, glm::int8 w)

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)

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)

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)

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::bitfieldRotateLeft( ... )

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

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)

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)

Build a mask of 'count' bits

See also: gtc_bitfield