共用方式為


PixelShader.SetStreamSource(Stream) 方法

定義

指派 Stream 做為 HLSL Bytecode 的來源。

public:
 void SetStreamSource(System::IO::Stream ^ source);
public void SetStreamSource (System.IO.Stream source);
member this.SetStreamSource : System.IO.Stream -> unit
Public Sub SetStreamSource (source As Stream)

參數

source
Stream

要從其中讀取 HLSL Bytecode 的資料流。

例外狀況

sourcenull

適用於

另請參閱