private PositionColorIndexedTriangleBuffer InternalGetPositionColorIndexedTriangleBuffer(IMaterial material) { var key = new MaterialPlusClippingKey(material, null); if (!_positionColorIndexedTriangleBuffers.TryGetValue(key, out var result)) { result = new PositionColorIndexedTriangleBuffer(this); _positionColorIndexedTriangleBuffers.Add(key, result); } return(result); }
public D3D10OverlayContext() { _positionColorIndexedTriangleBuffer = new PositionColorIndexedTriangleBuffer(this); }
public D3D10OverlayContext() { _positionColorIndexedTriangleBuffer = new PositionColorIndexedTriangleBuffer(this); }
private PositionColorIndexedTriangleBuffer InternalGetPositionColorIndexedTriangleBuffer(IMaterial material) { PositionColorIndexedTriangleBuffer result; var key = new MaterialPlusClippingKey(material, null); if (!_positionColorIndexedTriangleBuffers.TryGetValue(key, out result)) { result = new PositionColorIndexedTriangleBuffer(this); _positionColorIndexedTriangleBuffers.Add(key, result); } return result; }