共用方式為


MTLClearValue 建構函式

定義

多載

MTLClearValue(MTLClearColor)
MTLClearValue(Double)
MTLClearValue(UInt64)

MTLClearValue(MTLClearColor)

public MTLClearValue (Metal.MTLClearColor color);
new Metal.MTLClearValue : Metal.MTLClearColor -> Metal.MTLClearValue

參數

適用於

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

適用於