MTLClearValue 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
MTLClearValue(MTLClearColor) | |
MTLClearValue(Double) | |
MTLClearValue(UInt64) |
MTLClearValue(MTLClearColor)
public MTLClearValue (Metal.MTLClearColor color);
new Metal.MTLClearValue : Metal.MTLClearColor -> Metal.MTLClearValue
參數
- color
- MTLClearColor
適用於
MTLClearValue(Double)
public MTLClearValue (double depth);
new Metal.MTLClearValue : double -> Metal.MTLClearValue
參數
- depth
- Double
適用於
MTLClearValue(UInt64)
public MTLClearValue (ulong stencil);
new Metal.MTLClearValue : uint64 -> Metal.MTLClearValue
參數
- stencil
- UInt64