public static unsafe uint GetNumColorChannels(Silk.NET.Assimp.Mesh *mesh) { var n = 0; while (n < AI_MAX_NUMBER_OF_COLOR_SETS && mesh->MColors[n] != null) { ++n; } return((uint)n); }
public static unsafe uint GetNumUVChannels(Silk.NET.Assimp.Mesh *mesh) { var n = 0; while (n < AI_MAX_NUMBER_OF_TEXTURECOORDS && mesh->MTextureCoords[n] != null) { ++n; } return((uint)n); }