BufferConstFloat

Inheritance diagram of rumba.BufferConstFloat
class BufferConstFloat

A readonly buffer for basic types like floats, integers, Imath::V3f, Imath::M44f..

The predefined BufferConst types:

  • BufferConstInt32

  • BufferConstUInt8

  • BufferConstUInt32

  • BufferConstFloat

  • BufferConstDouble

  • BufferConstV2f

  • BufferConstV3f

  • BufferConstV4f

  • BufferConstV2i

  • BufferConstV3i

  • BufferConstV4i

  • BufferConstM33f

  • BufferConstM44f

  • BufferConstBox3f

Constructors

__init__

Value(: bool) -> None

Methods

__getitem__

operator[](i: int) -> const_reference

__iter__

empty()

Returns true if the buffer is empty.

read()

Return the readable data.

size()

Return the number of element in the buffer.