allocate method
void
allocate(
- RaylibTemp<
RaylibBase> temp, - MemoryPointer<
RType> p, - String key, {
- int count = 1,
- bool raw = false,
override
Implementation
@override
void allocate(RaylibTemp temp, MemoryPointer p, String key, {int count = 1, bool raw = false}) {
for (var i = 0; i < count; i++) {
for (var j = 0; j < this.count; j++) {
inner.allocate(temp,
p.offsetBy((i * this.count + j) * inner.type.byteSize),
'${key}_${i}_$j',
count: 1,
raw: raw,
);
}
}
}