IndexedBufferConstFloat

Inheritance diagram of rumba.IndexedBufferConstFloat
class IndexedBufferConstFloat

A read only buffer of indexed values. It is composed of a buffer of indexes of the size of the component. Those indexes point in the value buffer.

Methods

__init__

Constructor(s)

can_cast(v)

type v

Value

empty()

Resize true if this indexed buffer is empty.

read_indices()

Return a readable accessor on the indices buffer.

read_values()

Return a readable accessor on the indices buffer.

size()

Return the indexed buffer size.

__init__()

Constructor(s)

IndexedBufferConst (v: Value)

Cast a Value object in IndexedBufferConst.

If v has not the good type, a default value is constructed.

IndexedBufferConst (indices,values)

Create an indexed buffer from two buffers.

can_cast(v: Value) bool
Return type

bool

empty() bool

Resize true if this indexed buffer is empty.

Return type

bool

read_indices()

Return a readable accessor on the indices buffer.

read_values()

Return a readable accessor on the indices buffer.

size() int

Return the indexed buffer size.

Return type

int