Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public D3D10OverlayContext()
 {
     _positionColorIndexedTriangleBuffer = new PositionColorIndexedTriangleBuffer(this);
 }
Exemplo n.º 3
0
		public D3D10OverlayContext()
		{
			_positionColorIndexedTriangleBuffer = new PositionColorIndexedTriangleBuffer(this);
		}
Exemplo n.º 4
0
		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;
		}