private PositionNormalColorIndexedTriangleBuffer InternalGetPositionNormalColorIndexedTriangleBuffer(IMaterial material) { var key = new MaterialPlusClippingKey(material, null); if (!_positionNormalColorIndexedTriangleBuffers.TryGetValue(key, out var result)) { result = new PositionNormalColorIndexedTriangleBuffer(this); _positionNormalColorIndexedTriangleBuffers.Add(key, result); } return(result); }
private PositionNormalColorIndexedTriangleBuffer InternalGetPositionNormalColorIndexedTriangleBuffer(IMaterial material) { PositionNormalColorIndexedTriangleBuffer result; var key = new MaterialPlusClippingKey(material, null); if (!_positionNormalColorIndexedTriangleBuffers.TryGetValue(key, out result)) { result = new PositionNormalColorIndexedTriangleBuffer(this); _positionNormalColorIndexedTriangleBuffers.Add(key, result); } return result; }