allocatePointer method

  1. @override
Pointer<RayC> allocatePointer(
  1. RaylibTemp temp,
  2. String key, [
  3. int count = 1
])
override

Allocates a native slot of count elements in temp under key and returns the resulting pointer.

Implementations should simply delegate to the appropriate temp.<Type>(key, count) call. The returned memory is zeroed (or reused) but not yet populated, call allocateInto or writeInto to fill it.

Implementation

@override
Pointer<RayC> allocatePointer(RaylibTemp temp, String key, [int count = 1])
  => temp.Ray$.At(key, count);