structAllocateInto method
Allocates nested pointers into temp under key as needed.
Implementation
@override
void structAllocateInto(RaylibTemp temp, MemoryPointer p, String key) {
field_vertices.allocate(temp, p, '${key}_vertices', count: verticesCount, raw: true);
field_texcoords.allocate(temp, p, '${key}_texcoords', count: texcoordsCount, raw: true);
field_texcoords2.allocate(temp, p, '${key}_texcoords2', count: texcoords2Count, raw: true);
field_normals.allocate(temp, p, '${key}_normals', count: normalsCount, raw: true);
field_tangents.allocate(temp, p, '${key}_tangents', count: tangentsCount, raw: true);
field_colors.allocate(temp, p, '${key}_colors', count: colorsCount, raw: true);
field_indices.allocate(temp, p, '${key}_indices', count: indicesCount, raw: true);
field_boneIndices.allocate(temp, p, '${key}_boneIndices', count: boneIndicesCount, raw: true);
field_boneWeights.allocate(temp, p, '${key}_boneWeights', count: boneWeightsCount, raw: true);
if (!RaylibConfig.isGPUSkinningSupported) {
field_animVertices.allocate(temp, p, '${key}_animVertices', count: animVerticesCount, raw: true);
field_animNormals.allocate(temp, p, '${key}_animNormals', count: animNormalsCount, raw: true);
}
}